Re: [osg-users] Please test svn/trunk in prep for 2.9.6 dev release
Hi Nick, On Sat, Dec 5, 2009 at 1:36 PM, Trajce Nikolov nikolov.tra...@gmail.com wrote: I am getting crash in void Group::releaseGLObjects(osg::State* state) const after releasing the osgViewer::VIewer What do you mean by releasing the osgViewer::Viewer? Destruction? Could you be specific enough that others could have a bash at reproducing the problem. For instance is it you own app, standard OSG example? Thanks, Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Looking for recommendation for (Paged)LODs and terrain visualization
Hi Glenn, yes, that's what I planned to do. I am just evaluating osgEarth. Thank you! Cheers, Hartwig -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=20971#20971 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for 2.9.6 dev release
yes, destruction. it is my own example but will try to reproduce the problem with the examples and send the code Nick http://www.linkedin.com/in/tnikolov On Sun, Dec 6, 2009 at 11:56 AM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Nick, On Sat, Dec 5, 2009 at 1:36 PM, Trajce Nikolov nikolov.tra...@gmail.com wrote: I am getting crash in void Group::releaseGLObjects(osg::State* state) const after releasing the osgViewer::VIewer What do you mean by releasing the osgViewer::Viewer? Destruction? Could you be specific enough that others could have a bash at reproducing the problem. For instance is it you own app, standard OSG example? Thanks, Robert. ___ 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] [vpb] convertLatLongHeightToXYZ problem with a geocentric coordinate earth
Glenn Waldron wrote: Lv, convertLatLongHeightToXYZ gives you a point on the surface of the ellipsoid, but the actual polygons in the terrain model are just a tessellated approximation of that ellipsoid. So if you want the point on the triangulated surface, you have to convert to XYZ and then clamp down to the surface (using the local up-vector at that point). Glenn Waldron : Pelican Mapping : http://pelicanmapping.com (http://pelicanmapping.com) : +1.703.652.4791 On Sat, Dec 5, 2009 at 10:19 AM, Lv Qing () wrote: Hi, I have build a geocentric coordinate earth model using VPB and want to put a simple model on the suface of the earth. I use the convertLatLongHeightToXYZ function to convert the BLH(Lat,Long,Height) of the simple model to XYZ of the geocentric coordinate system.The result of X and Y seems OK,but the Z coordinate is always a bit higher above the earth suface(about 5000 m). Code: // load the earth model osg::CoordinateSystemNode* csn = new osg::CoordinateSystemNode; csn-setEllipsoidModel(new osg::EllipsoidModel()); osg::Node* TerrainNode= osgDB::readNodeFile(earth.osga); csn-addChild(TerrainNode); //convert the BLH(50,130,0) to XYZ,I set height 0. osg::Vec3d m_surface; csn-getEllipsoidModel()-convertLatLongHeightToXYZ(osg:egreesToRadians(50.0f),osg:egreesToRadians(130.0f),0.0f,double(m_surface.x()),double(m_surface.y()),double(m_surface.z())); //draw a simple yellow line from center of the earth (osg::Vec3(0,0,0)) to the surface (osg::Vec3d m_surface); osg::Geode *geode_line = new osg::Geode; osg::Geometry *geom = new osg::Geometry(); geode_line-addDrawable(geom); csn-addChild(geode_line); osg::Vec3Array *v = new osg::Vec3Array(); v-push_back(osg::Vec3(0,0,0)); v-push_back(m_center); geom-setVertexArray(v); osg::Vec4Array *vc = new osg::Vec4Array(); vc-push_back(osg::Vec4(1.0f,0.5f,0.0f,1.0f)); geom-setColorArray(vc); geom-setColorBinding(osg::Geometry::BIND_PER_PRIMITIVE); geom-addPrimitiveSet(new osg:rawArrays(osg:rimitiveSet:INES,0,2)); As the result ,the end of the yellow line is obviously higher than the surface.Please tell me where I am wrong,THX! Thank you! Cheers, Lv -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=20950#20950 (http://forum.openscenegraph.org/viewtopic.php?p=20950#20950) Attachments: http://forum.openscenegraph.org//files/getattachment1_418.jpg (http://forum.openscenegraph.org//files/getattachment1_418.jpg) ___ osg-users mailing list () http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org) -- Post generated by Mail2Forum Thank you !How can I use the local up-vector at that point? Is that? Code: osg::Vec3d m_center; csn-getEllipsoidModel()-convertLatLongHeightToXYZ(osg::inDegrees(40.0f),osg::inDegrees(120.0f),0.0f,double(m_center.x()),double(m_center.y()),double(m_center.z())); osg::Vec3d center; center.set(csn-getEllipsoidModel()-computeLocalUpVector(m_center.x(),m_center.y(),m_center.z())); -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=20973#20973 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Full list of dependencies
Hi Where can I find the full list of dependencies required for OSG 2.8 and list of configuration options for building OSG libraries? Rizzen ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] convertLatLongHeightToXYZ problem with a geocentric coordinate earth
On Sun, Dec 6, 2009 at 7:53 AM, Lv Qing donlvq...@msn.com wrote: Glenn Waldron wrote: Lv, convertLatLongHeightToXYZ gives you a point on the surface of the ellipsoid, but the actual polygons in the terrain model are just a tessellated approximation of that ellipsoid. So if you want the point on the triangulated surface, you have to convert to XYZ and then clamp down to the surface (using the local up-vector at that point). Glenn Waldron : Pelican Mapping : http://pelicanmapping.com ( http://pelicanmapping.com) : +1.703.652.4791 On Sat, Dec 5, 2009 at 10:19 AM, Lv Qing () wrote: Hi, I have build a geocentric coordinate earth model using VPB and want to put a simple model on the suface of the earth. I use the convertLatLongHeightToXYZ function to convert the BLH(Lat,Long,Height) of the simple model to XYZ of the geocentric coordinate system.The result of X and Y seems OK,but the Z coordinate is always a bit higher above the earth suface(about 5000 m). Code: // load the earth model osg::CoordinateSystemNode* csn = new osg::CoordinateSystemNode; csn-setEllipsoidModel(new osg::EllipsoidModel()); osg::Node* TerrainNode= osgDB::readNodeFile(earth.osga); csn-addChild(TerrainNode); //convert the BLH(50,130,0) to XYZ,I set height 0. osg::Vec3d m_surface; csn-getEllipsoidModel()-convertLatLongHeightToXYZ(osg:egreesToRadians(50.0f),osg:egreesToRadians(130.0f),0.0f,double(m_surface.x()),double(m_surface.y()),double(m_surface.z())); //draw a simple yellow line from center of the earth (osg::Vec3(0,0,0)) to the surface (osg::Vec3d m_surface); osg::Geode *geode_line = new osg::Geode; osg::Geometry *geom = new osg::Geometry(); geode_line-addDrawable(geom); csn-addChild(geode_line); osg::Vec3Array *v = new osg::Vec3Array(); v-push_back(osg::Vec3(0,0,0)); v-push_back(m_center); geom-setVertexArray(v); osg::Vec4Array *vc = new osg::Vec4Array(); vc-push_back(osg::Vec4(1.0f,0.5f,0.0f,1.0f)); geom-setColorArray(vc); geom-setColorBinding(osg::Geometry::BIND_PER_PRIMITIVE); geom-addPrimitiveSet(new osg:rawArrays(osg:rimitiveSet:INES,0,2)); As the result ,the end of the yellow line is obviously higher than the surface.Please tell me where I am wrong,THX! Thank you! Cheers, Lv -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=20950#20950 ( http://forum.openscenegraph.org/viewtopic.php?p=20950#20950) Attachments: http://forum.openscenegraph.org//files/getattachment1_418.jpg ( http://forum.openscenegraph.org//files/getattachment1_418.jpg) ___ osg-users mailing list () http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org( http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org) -- Post generated by Mail2Forum Thank you !How can I use the local up-vector at that point? Is that? Code: osg::Vec3d m_center; csn-getEllipsoidModel()-convertLatLongHeightToXYZ(osg::inDegrees(40.0f),osg::inDegrees(120.0f),0.0f,double(m_center.x()),double(m_center.y()),double(m_center.z())); osg::Vec3d center; center.set(csn-getEllipsoidModel()-computeLocalUpVector(m_center.x(),m_center.y(),m_center.z())); 1) Get the XYZ using convertLatLongHeightToXYZ (lat/long must be in radians). 2) Get the local normalized UP vector at that point, as in your code above. (you need revision 10536 or newer for this method to work correctly -- if you are using an older version, just copy the newer code and do it manually). 3) Start at your XYZ, and extend along the up vector in each direction to create a line segment long enough to intersect the terrain. 4) Use the osgUtil::LineSegmentIntersector to find the intersection point. Keep in mind that the intersection point will be different for each LOD in your VPB terrain ... but that's another topic. Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : +1.703.652.4791 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Full list of dependencies
2009/12/6 Rizzen riz...@darkstar.co.za Hi Where can I find the full list of dependencies required for OSG 2.8 and list of configuration options for building OSG libraries? Rizzen osg itself doesn't have any dependencies, only the plugins do. You'll have to run cmake and look through that for specifics, there are too many plugins for it to be worth making a list and too many config options as well. -- http://www.ssTk.co.uk ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] convertLatLongHeightToXYZ problem with a geocentric coordinate earth
Hi, Thank you Glenn ! Thank you! Cheers, Lv -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=20979#20979 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Full list of dependencies
Here's the basic dependencies http://www.openscenegraph.org/projects/osg/wiki/Downloads/Dependencies All the rest will be described with the individual plug-ins or add-on node kits __ Gordon Tomlinson mailto:gor...@gordontomlinson.com gor...@gordontomlinson.com IM: mailto:gordon3db...@3dscenegraph.com gordon3db...@3dscenegraph.com http://www.vis-sim.com/ www.vis-sim.com http://www.gordontomlinson.com/ www.gordontomlinson.com __ From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Simon Hammett Sent: Sunday, December 06, 2009 10:48 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Full list of dependencies 2009/12/6 Rizzen riz...@darkstar.co.za Hi Where can I find the full list of dependencies required for OSG 2.8 and list of configuration options for building OSG libraries? Rizzen osg itself doesn't have any dependencies, only the plugins do. You'll have to run cmake and look through that for specifics, there are too many plugins for it to be worth making a list and too many config options as well. -- http://www.ssTk.co.uk ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Full list of dependencies
Thanx, though did not help with building the optional modules of OSG 2.8. What must be done to get these optional OSG modules built? Rizzen Gordon Tomlinson wrote: Here’s the basic dependencies http://www.openscenegraph.org/projects/osg/wiki/Downloads/Dependencies All the rest will be described with the individual plug-ins or add-on node kits __ /Gordon Tomlinson / /gor...@gordontomlinson.com mailto:gor...@gordontomlinson.com/ IM: /gordon3db...@3dscenegraph.com mailto:gordon3db...@3dscenegraph.com/ /www.vis-sim.com http://www.vis-sim.com/ www.gordontomlinson.com http://www.gordontomlinson.com// __ *From:* osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] *On Behalf Of *Simon Hammett *Sent:* Sunday, December 06, 2009 10:48 AM *To:* OpenSceneGraph Users *Subject:* Re: [osg-users] Full list of dependencies 2009/12/6 Rizzen riz...@darkstar.co.za mailto:riz...@darkstar.co.za Hi Where can I find the full list of dependencies required for OSG 2.8 and list of configuration options for building OSG libraries? Rizzen osg itself doesn't have any dependencies, only the plugins do. You'll have to run cmake and look through that for specifics, there are too many plugins for it to be worth making a list and too many config options as well. -- http://www.ssTk.co.uk ___ 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
[osg-users] HeightField texture coordinates
Hi there is it possible to set the textue coordinates (for repeating a texture) of a HeightField node? If yes, how? Thanks a lot Dominic ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Full list of dependencies
you can get all of them from the svn look in the archive for the details . do a search for 3rdParty Nick http://www.linkedin.com/in/tnikolov Sent from Örnek, İstanbul, Turkey On Sun, Dec 6, 2009 at 7:25 PM, Rizzen riz...@darkstar.co.za wrote: Thanx, though did not help with building the optional modules of OSG 2.8. What must be done to get these optional OSG modules built? Rizzen Gordon Tomlinson wrote: Here’s the basic dependencies http://www.openscenegraph.org/projects/osg/wiki/Downloads/Dependencies All the rest will be described with the individual plug-ins or add-on node kits __ /Gordon Tomlinson / /gor...@gordontomlinson.com mailto:gor...@gordontomlinson.com/ IM: /gordon3db...@3dscenegraph.com mailto:gordon3db...@3dscenegraph.com / /www.vis-sim.com http://www.vis-sim.com/ www.gordontomlinson.com http://www.gordontomlinson.com// __ *From:* osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] *On Behalf Of *Simon Hammett *Sent:* Sunday, December 06, 2009 10:48 AM *To:* OpenSceneGraph Users *Subject:* Re: [osg-users] Full list of dependencies 2009/12/6 Rizzen riz...@darkstar.co.za mailto:riz...@darkstar.co.za Hi Where can I find the full list of dependencies required for OSG 2.8 and list of configuration options for building OSG libraries? Rizzen osg itself doesn't have any dependencies, only the plugins do. You'll have to run cmake and look through that for specifics, there are too many plugins for it to be worth making a list and too many config options as well. -- http://www.ssTk.co.uk ___ 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 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Full list of dependencies
osgIntrospection and osgWrappers comes with the OSG core, but are optional modules. How does one build these optional modules? I have found the other required 3rd party modules and built them already. Rizzen Trajce Nikolov wrote: you can get all of them from the svn look in the archive for the details . do a search for 3rdParty Nick http://www.linkedin.com/in/tnikolov Sent from Örnek, İstanbul, Turkey On Sun, Dec 6, 2009 at 7:25 PM, Rizzen riz...@darkstar.co.za mailto:riz...@darkstar.co.za wrote: Thanx, though did not help with building the optional modules of OSG 2.8. What must be done to get these optional OSG modules built? Rizzen Gordon Tomlinson wrote: Here’s the basic dependencies http://www.openscenegraph.org/projects/osg/wiki/Downloads/Dependencies All the rest will be described with the individual plug-ins or add-on node kits __ /Gordon Tomlinson / /gor...@gordontomlinson.com mailto:gor...@gordontomlinson.com mailto:gor...@gordontomlinson.com/ IM: /gordon3db...@3dscenegraph.com mailto:gordon3db...@3dscenegraph.com mailto:gordon3db...@3dscenegraph.com mailto:gordon3db...@3dscenegraph.com/ /www.vis-sim.com http://www.vis-sim.com http://www.vis-sim.com/ www.gordontomlinson.com http://www.gordontomlinson.com http://www.gordontomlinson.com// __ *From:* osg-users-boun...@lists.openscenegraph.org mailto:osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org mailto:osg-users-boun...@lists.openscenegraph.org] *On Behalf Of *Simon Hammett *Sent:* Sunday, December 06, 2009 10:48 AM *To:* OpenSceneGraph Users *Subject:* Re: [osg-users] Full list of dependencies 2009/12/6 Rizzen riz...@darkstar.co.za mailto:riz...@darkstar.co.za mailto:riz...@darkstar.co.za mailto:riz...@darkstar.co.za Hi Where can I find the full list of dependencies required for OSG 2.8 and list of configuration options for building OSG libraries? Rizzen osg itself doesn't have any dependencies, only the plugins do. You'll have to run cmake and look through that for specifics, there are too many plugins for it to be worth making a list and too many config options as well. -- http://www.ssTk.co.uk ___ osg-users mailing list osg-users@lists.openscenegraph.org mailto:osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org mailto: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 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Full list of dependencies
are you using CMake? it is easy Nick http://www.linkedin.com/in/tnikolov Sent from Örnek, İstanbul, Turkey On Sun, Dec 6, 2009 at 8:02 PM, Rizzen riz...@darkstar.co.za wrote: osgIntrospection and osgWrappers comes with the OSG core, but are optional modules. How does one build these optional modules? I have found the other required 3rd party modules and built them already. Rizzen Trajce Nikolov wrote: you can get all of them from the svn look in the archive for the details . do a search for 3rdParty Nick http://www.linkedin.com/in/tnikolov Sent from Örnek, İstanbul, Turkey On Sun, Dec 6, 2009 at 7:25 PM, Rizzen riz...@darkstar.co.za mailto:riz...@darkstar.co.za wrote: Thanx, though did not help with building the optional modules of OSG 2.8. What must be done to get these optional OSG modules built? Rizzen Gordon Tomlinson wrote: Here’s the basic dependencies http://www.openscenegraph.org/projects/osg/wiki/Downloads/Dependencies All the rest will be described with the individual plug-ins or add-on node kits __ /Gordon Tomlinson / /gor...@gordontomlinson.com mailto:gor...@gordontomlinson.com mailto:gor...@gordontomlinson.com/ IM: /gordon3db...@3dscenegraph.com mailto:gordon3db...@3dscenegraph.com mailto:gordon3db...@3dscenegraph.com mailto:gordon3db...@3dscenegraph.com/ /www.vis-sim.com http://www.vis-sim.com http://www.vis-sim.com/ www.gordontomlinson.com http://www.gordontomlinson.com http://www.gordontomlinson.com// __ *From:* osg-users-boun...@lists.openscenegraph.org mailto:osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org mailto:osg-users-boun...@lists.openscenegraph.org] *On Behalf Of *Simon Hammett *Sent:* Sunday, December 06, 2009 10:48 AM *To:* OpenSceneGraph Users *Subject:* Re: [osg-users] Full list of dependencies 2009/12/6 Rizzen riz...@darkstar.co.za mailto:riz...@darkstar.co.za mailto:riz...@darkstar.co.za mailto:riz...@darkstar.co.za Hi Where can I find the full list of dependencies required for OSG 2.8 and list of configuration options for building OSG libraries? Rizzen osg itself doesn't have any dependencies, only the plugins do. You'll have to run cmake and look through that for specifics, there are too many plugins for it to be worth making a list and too many config options as well. -- http://www.ssTk.co.uk ___ osg-users mailing list osg-users@lists.openscenegraph.org mailto:osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org mailto: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 ___ 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
[osg-users] [vpb] how to create valid terrain database?
Hi, I am using osgdem 0.9.10 with the following arguments: osgdem --xx 10 --yy 10 -t ps_texture_16k.tif\ --xx 10 --yy 10 -d ps_height_16k.tif\ -v 0.1 --terrain -o test.osg Unfortunately, this does not produce anything useful. So, it seems to be that an argument is missing to create a valid database. But what argument? Removing --terrain builds a valid osg::Geode base database. Cheers, Hartwig -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=20986#20986 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] how to create valid terrain database?
Hi, sorry, but with anything useful I meant that osgviewer test.osg is not displaying anything and it seems to be that no height data is stored in the database. Thank you! Cheers, Hartwig -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=20988#20988 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Masking (hiding) a subset of primitives?
I want to do something a little 'odd' and am not sure of the best way to do this. - assuming a 'large' number of (tri or quad) primitives in a primitiveset (say 100K-500K+) I want to hide ( not draw) a user-defined subset of those primitives. - the user scenario is that the user selects a subset of primitives from the full geometry then hides them. The user can also Un-hide any hidden primitives at any time. - I could laboriously keep multiple geometries but was wondering if it is possible to override one of the drawing functions to test for membership in a hidden set for each primitive. Obviously this would follow the slow path, Or ???. I have looked at the primitiveset drawing code but got lost in the complexity of VBO vs displaylist vs slow path etc. Thanks Andrew -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=20989#20989 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org