Hi Simon, hi Matthias,

Matthias Stiller wrote:
> Hello Simon,
> 
> by looking at the implementation of OSGDistanceLOD::draw it seems you 
> cannot directly query it. I would suggest to modify this function and 
> factorize out the calculation of the index of the child to be drawn. 
> Another possibility would be to add a variable to hold the index so you 
> could query it without another calculation. 

I would prefer the former. The latter doesn't work with shared cores or 
multiple 
viewports, and is less stable in general. Factoring out the calculations should 
be simple, you just to find a way to get the necessary data (viewport etc.) 
into it.

> I am sure this modification 
> will find its way into cvs.

I'd be happy to.

        Dirk

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to