Re: [osg-users] [osgPlugins] Using Collada (osgdb_dae) Writer with Google Earth

2009-09-30 Thread Reed Whittington
Hi, Guys Just wanted to followup. And thanks Roger for the sample code. I ended up making it work while we build the scene graph rather than doing it after in a traversal. Thanks again. BTY, Safe is hiring software engineers with Google Earth and General GIS and 3d experience.

Re: [osg-users] [osgPlugins] Using Collada (osgdb_dae) Writer with Google Earth

2009-09-21 Thread Roger James
Reed, I did something like this using a NodeVisitor. It was only a partial solution. osg::PrimitiveSet CKmlComplianceVisitor::ProcessTriangleStrip(osg::PrimitiveSet PrimitiveSet) { // Convert PrimitiveSet into a DrawElementsUInt osg::DrawElementsUInt *pNewPrimitiveSet = new

Re: [osg-users] [osgPlugins] Using Collada (osgdb_dae) Writer with Google Earth

2009-09-20 Thread Reed Whittington
Hi Gordon, Good to hear from you. Thanks for chiming in. Yea it is a de-optimization or de-normalization. I dont really care how it is categorized. Does it makes sense to have a visitor that decomposes the osg PrimitiveSets into triangles (GL_TRIANGLES)? Im really just trying to see if

[osg-users] [osgPlugins] Using Collada (osgdb_dae) Writer with Google Earth

2009-09-19 Thread Reed Whittington
Hi Osgers, Im getting familiar with what others have found on this subject. https://collada.org/public_forum/viewtopic.php?f=12t=1442start=0 http://forum.openscenegraph.org/viewtopic.php?t=2932 http://forum.openscenegraph.org/viewtopic.php?t=3042 And have tried using the writer modes:

Re: [osg-users] [osgPlugins] Using Collada (osgdb_dae) Writer with Google Earth

2009-09-19 Thread Reed Whittington
Hi again, Okay, I have more information on what is happening. Google Earth seems to like only triangles. After the osg tessellation optimization the primitives are tristrips and trifans. And before optimization there are mainly polygons (n sided faces). So I think what I am looking for is a

Re: [osg-users] [osgPlugins] Using Collada (osgdb_dae) Writer with Google Earth

2009-09-19 Thread Gordon Tomlinson
Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Reed Whittington Sent: Saturday, September 19, 2009 6:21 PM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] [osgPlugins] Using Collada (osgdb_dae) Writer