Hey Reed ! Interesting catch on GE, strange they won't support standard primitives, Note I already got bit as they don't support plain old GL_POINTS either in KML or COLLADA makes it hard to show point clouds in GE
Making triangles is not really an optimization it's more a de-optimization :) ____________________________________________________________________________ __ Gordon Tomlinson [email protected] IM: [email protected] www.vis-sim.com www.gordontomlinson.com ____________________________________________________________________________ __ -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Reed Whittington Sent: Saturday, September 19, 2009 6:21 PM To: [email protected] Subject: Re: [osg-users] [osgPlugins] Using Collada (osgdb_dae) Writer with Google Earth 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 visitor that can take the osg PrimitiveSets and convert them to simple triangles (GL_TRIANGLES). I find the osg optimizers tessellation look like they might be close to what I need but I played around with the different modes and I don't get it. I could write a visitor to do this but before I do, I wanted to know if there is something existing that I can reuse. Thanks for helping. Regards, Reed ------------------------ -Reed http://www.linkedin.com/in/reedwhit ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17502#17502 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

