Reading Visible Transmittance from a material / appearance asset

Reading Visible Transmittance from a material / appearance asset

Anonymous
Not applicable
530 Views
2 Replies
Message 1 of 3

Reading Visible Transmittance from a material / appearance asset

Anonymous
Not applicable

Hi everyone,

 

I'm trying to read the Visible Transmittance value for  a material with a prism glazing asset applied. I'm able to read the Transmissive Color and other values from the AppearanceAssetElement but no the Visible Transmittance. I'd guess this is because the transmittance is not set by the user, but instead calculated. However I was also unable to find a function that would calculate the transmittance value for me.

Any help in this regard would be greatly appreciated!

 

image.png

 

0 Likes
531 Views
2 Replies
Replies (2)
Message 2 of 3

aricke59
Enthusiast
Enthusiast

Doesn't appear to be any API way of getting this value. You may be able reverse engineer the formula used (if it is fairly simple). Just go through a range of RGB values and see if you can work out a correlation. That may however be wishful thinking on my part.

0 Likes
Message 3 of 3

Anonymous
Not applicable

Thx for confirming that I'm not just blind. I tried to reverse engineer the formula for a couple of minutes, but it's at least not trivial. The different colors have different impact on the transmittance it's certainly not just a linear relation. I was really hoping I wouldn't need to do an approximaion of the transmittance value...

0 Likes