Hi Glenn, JS and Cedric,

You can inherite from the IntersectionVisitor and implement your own thing.
But the
future should be different, as JS mentioned i would like to integrate a
really fast
ray/line check into the osg core. Unfortunatelly i am snowed up with work,
and i didn't
yet start to integrate my small test application into the osg core. Is there
someone out
in the universe with some resource left doing it? The aim isn't raytracing
get integrated
into the osg at the moment, but in future it would be a greate option, may
as a
nodekit or as a new part of osg.

There exist RayTracer with Refraction / Reflection / Shadows running at
20-25Hz on my
MacBookPro (Windows) dual core (only CPU based -> have a look at
www.ompf.org)
May we can implement once a hybrid rendere GPU / CPU / OpenGL, is there some
ideas,
i would like to help in this topic, but we need more than one person
involved in this new
part of rendering.

/adegli

2007/11/13, Jean-Sébastien Guay <[EMAIL PROTECTED]>:
>
> Hello Glenn,
>
> > Is there a way to tell the osgUtil::IntersectionVisitor to stop
> searching
> > once it finds one (or "n") intersections?
>
> I don't know about IntersectionVisitor, but Adrian Egli's kdTree
> implementation for OSG supports this (in that case, it's to make
> raytracing shadows faster - you check a line segment between the
> current surface point and the light(s), and if there is an
> intersection you know the point is in shadow; no need to check for
> more than one intersection).
>
> However, that contribution is currently not fit for integration into
> OSG. I have promised to do some work on that, but am currently too
> busy finishing up my Masters thesis... Once that's done I'll be able
> to put some work on this. In addition, the kdTree structure is a whole
> lot faster for the actual intersection test, especially if all the
> geometry is rigid (non-deforming - transformations by Transform nodes
> is OK).
>
> Sorry for the bad news, but I wanted you to know that something's
> coming, just that it's not there yet.
>
> J-S
> --
> ______________________________________________________
> Jean-Sebastien Guay     [EMAIL PROTECTED]
>                          http://whitestar02.webhop.org/
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
> _______________________________________________
> 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

Reply via email to