Kelvin Chung wrote: > Just some information which may help from OpenGL > specification for GL_ALPHA base internal format > > Replace Texture Function > ---------------------------- > C = Cf > A = At
Now that is interesting and seems counter-intuitive compared to the J3D docs, because that is different to the J3D spec for the same thing: o REPLACE - replaces the incoming color with the texture color. C' = Ct It doesn't say anything about the various texture types and their effect and nor does the J3D tutorial. To me, replace would set the other colours to either black or white if the texture doesn't have that colour component. It doesn't appear to be doing that though as it just sets the entire texture to clear. Can you add that as an RFE for the Javadoc - we need a table in the documentation that maps the Texture type (LUMINANCE, ALPHA) etc with the colour mapping. Of course, I'm using the D3D version of J3D, not OGL, so that may have something completely different. In either case, it is still not working and I don't see anything in the README about it not working. The polygon is double-sided lit and has no underlying transparency (at least in this test case, it may have in a VRML file). Annnnnyway. I'll try to find out who is going to end up at Siggraph and see if they can have a look at the code. -- Justin Couch http://www.vlc.com.au/~justin/ Java Architect & Bit Twiddler http://www.yumetech.com/ Author, Java 3D FAQ Maintainer http://www.j3d.org/ ------------------------------------------------------------------- "Humanism is dead. Animals think, feel; so do machines now. Neither man nor woman is the measure of all things. Every organism processes data according to its domain, its environment; you, with all your brains, would be useless in a mouse's universe..." - Greg Bear, Slant ------------------------------------------------------------------- =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".