In Release Mode Camera/World Shakes

gzmzhen

14-08-2006 20:38:02

In debug mode everything works fine, except that now my program is starting to run at a low fps. So, I setup everything to work in release mode.

I couldn't find an OgreNewt.lib (only the _d version) so I compiled the Release_DLL of the OgreNewt stuff. Everything links fine, but when I run my whole world shakes really crazily at first. It appears to stop after a while, but I'm not really sure why.

Has anyone ever experienced this problem?

walaber

14-08-2006 21:46:31

you probably have some variables that are not properly initialized.

in DEBUG mode, variables are initialized to zero for you, in Release mode they are not.

gzmzhen

14-08-2006 21:52:17

That's probably the problem =). I already found one problem like that (because it crashed during runtime). I didn't know that it made such a distinction ... In fact, I think it's a bad thing for them to do... cause it's easier to find problems like that in Debug mode =P.

I'll look for them.

Thanks,
Nate