how to control object rotating ?

Started by alex, May 05, 2009, 11:58:56 AM

Previous topic - Next topic

alex

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!

fireside

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.
click here->Fireside 7 Games<-

EgonOlsen


alex

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?

paulscode

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

alex

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