Jump to content

  • Log In with Google      Sign In   
  • Create Account


Java 3d texutre.


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 java3d   Members   -  Reputation: 102

Like
0Likes
Like

Posted 16 July 2012 - 05:44 AM

How i can load the textures in java 3d?I tried several times but so far I have only colored the objects in some random color.
TextureLoader loader = new TextureLoader("rujda.bmp",this);
Texture3D brick = (Texture3D)loader.getTexture();
TextureAttributes ta = new TextureAttributes();
Appearance ap = new Appearance();
ap.setTextureAttributes(ta);
ap.setTexture(brick);

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS