Hi Cramp,

It could be that the tri stripper is bluking at such a large dataset.
Try disable the tri stripping via:

osgconv myfile.obj myfile.osg -O noTriStripPolygons

You can query the options via:

osgconv --format obj
Plugin osgPlugins-2.9.0/osgdb_obj.so
{
    ReaderWriter : Wavefront OBJ Reader
    {
        extensions : .obj                        Alias Wavefront OBJ format
        options    : AMBIENT=<unit>              Set texture unit for
ambient texture
        options    : BUMP=<unit>                 Set texture unit for
bumpmap texture
        options    : DIFFUSE=<unit>              Set texture unit for
diffuse texture
        options    : DISPLACEMENT=<unit>         Set texture unit for
displacement texture
        options    : OPACITY=<unit>              Set texture unit for
opacity/dissolve texture
        options    : REFLECTION=<unit>           Set texture unit for
reflection texture
        options    : SPECULAR=<unit>             Set texture unit for
specular texture
        options    : SPECULAR_EXPONENT=<unit>    Set texture unit for
specular exponent texture
        options    : noRotation                  Do not do the default
rotate about X axis
        options    : noTesselateLargePolygons    Do not do the default
tesselation of large polygons
        options    : noTriStripPolygons          Do not do the default
tri stripping of polygons
    }
}

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to