Hi Joachim, isn't at all a stupid question, of course i have to care about this, but i still thought about this issue, may there a two possiblity, first i store the data still in a array and just refere to them from kd-nodes, or a link the kd-nodes, i we assume that only triangles are stored in the leaves, then may we link juste the leaves.
(a stupid idea: may we can "link them to a ring", then may we can order them in depth, may not. i have to think about this, but i we have a strategy to walk through depth sorted you will see a next application of kd-tree (heuristically depth sorted) ) /adegli 2007/10/11, Joachim E. Vollrath <[EMAIL PROTECTED]>: > > Hi Adrian, > > possibly a stupid question: > > if you do that, wouldn't you break the vertex arrays that are needed to > efficiently upload the geometry to the graphics card? > > > > Hi Joachim, > > > > at the moment it's only a quick and dirty evaluation prototypic > > implementation, of course i have a huge overhead, i like to replace for > > triangles > > mesh the vertex array by a kd-tree in the osg core implementation. may i > get > > time tomorrow to doing depther tests and some may i will be able > > work out a first version of such a replacement in the osg core. > > > > i guess if i will integrate it right in osg core the overhead will be > not > > really huge, but i don't yet know it exactly > > > > /adegli > > > > > -- > Joachim E. Vollrath > University of Stuttgart > Institute for Visualization and Interactive Systems (VIS) > web: http://www.vis.uni-stuttgart.de/~vollrajm/ > mail: [EMAIL PROTECTED] > phone: 49.711.7816.403 > fax: 49.711.7816.340 > > german postal address: > Dipl. Inf. Joachim E. Vollrath > Universitaet Stuttgart, Institutsverbund Informatik > Institut fuer Visualisierung und Interaktive Systeme > Universitaetstrasse 38 > 70569 Stuttgart > GERMANY > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- ******************************************** Adrian Egli
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

