Hi Fred,

have a look at this thread:

http://thread.gmane.org/gmane.comp.graphics.openscenegraph.cvs/4868/focus=4876

I'm not sure what the current float vs double in the intersection code path is like, but maybe you can try do some mods and see...

jp

Fred Thegreat wrote:
Hi,

I'm trying to do picking by using computeIntersections.

Please find the attached picture (skydome).

Balls represent intersection points, lines represent normal vectors.

Whenever I try to pick the top of the dome (not the inside), I get a
correct intersection point but the normal vector is wrong. When I
pick from the inside the yellow lines go downwards, as expected.

I have noticed other strange behaviors with more complex models.
Sometimes, the first intersection point/normal vector pair is not
returned. Other times, the intersection point and/or the normal
vector is wrong.

We're using OSG 2.8.1 but I tested a recent version and experienced
the same issue.

Is this a known bug?

Thanks, Fred

------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=20605#20605




Attachments: http://forum.openscenegraph.org//files/skydome_picking_problem_195.png



_______________________________________________ osg-users mailing
list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to