I want to create a large city for my game. This city is actually a bunch of building-textured scaled cubes (the buildings) and a plane floor. These buildings will be created, translated and scaled randomly at the beginning of each level. So, how can I add all these cubes to the same octree triangle selector? Can I actually join them all in a single node?
The city won't have any animation at all.
Octree from a bunch of cubes
-
- Posts: 20
- Joined: Sun Jan 04, 2009 2:47 pm
- Location: Brazil
You can checkout some mesh-combiners in irrExt: http://irrext.svn.sourceforge.net/viewv ... ene/IMesh/
Both might work for this.
Both might work for this.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 20
- Joined: Sun Jan 04, 2009 2:47 pm
- Location: Brazil