Re: [osg-users] Help: Is there an osg example with ray tracing?
On 16 September 2015 at 06:16, Tony Vasilewrote: > > S2LR wrote: > > Shuiying, > > > > I would start by looking at the "osgintersection" example, in > > particular, the LineSegmentIntersector to see if that will help you. > > > > -Shayne > > > > > > > So what do you get from the output of "osgintersection"? For example if I > run "osgintersection cow.osg" I get: > Intersection > Computing LineOfSight > Completed in 0.096953 > point 0.776125 0.815986 0 > point 0.776125 -1.683 0 > point 0.839681 0.791811 0 > point 0.839681 -1.65035 0 > point 0.903236 0.767635 0 > point 0.903236 -1.63128 0 > point 0.966792 0.74346 0 > > So what are the points? > > It's the osgintersection example so... Could they be the intersections points Go have a look at the code, and the headers. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Help: Is there an osg example with ray tracing?
S2LR wrote: > Shuiying, > > I would start by looking at the "osgintersection" example, in > particular, the LineSegmentIntersector to see if that will help you. > > -Shayne > > So what do you get from the output of "osgintersection"? For example if I run "osgintersection cow.osg" I get: Intersection Computing LineOfSight Completed in 0.096953 point 0.776125 0.815986 0 point 0.776125 -1.683 0 point 0.839681 0.791811 0 point 0.839681 -1.65035 0 point 0.903236 0.767635 0 point 0.903236 -1.63128 0 point 0.966792 0.74346 0 So what are the points? Tony V -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65139#65139 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Help: Is there an osg example with ray tracing?
S2LR wrote: > Shuiying, > > I would start by looking at the "osgintersection" example, in > particular, the LineSegmentIntersector to see if that will help you. > > -Shayne > > So what do you get from the output of "osgintersection"? For example if I run "osgintersection cow.osg" I get: Intersection Computing LineOfSight Completed in 0.096953 point 0.776125 0.815986 0 point 0.776125 -1.683 0 point 0.839681 0.791811 0 point 0.839681 -1.65035 0 point 0.903236 0.767635 0 point 0.903236 -1.63128 0 point 0.966792 0.74346 0 So what are the points? Tony V -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65138#65138 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Help: Is there an osg example with ray tracing?
Hello, I simulate a laser sensor with shader using osg, and want to compare it with simulated laser sensor using ray tracing technique. So is there a ray tracing example of osg in such application? Thank you in advance! Shuiying ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Help: Is there an osg example with ray tracing?
Shuiying, I would start by looking at the osgintersection example, in particular, the LineSegmentIntersector to see if that will help you. -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of wang shuiying Sent: Friday, January 13, 2012 10:14 AM To: osg-users@lists.openscenegraph.org Subject: [osg-users] Help: Is there an osg example with ray tracing? Hello, I simulate a laser sensor with shader using osg, and want to compare it with simulated laser sensor using ray tracing technique. So is there a ray tracing example of osg in such application? Thank you in advance! Shuiying ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Help: Is there an osg example with ray tracing?
http://www.openscenegraph.org/projects/osg/wiki/RayTraced 2012/1/13 Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC shayne.tuel...@hill.af.mil: Shuiying, I would start by looking at the osgintersection example, in particular, the LineSegmentIntersector to see if that will help you. -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of wang shuiying Sent: Friday, January 13, 2012 10:14 AM To: osg-users@lists.openscenegraph.org Subject: [osg-users] Help: Is there an osg example with ray tracing? Hello, I simulate a laser sensor with shader using osg, and want to compare it with simulated laser sensor using ray tracing technique. So is there a ray tracing example of osg in such application? Thank you in advance! Shuiying ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Maxim Gammer ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org