I made a simple mesh LOD viewing demo/concept tool. This is for the game-object creation phase only.
The base idea is, the user creates needed LOD meshes and give to those a ‘min’ and ‘max’ viewing distance properties.
Then the user append the ‘MView’ group to the scene, switch to the camera view and start the BGE.
User can now use a mouse free view and adjust the camera distance to the game-object with mouse wheel.
The LOD’s should change accordingly to the viewing distance and see how the game-object is appearing.
Interesting, but with a small problem.
If the object itself is moving to/away from the camera, the dist property of the camera does not change = no LOD
[Edit]
Ahh… no I understand. It is a tool for preview the meshs not LOD itself.
I think that could com in handy :).
Do you want me to move this to the resource forum?
This doesn’t appear to do anything at all. Is this meant for Blender 2.49 or 2.5? In 2.5 I just see a jumble of differently-modeled boxes and a camera. Going into the game engine does absolutely nothing and nothing works, but the View Distance counter increases, so I guess that’s something.
I made a more practical demo version, with new features.
In this version I use ~18m long WW2 barrage balloon(bb) game-object model from my past AH h2h terrain making days.
Each bb-lod sub-object has an ‘propl’ named string property, which specifies the given sub-object min/max visibility distances.
Current BGE Controls:
Mouse movements: The viewing point position control.
Mouse wheel up/down: Viewing distance/zoom control (-1/+1 step).
Mouse left/right buttons: Viewing distance/zoom control (-5/+5 step).
H-key: Toggle HUD off/on. The HUD content is same as a debug properties.
User can use any texturing and view-port shading modes.
(edit)
This tool is a Blender/BGE community property and free for use/dev. by anyone. Please, kindly share your improvements. Thanks.