I am creating a floor plane:
Ogre::ManualObject* man = this->sceneManager->createManualObject();
man->begin("Examples/floor");
....
man->end();
Code: Select all
v1::MeshPtr planeMeshPtr = man->convertToMesh("floor_meshptr");
v1::Entity *planeEntity = sceneManager->createEntity(planeMeshPtr);
planeEntity->getMesh()->buildTangentVectors();
this->sceneManager->getRootSceneNode()->createChildSceneNode()->attachObject(planeEntity);
When compiling fails, appears some errors in the OgreSharedPtr.h
Someone has tried this before?