OGRE  13.3 Object-Oriented Graphics Rendering Engine

#include <OgreLodConfig.h>

## Public Attributes

Ogre::Real outsideWalkAngle
If outsideWeight is enabled, this will set the angle how deep the algorithm can walk inside the mesh. More...

Ogre::Real outsideWeight
Faces inside a house can't be seen from far away. More...

LodProfile profile
If the algorithm makes errors, you can fix it, by adding the edge to the profile. More...

bool useBackgroundQueue
Whether you want to process it immediatelly on main thread or you want to use Ogre::WorkQueue. More...

bool useCompression
If enabled, it allows up to 50% smaller index buffers by storing once shared faces with frame shifting. More...

bool useVertexNormals
Use vertex normals to improve quality. More...

## ◆ useBackgroundQueue

Whether you want to process it immediatelly on main thread or you want to use Ogre::WorkQueue.

If you use workqueue the generator will return immediately. After processed in background, the LodWorkQueueInjector will inject it in frameEnd event when rendering next frame. Ready LODs can also be injected by calling Root::getSingleton().getWorkQueue()->processResponses(). (disabled by default)

## ◆ useCompression

If enabled, it allows up to 50% smaller index buffers by storing once shared faces with frame shifting.

There is no performance disadvantage! (enabled by default)

## ◆ useVertexNormals

Use vertex normals to improve quality.

Bit slower to generate, but it has better quality most of the time. (enabled by default)

## ◆ outsideWeight

Faces inside a house can't be seen from far away.

Weightening outside allows to remove those internal faces. It makes generation smaller and it is not 100% accurate. Set it to 0.0 to disable. (disabled by default)