terraiSceneNode, getmesh, irr 1.0

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
zenoid
Posts: 40
Joined: Wed Jul 20, 2005 1:16 pm
Location: france
Contact:

terraiSceneNode, getmesh, irr 1.0

Post by zenoid »

I have a car/truck sim using newton, SDL, openAL, and until yesterday irr0.12.
I'am trying to port the app to irr 1.0 and there is something I can't fix.
the code I have that use to work perfectly to construct the newton scene can't work any more : the app crash after the first print and return no info, it just stop and the irr window closes. It seems that I can't do getMesh. Any of you use the TerrainSceneNode from irr 1.0 ?

IMeshBuffer *mb;
int tmpCount = 0;
printf(" debug \n");
s32 meshCount = this->terrain->getMesh()->getMeshBufferCount();
//mb = this->terrain->getMesh()->getMeshBuffer(0);
printf(" debug 2\n");
Post Reply