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.
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
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
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:
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
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
6 matches
Mail list logo