Crashes on first rendered frame

Sludger

06-09-2010 01:02:16

Hi guys, after some trouble I managed to get ogreBullet to compile with ogre 1.7.1 in visual studio 2010, when it starts the application renders the first frame fine but then just hangs, no exception messages or errors, just sits there, in debug mode pausing it reveals its sat on the startRendering() function, i assume this means the issue is within the render thread?

This happened both times I tried to combine bullet with ogre, the first time i did it manually( i didnt realise OgreBullet existed :S) then again when i made a project using OgreBullet.

The application is the basic Ogre hello world app with the head mesh, and isnt even trying to use bullet for anything at the moment, just merely including the headers and libs.

Anyone got any ideas? i have no idea how to debug this if the issue is inside a thread loop

thanks in advance

Fish

06-09-2010 03:47:42

The application is the basic Ogre hello world app with the head mesh, and isnt even trying to use bullet for anything at the moment, just merely including the headers and libs.

Does it hang if you remove the OgreBullet headers and libs? Did you build OgreBullet against ogre 1.7.1 in visual studio 2010 and the Bullet libs with visual studio 2010?

Sludger

06-09-2010 21:07:02

solved it, i was being stupid and didnt override the frameRenderingQueued() function properly, thanks anyway Fish