I want know how to load an image and move it on screen. I know that I can use textureloader()
to load an image, but I don't know how to display it on the screen.
Can anyone provide some code or a link that can display a texture on the screen?
Mehdi, take a look at these articles as they will show you what you need to do.
Specifically: http://java.sun.com/developer/onlineTraining/java3d/
This will give you all the tutorials you will need for Java3d
For loading a basic texture and putting it in a scene, look at this tutorial: http://java.sun.com/developer/onlineTraining/java3d/j3d_tutorial_ch7.pdf
Specifically, go to section 7.2 and it should explain how to do all of that.
Good luck,
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.