Jump to content
  • Advertisement
Sign in to follow this  

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

This topic is 4495 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
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!