In Ogre3d's manual and in the documentation it's said that Ogre::Mesh shouldn't be used for world geometry. Quoting the manual:

Mesh objects are assumed to represent movable objects and are not used for the sprawling level geometry typically used to create backgrounds.

So how do I make world geometry? This feel like an oversight where the authors assumed that the answer was obvious, but I really can't find it. Googling questions like "how do I make a cube?" or "how do I make a room with walls and a floor?" leads me to answers that boil down to "Use your SceneManager to generate a surface mesh, then build walls and stuff with it" which strike me as extremely tedious and inefficient.

tl;dr What is the simplest, recommended way to make static non-file-based geometry in Ogre3d?

  • \$\begingroup\$ Create meshes, put them into entities and put those into static geometries. \$\endgroup\$ – Bálint Mar 18 '17 at 13:09
  • \$\begingroup\$ I'm aware of this possibility; but as I said, the official sources seem to be consistently against this approach (see the quote above). Maybe it is the best or the only solution, and the official documentation is simply wrong. \$\endgroup\$ – Narrateur du chaos Mar 19 '17 at 15:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.