Hello,
I came from this thread: http://www.purebasic.fr/english/viewtop ... 36&t=62885
I found out MeshLOD isn´t working correct used in Static Geometries.
For all who want to take a try, here's my code and the test.mesh:
https://www.dropbox.com/s/6z7ulbr7p504a ... m.zip?dl=0
It seems MeshLOD with staticgeometries only works in Batches or something similar.
Staticgeometry: Problem with MeshLOD
- Bananenfreak
- Enthusiast

- Posts: 519
- Joined: Mon Apr 15, 2013 12:22 pm
Re: Staticgeometry: Problem with MeshLOD
Thats how it is supposed to work. Every (same) mesh inside of the
staticgeometry will have the same LOD as all others.
MFG PMV
staticgeometry will have the same LOD as all others.
MFG PMV
- Bananenfreak
- Enthusiast

- Posts: 519
- Joined: Mon Apr 15, 2013 12:22 pm
Re: Staticgeometry: Problem with MeshLOD
True. It's no bug, but ugly.
http://www.ogre3d.org/docs/api/1.9/clas ... metry.html
http://www.ogre3d.org/docs/api/1.9/clas ... metry.html
The LOD settings of both the Mesh and the Materials used in constructing this static geometry will be respected. This means that if you use meshes/materials which have LOD, batches in the distance will have a lower polygon count or material detail to those in the foreground. Since each mesh might have different LOD distances, during build the furthest distance at each LOD level from all meshes in that region is used. This means all the LOD levels change at the same time, but at the furthest distance of any of them (so quality is not degraded). Be aware that using Mesh LOD in this class will further increase the memory required. Only generated LOD is supported for meshes.