Page MenuHomeFeedback Tracker

Update getTextureInfo to return average color of texture
Feedback, NormalPublic

Description

Per messages with Dedmen in the official Arma discord:

[ 5:57 PM ] supergauntlet: @Dedmen (ง •̀_•́)ง dunno if this is the right place to ask, but.. kind of an out there request, how hard do you think a command to get texture data given a texture path would be to implement?
[ 5:57 PM ] Dedmen (ง •̀_•́)ง: didnt we recently get one for size?
[ 5:58 PM ] supergauntlet: by this I also mean, if I do this with intercept what are the odds that I can get you or another dev to put it in the game
[ 5:58 PM ] Dedmen (ง •̀_•́)ง: https://community.bistudio.com/wiki/getTextureInfo here KK added this
[ 5:58 PM ] supergauntlet: how hard would it be to have that also return texture data
[ 5:58 PM ] Dedmen (ง •̀_•́)ง: what is texture data
[ 5:59 PM ] supergauntlet: as in, an array of arrays of size x,y where each point has the rgba values of that pixel
[ 5:59 PM ] Dedmen (ง •̀_•́)ง: usecase?
[ 5:59 PM ] Dedmen (ง •̀_•́)ง: I don't think I like that
[ 6:00 PM ] Dedmen (ง •̀_•́)ง: translating that stuff into script values will be hella expensive
[ 6:00 PM ] supergauntlet: I'm floating my idea again of dynamically figuring out camo values
[ 6:00 PM ] Dedmen (ง •̀_•́)ง: I could give you average color
[ 6:00 PM ] supergauntlet: since cf bai is dead
[ 6:00 PM ] Dedmen (ง •̀_•́)ง: that is stored directly in the paa
[ 6:00 PM ] supergauntlet: is it? avg color is probably good enough

getTextureInfo returns texture size, per https://community.bistudio.com/wiki/getTextureInfo

This report is requesting an update to getTextureInfo to also return the average color of the texture, in RGBA format.

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting

Event Timeline

Tenshi changed the task status from New to Acknowledged.Jan 21 2022, 10:48 AM
Tenshi set Ref Ticket to Internal Ref.: AIII-54908.
Tenshi added a subscriber: Tenshi.Jan 21 2022, 10:56 AM

Thank you for requesting the feature.
Due to the current phase of Live Ops development in Arma 3, we cannot commit to any new features, though we will try to consider them.

dedmen claimed this task.Jan 25 2022, 12:15 PM
dedmen changed the task status from Acknowledged to Feedback.
This comment was removed by LouMontana.