buckEd
09-11-2008 19:00:36
In order not to flood other threads with foolish questions I just decided to create a new one.
I created a small sandbox-type application in order to do some first tests with NxOgre and see what it is capable of.
For the sake of not spending to much time on getting everything running I just used ExampleApplication as a base.
I set up all the includes, additional dependences etc.
Now in createScene I just do
where mWorld and mScene are both membervariables of my SampleApplication class, which is derived from ExampleApplication.
But something must be wrong with the creation of mWorld. After having had several crashes I placed a breakpoint. That revealed, that the following members of mWorld are somehow invalid :
mDriver, mNbFrames and mDebugRenderer.
mDriver sounded suspicious. One might think I do not have the Physx System Software installed, bit I checked that several times. It is there and all the physx samples run without problems. The same goes for cake.
So my question:
What might be the reason for NxOgre::World not to be created as it should? Might it be linked with the creation of any Ogre classes like e.g SceneManager?
Is it a problem with dependences (whereas I checked to have all headers, libs, and dlls which come with PhysX and NxOgre to be included in my Projects configuration properties)?
I created a small sandbox-type application in order to do some first tests with NxOgre and see what it is capable of.
For the sake of not spending to much time on getting everything running I just used ExampleApplication as a base.
I set up all the includes, additional dependences etc.
Now in createScene I just do
mWorld = new World("log: yes, time-controller: ogre");
mScene = mWorld->createScene("Eddie", "renderer: ogre, controller: accumulator, gravity: yes, floor: yes");
where mWorld and mScene are both membervariables of my SampleApplication class, which is derived from ExampleApplication.
But something must be wrong with the creation of mWorld. After having had several crashes I placed a breakpoint. That revealed, that the following members of mWorld are somehow invalid :
mDriver, mNbFrames and mDebugRenderer.
mDriver sounded suspicious. One might think I do not have the Physx System Software installed, bit I checked that several times. It is there and all the physx samples run without problems. The same goes for cake.
So my question:
What might be the reason for NxOgre::World not to be created as it should? Might it be linked with the creation of any Ogre classes like e.g SceneManager?
Is it a problem with dependences (whereas I checked to have all headers, libs, and dlls which come with PhysX and NxOgre to be included in my Projects configuration properties)?