Hi,
a silly question:
Is it possible to load a mesh once but display it many times at different locations?
The background of my question:
I want ot write a 3d text class, where each character is represented via a mesh. So i want to load the whole alphabet into the application and whenever i want to display an "A" for instance use the loaded A.3ds.
normaly i would have a node of the loaded mesh but each node can be at one place at a distinct time not at two ore more.
// Load mesh once
scene::IAnimatedMesh* letterAmesh =
smgr->getMesh("data/A.3ds");
// Use it a lot of times (lot of nodes, the same mesh)
scene::IAnimatedMeshSceneNode* node1 =
smgr->addAnimatedMeshSceneNode(letterAmesh);
scene::IAnimatedMeshSceneNode* node2 =
smgr->addAnimatedMeshSceneNode(letterAmesh);
there are two ways, u could
1) have two nodes assigned to the one mesh
2) use the render() function as many times as u need, each time setting a new position to the node, and later resseting the nodes position