[x3d-public] Image and material transparency: modulate?

doug sanden highaspirations at hotmail.com
Tue Aug 16 05:37:34 PDT 2016


(submitted to issue tracker already)
For Shapes that have material node and ImageTexture with alpha channel ie RGBA, if the material transparency is 1.0, but image transparency varies, should the shape show?
-Doug
...
http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/lighting.html#Lightingon
"The Material's transparency field modulates the alpha in the texture. Hence, a transparency of 0 will result in an alpha equal to that of the texture. A transparency of 1 will result in an alpha of 0 regardless of the value in the texture."
That doesn't seem to me to be what browsers Octaga, InstantReality, or Cortona are doing, and its not what table 17-3 and the Lighting equation say is happening. In the table, alpha is never 'modulated' ie there's never an alpha= AT * (1-TM)
- freewrl version 3 and vivaty do modulate.
The following 29C, 29D .wrl have texture alpha and material transparency=1, show differently as noted above.
http://dug9.users.sourceforge.net/web3d/tests/DebateModulateAlpha.zip
or directly:
http://dug9.users.sourceforge.net/web3d/tests/29C.wrl
http://dug9.users.sourceforge.net/web3d/tests/29D.wrl



More information about the x3d-public mailing list