Level of detail (LOD) script?

Im looking for a “non game-engine” LOD Python script. One that can set the “renderability” of objects to on or of based on the camera’s position and direction.

It would also be nice to have it controll subdiv render settings.Similar to this one but for 2.5x

I’m working on large outdoor scenes with lots of trees and vegetation and a highway full of cars. I need to use these scenes over and over again for traffic training puposes so a dynamic setup is preferred.

Ill settle for a script that wil handle basic LOD functionality. Meaning it can detect objects entering and leaving the camera’s field of view at a set distance. Ik know a little python so setting the renderability of an object I can handle. But figuring out a script that can detect objects within a set distance based on the camera’s position and direction is beyond my skill.

Thanx for the link, unfortunately I couldn’t find a released script in the post. Maybe it was removed, the last post in the thread was February 2010

it was a script then it turned into a plugin written in c to run fast and then it turned into a blender build. Here you go have fun with it.

http://graphicall.org/builds/builds/showbuild.php?action=show&id=623

Well I really was looking for a 2.5x script to maybe modify. C and C++ are not skills I have. The build is also for an older Blender version.