Hi Andreas, On 12/18/06, Andreas Helbling <[EMAIL PROTECTED]> wrote:
So I have to update the ranges for my LOD node everytime the scale for the model changes? Is there a standard way to do that ?
You shouldn't need to do any, LOD ranges should always be in the LOD nodes local coordinate frame end of story, no need to ever update. The LOD is about controlling the representation used a given ranges, these ranges are set up w.r.t what subgraphs look acceptable when projected onto the screen coordinates - once you accumulate all the transforms. By transforming the eye into local coordinates and then doing the distance comparisons in local coordinates the correct selection is chosen irrespective on what transforms are applied above. THIS IS A GOOD THING!!!!! Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
