Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Need help Java3D

This topic is 5342 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

Ok I realise there might not be many people here who know anything about Java3D cos it is kinda specialized but i''ll try neway. Basically i''m following the texturing tutorial that is provided on the sun website but am getting an error with a section of their code.
1. TextureLoader loader = new TextureLoader("stripe.jpg", this);
2. ImageComponent2D image = loader.getImage();
3. Texture2D texture = new Texture2D();
4. texture.setImage(0, image);
5. Appearance appear = new Appearance();
6. appear.setTexture(texture);
I get an error on lines 4 and 6 saying that an indentifier is expected and the ^ points to the first bracket of the method in both cases. Does anyone have any insight into this????

Share this post

Link to post
Share on other sites

  • 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!