[osg-users] osgconv "noTriStripPolygons" give tri. fans only

Kari Ringdal kari.ringdal at uni.no
Tue Sep 12 06:50:12 PDT 2017


Hi,

Converting an obj file to ive with osgconv gives me unexpected results with the option noTriStripPolygons in the OSG-3.4.1 release. The osgviewer stats tell me that the created model has more than four times as many vertices than the original obj file and only triangle fan primitives. One drawarray for every three vertices. In the OSG-3.0.1 build the same options gave me long drawarrays of TRIANGLES. 
The options I use: osgconv -O "noRotation noTriStripPolygons noTesselateLargePolygons" myfile.obj myfile.ive

I want triangle primitives only, why do I get all too many triangle fans?

Thank you!

Cheers,
Kari

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=71696#71696







More information about the osg-users mailing list