View announcement here
OgreProcedural now has its own dedicated section in the Ogre Addons Forum. Please use it from now on for all questions and discussion! Thank you.
Ogre Procedural is a procedural geometry library.
Version 0.1 focuses on building mesh primitives, the ultimate goal would be to generate complex scenes, such as entire cities...
Screenshots
Features
It can build the following primitives :
- Box, RoundedBox
- Plane
- Sphere, IcoSphere
- Cylinder, Tube, Capsule
- Cone
- Torus, Torus knot
How can I use it?
Downloads are available on the project page.
Precompiled binaries are provided for VS2010 and for CB+MingW (linux support may come later, but I don't have a Mac...)
Source package is also available for all platforms (CMake based project files)
This is a sample code for generating a sphere :
Code: Select all
//Initialisation
Procedural::Root::getInstance()->sceneManager = mSceneMgr;
//Create a sphere
Procedural::SphereGenerator().setRadius(5.f).setUTile(.5f).generate("mySphere");
mSceneMgr->createEntity("mySphere");