A big problem with rotating a camera.

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Kochol
Posts: 5
Joined: Tue Oct 18, 2005 7:23 pm

A big problem with rotating a camera.

Post by Kochol »

Hi all.

I wrote a program that has a 3ds model and a fps camera scene node.
When I rotate the camera with setRotation function it has a delay.
The hardwares I used for this demo are cpu dual core (Intel), 512 MB DDR2 ram, sata2 hard disk and Geforce 8800 GTX and the framerate is very high it is about 800 fps but when I turn on the VSYNC and rotate the camera it has a delay I mean the scene stop and jump at the last camera rotation after 0.2 second delay.

It was good until our hard disk get damaged and we change the hard disk with another one and installed a new windows and test the program again then I saw the above problem with my program.

Any idea can be helpful for me.

Is there any problem with FPS Camera scene node?
Perceval
Posts: 158
Joined: Tue May 30, 2006 2:42 pm

Post by Perceval »

Post your code
Kochol
Posts: 5
Joined: Tue Oct 18, 2005 7:23 pm

Post by Kochol »

The code is the hello world example I only changed the model and add a fps camera to it and set the renderer to Direct3D9.

Is there any windows update that can solve my problem :?
Kochol
Posts: 5
Joined: Tue Oct 18, 2005 7:23 pm

Post by Kochol »

I use VS 6 do I need to install the service packs.
Luben
Posts: 568
Joined: Sun Oct 09, 2005 10:12 am
Location: #irrlicht @freenode

Post by Luben »

If you rotate the cam, you must have some custom code, right?
If you don't have anything nice to say, don't say anything at all.
Kochol
Posts: 5
Joined: Tue Oct 18, 2005 7:23 pm

Post by Kochol »

I solved it.
the rotation degrees comes from an hardware and there was an option in windows that makes reading from hardware with 16ms delay.
Thanks every one.
Post Reply