ahmadi
23-08-2006 10:36:26
i want create a static trimesh :
after calling "void generateTriangleMesh()" function , i have in my log that
"[NxOgre] Failed meshShape cooking for Entity"
!!
what is wronge, in my tracking i reach this code in the function that NxCookTriangleMesh return false and "else{}" run !!
dont forget my mesh is your "nx.stairs1.mesh" and mesh is correct, i think that i must preconfigure NxCook . what do you think?
after calling "void generateTriangleMesh()" function , i have in my log that
"[NxOgre] Failed meshShape cooking for Entity"
!!
what is wronge, in my tracking i reach this code in the function that NxCookTriangleMesh return false and "else{}" run !!
if (NxCookTriangleMesh(mTriangleMeshDescription, buf)) {
mShapeDesc.meshData = gPhysicsSDK->createTriangleMesh(MemoryReadBuffer(buf.data));
}
else {
Ogre::LogManager::getSingleton().logMessage("[NxOgre] Failed meshShape cooking for Entity '" + e->getName() + "'.");
}
dont forget my mesh is your "nx.stairs1.mesh" and mesh is correct, i think that i must preconfigure NxCook . what do you think?