A bug I think?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Spartacus
Posts: 70
Joined: Fri Nov 21, 2003 11:56 pm

A bug I think?

Post by Spartacus »

I tried jumping off a 3D plane I was standing on I just let myself fall forever lol.. and The camera started to shake faster and faster and faster. and it was like the whole screne was on a earthquake? Not sure >.< may not be bug I have no idea just reporting so people know :/
puh
Posts: 356
Joined: Tue Aug 26, 2003 3:53 pm

Post by puh »

Yes, I've noticed the effect from the beginning. Very interesting effect. Looks like a whole screen shader (if you played Max Payne 2 - just remember his dreams...).
Would be nice to control this effect, I mean switch it on and off programmatically.
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

Hehe, funny, never tried this out myself. If you fall into the infinite void, wouldn't your head shake too? :)
stampsm
Posts: 142
Joined: Mon Nov 10, 2003 5:52 pm
Location: Las Vegas

Post by stampsm »

it is probably due to the large velocity that you are traveling
since your new position has to be calculated every frame the large velocities probable affect the calculations

when i get home i will test this out by setting the FPS camera up with a very high velocity and see what happens
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

Oh.. I see now.

I saw the same behavior with OGRE. I was due to the system having so large of values that the floats in the matrix lost decimal precision. Because the decimals were lost, each calculation had a larger and larger delta loss. Which made for a greater and greater "delta shake" in the camera.

That may make little sense, so the cliffnotes for it is "big numbers bad, cause problems for every 3d renderer"
Crud, how do I do this again?
Post Reply