Jump to content

View more

Image of the Day

Working on an auto spawn system. #gamedev #indiedev #screenshotsaturday https://t.co/Mm2kfekz7b
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Java 3d texutre.

4: Adsense

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   

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);




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.