magsnus
03-26-2006, 10:01 PM
Hi all!
Read about this post earlier but havent found any answers so far. Ive got a problem that needs solving. At the moment were trying to render out some passes but everything keeps crashing due to to heavy geometry. What i need to do is create a script that picks the objects that are visible to the camera and then sets the subdivision levels based on the distance to the camera and also if the objects are visible or not. The not visible objects can all pretty much have a subdivision level of 0, and the visible from (3), 2, 1 and 0 based on the distance from the camera.
But the problem is creating a collision detection scripts that figueres out wether or not an object is actually visible to the camera and if so how far away it is to the camera.
Any help on this issue would be appreciated!
Read about this post earlier but havent found any answers so far. Ive got a problem that needs solving. At the moment were trying to render out some passes but everything keeps crashing due to to heavy geometry. What i need to do is create a script that picks the objects that are visible to the camera and then sets the subdivision levels based on the distance to the camera and also if the objects are visible or not. The not visible objects can all pretty much have a subdivision level of 0, and the visible from (3), 2, 1 and 0 based on the distance from the camera.
But the problem is creating a collision detection scripts that figueres out wether or not an object is actually visible to the camera and if so how far away it is to the camera.
Any help on this issue would be appreciated!
