Re: [osg-users] VertexArray from a loaded .osg file
Hi I solved the first question myself.Can any help me find intersection of a line on surface of the object. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=10884#10884 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VertexArray from a loaded .osg file
Please read the Quick Start Guide, or grep the source for intersection. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466 -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Brett Sent: Sunday, April 26, 2009 7:04 PM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] VertexArray from a loaded .osg file Hi I solved the first question myself.Can any help me find intersection of a line on surface of the object. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=10884#10884 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VertexArray from a loaded .osg file.
On Mon, Apr 6, 2009 at 12:18 AM, Christian Sam osgfo...@tevs.eu wrote: is it possible to use the VertexArray from the loaded scenefile in a new created Drawable (which will display my analyzing results), AND add additional vertices, based on the analyzing process to it? Or will i have to allocate a new VertexArray for my Drawable and copy the loaded file's VertexArray by Value into it? Yes, ref counting means you can share objects such as osg::Vec3Arrays. Note that OSG itself has a .shp plugin that loads the shape files as Vec3dArray which while very slow for rendering are very good to accuracy. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] VertexArray from a loaded .osg file.
Hi, i'm using osggis to convert an esri shape file to an .osg file. i want to use the scenedata, more precisely the vertex positions from that file. i need them for an analyzing function, and won't add that loaded file directly into my scenegraph, because i don't want to display it before analyzing is done. is it possible to use the VertexArray from the loaded scenefile in a new created Drawable (which will display my analyzing results), AND add additional vertices, based on the analyzing process to it? Or will i have to allocate a new VertexArray for my Drawable and copy the loaded file's VertexArray by Value into it? Thanks in advance, christian -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=9761#9761 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org