Mesh LODs

From Rigs of Rods Wiki

Jump to:navigation, search

important: read also: LevelOfDetail

If you create high poly meshes for RoR, make sure to take care about the Level of Detail(LOD) of the mesh.

Either generate the simpler LOD meshes upon export of your mesh with your 3d editor or use the Ogre Meshupgrade tool to generate the LODs for a mesh:

http://sourceforge.net/projects/ogre/files/ogre-tools/OgreCommandLineTools_v1.4.3.msi/download

by using the command line:

OgreMeshUpgrade.exe -l 3 -d 256 -p 50 myMesh.mesh

results in:

  • "-l 3" = 3 LOD levels
  • "-d 256" = 256 meters between LOD levels
  • "-p 50" = 50 percent of the mesh removed every level

If you ignore this, RoR will generate LODs for you which results in huge loading times.