acropole
19-07-2008 13:11:57
Hi,
I load a mesh with this code :
but there is a memory allocation failure in createActor() :
size = 83926791
which is obviously a random number.
I load a mesh with this code :
NxOgre::Resources::ResourceSystem::getSingleton()->addMeshAs("file://../media/models/baseVille01.mesh", "villeCollision");
NxOgre::Resources::Mesh* collisionMesh =
NxOgre::Resources::ResourceSystem::getSingleton()->getMesh("villeCollision");
NxOgre::Actor* collisionActor = mXScene->createActor ( "Collision Mesh",
new NxOgre::TriangleMesh(collisionMesh),
Vector3(0, 0, 0), "static: yes");
but there is a memory allocation failure in createActor() :
void *malloc(NxU32 size)
{
m++;
return ::malloc(size);
}
size = 83926791
which is obviously a random number.