Hi All,
In my OSG application, I want to find the normal vector corresponding to
each pixel position. It means that after rendering if an image pixel (i,j)
comes from an object plane P, I need to find the Normal vector to P. One of
the ways would be to use LineSegmentIntersector to find the intersecting plane
for pixel (i,j), given the Line of Sight. But doing this for all pixels in the
field of view would be a very slow process.
It would be very kind if anyone could tell if a faster mechanism to do this
is there in OSG and give a pointer to it. Thanks in advance.
Regards
Harash.
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org