KD-Tree...[5804:100000]
KD-Tree Build Time = 0.078817s
+ Nodes = 3437
+ Leafs = 1719
Intersection Time = 2.00325s
Triangles Checks = 186
Intersection Time <osg> = 27.5296s
Total Bench Time: 29.6118s
How and where should i implement this feature to test with normal OSG
rendering. Vertex Array change to complex objects ?
_/adegli
2007/10/10, Adrian Egli <[EMAIL PROTECTED]>:
>
> KD-Tree...[5804:1000]
> KD-Tree Build Time = 0.0550397s
> Intersection Time = 0.0336411s <- KD Tree
> Triangles Checks = 33
> Intersection Time <osg> = 0.331938s <- OSG
> intersection visitor
> Total Bench Time: 0.423215s
>
>
>
> 2007/10/10, Ulrich Hertlein <[EMAIL PROTECTED] >:
> >
> > Hi Adrian,
> >
> > Quoting Adrian Egli < [EMAIL PROTECTED]>:
> > > i am working on a KD-Tree based line intersection test. First result
> > are
> > > quite better, event for the cow object with 5804 and passed 1000.0lines
> > > trought the object with 2 real intersection we have just to check
> > against 33
> > > triangles instead of all (5804).
> > >...
> > > TrianglesChecks=5804
> > > Total Bench Time: 0.209096s
> > >...
> > > TrianglesChecks=33
> > > Total Bench Time: 0.0879453s
> >
> > Interesting stuff. I assume you're doing some initial pass to build the
> > kd-tree?
> > If so, how long does that take and is the setup time included in the
> > total time?
> >
> > Thanks,
> > /ulrich
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> >
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
>
>
>
> --
> ********************************************
> Adrian Egli
--
********************************************
Adrian Egli
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org