Trouble with rendering in Cake

Vineeth@nxOgre

03-07-2008 12:49:48

for (NxU32 i=0;i < 50;i++)
{

mScene->createBody("Boo;cube_1m.mesh", new Cube(1), NxOgre::Pose(Vector3(10, 0.5f + i, 10)), ActorParams("mass: 10"));
mScene->createBody("Franky;cube_1m.mesh", new Cube(1), NxOgre::Pose(Vector3(5,0.5f + i,10)), ActorParams("mass: 10"));
}

Spike = mScene->createBody("Spike;cube_1m.mesh", new NxOgre::Cube(1), NxOgre::P
ose(Vector3(8,8,8)), ActorParams("mass: 10"));


I have built the latest NxOgre in VStudio08 .I have physx2.7.2 running and the Ogre1.4.9 The cake sample however throws out at me that it is unable scene node with identifier for Boo and Frankie bodies numbered 1to 50

The remote debugger hower shows a big box(Spike) and frankies and boo's stacked side by side falling under gravity

As a result I am unable to see the Boxes in NxOgre window

betajaen

03-07-2008 14:46:33

It's "cube.1m.mesh"

Vineeth@nxOgre

04-07-2008 08:36:39

I had changed the filename of the mesh .That is not the problem.
PS:By the way you look for the most trivial mistakes.great

betajaen

04-07-2008 09:14:24

Well there is nothing else I can see wrong with the code, apart from the meshes not being loaded by Ogre Resource System. But you haven't altered Cake that much - have you?