• Advertisement
Sign in to follow this  

[java] Java3d: Switching between per-pixel color and texture?

This topic is 4225 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all, I created a TriangleStripArray with the option set: {COORDINATES | COLOR_3 | NORMALS | BY_REFERENCE | INTERLEAVED | TEXTURE_COORDINATE_2}. This produces an interleaved triangle strip with per-pixel color, normals, and 2D texture coordinates. When my app runs, I see the object with the per-pixel colors. I want to be able to switch between the per-pixel colors and a given texture (loaded from file, for instance). I've played around with many appearance attributes but I can't seem to figure out how to make the texture override the per-pixel color or how to disable the per-pixel color. I'm a java3d noobie. Thanks for the help. - Nate

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement