I want to use jpct
to achieve rotating object like cult3D example :
http://www.cult3d.com/gallery/conceptcar/index.html
any suggestions?
Do I need to rotate object,or camera?
excuse me for my english!
I think you rotate the object, but how you connect that to mouse motion, I'm not sure. There might be something like that in the gear demo that is posted in the sticky. Can't remember now.
You can do it both ways. I've posted some code in this thread: http://www.jpct.net/forum2/index.php/topic,977.0.html (http://www.jpct.net/forum2/index.php/topic,977.0.html)
Thanks a lot.
Egon,
I use the lwjgl implementing object rotation.
I need use applet,if i only use jpct (don'r use lwjgl ) ,Can I implement it?
or Can i implement the same effect?
Quote from: alex on May 06, 2009, 04:22:40 AM
Thanks a lot.
Egon,
I use the lwjgl implementing object rotation.
I need use applet,if i only use jpct (don'r use lwjgl ) ,Can I implement it?
or Can i implement the same effect?
The only difference should be that you will need to listen for mouse input from the Applet instance instead of from the Canvas instance. Of course, it is also possible to use LWJGL in an applet if you want to (using the LWJGL Applet Loader).
thanks paul,
I mean that don't use the lwjgl ,becaus of my jar has more than 800kb,if i use the lwjgl i have to add the lib into my jar