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

Robert Osfield robert.osfield at gmail.com
Wed Sep 13 04:06:06 PDT 2017


Hi Kari,

Without testing the data or similar first hand is not possible to give you
a definitive answer to what is going on.

Could you post a link to your data or other data that exhibits similar
behaviour?

As a general comment, it sounds like the scene graph is not well balanced,
it might be that the original .obj file is poorly conditioned and needs
work to restructure it into a more optimal way for real-time rendering.

At lot time has passed between 3.0.1 and 3.4.1 so to know what changes have
taken place, some have certainly been made to the OBJ in that period.
Perhaps a change in default behaviour is the reason.

Robert.

On 12 September 2017 at 14:50, Kari Ringdal <kari.ringdal at uni.no> wrote:

> 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
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170913/bb6b47b7/attachment.htm>


More information about the osg-users mailing list