Hi,

thanks for your help we've done the conversion with one file (not the
biggest), but now when I try loading the data in IVE it makes a
segfault ?!

I've also successfully converted the IVE to osg, but it make the same
segfault...

I'm using OpenSceneGraph Library 2.6.1 with openthreads-version-number
2.3.0

Below is the log in the console setting OSG_NOTIFY_LEVEL=DEBUG.

Maybe blocking the optimisations as suggested by Marcin Prus could
help ?

If you have any idea, for the conversion or for viewing the object ?

We just would like to view the full object in a "low" resolution, and
zoom to some part of the object in full resolution...
It seems to me that building an LOD hierarchy, would be best way to do
it... But is it the best in our case (we have a single big cylindrical
object) to use "simple LOD" or do we need to build a pagedLOD or
something different ?

Any advice is welcome, Pierre.



/mnt/s2/2$ export OSG_NOTIFY_LEVEL=DEBUG
osgviewer /mnt/s2/2/Data/IMERIR/ExtractedSurface.obj.ive
RegisterWindowingSystemInterfaceProxy()
X11WindowingSystemInterface()
GraphicsContext::setWindowingSystemInterface() 0x96a1530
0xb792f740
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
DriveManipulator::_height set to ==1.5
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
itr='/mnt/s2/2/ext/lib'
FindFileInPath() :
trying /mnt/s2/2/ext/lib/osgPlugins-2.6.1/osgdb_ive.so ...
FindFileInPath() : USING /mnt/s2/2/ext/lib/osgPlugins-2.6.1/osgdb_ive.so
Opened DynamicLibrary osgPlugins-2.6.1/osgdb_ive.so
FindFileInPath(/mnt/s2/2/Data/IMERIR/ExtractedSurface.obj.ive):
returning /mnt/s2/2/Data/IMERIR/ExtractedSurface.obj.ive
ive::DataInputStream.setLoadExternalReferenceFiles()=1

Stats before:
Object Type     #Unique #Instanced
StateSet        0       0
Group           1       1
Transform       0       0
LOD             0       0
Switch          0       0
Geode           1       1
Drawable        1       1
Geometry        1       1
Vertices        5376293 5376293
Primitives      10763685        10763685
Optimizer::optimize() doing REMOVE_LOADED_PROXY_NODES
Optimizer::optimize() doing COMBINE_ADJACENT_LODS
Optimizer::optimize() doing OPTIMIZE_TEXTURE_SETTINGS
Optimizer::optimize() doing SHARE_DUPLICATE_STATE
Num of StateSet=0
Optimizer::optimize() doing FLATTEN_STATIC_TRANSFORMS
** RemoveStaticTransformsVisitor *** Pass 0
Optimizer::optimize() doing CHECK_GEOMETRY
Optimizer::optimize() doing MERGE_GEOMETRY
MERGE_GEOMETRY took 1.40896
Optimizer::optimize() doing REMOVE_REDUNDANT_NODES

Stats after:
Object Type     #Unique #Instanced
StateSet        0       0
Group           1       1
Transform       0       0
LOD             0       0
Switch          0       0
Geode           1       1
Drawable        1       1
Geometry        1       1
Vertices        5376293 5376293
Primitives      10763685        10763685
View::setSceneData() Reusing exisitng scene0x96a23c0
Erreur de segmentation



Le vendredi 27 février 2009 à 11:04 +0000, Robert Osfield a écrit :

> 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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Pierre BOURDIN
I.M.E.R.I.R.
Av. Pascot BP 90443
66004 PERPIGNAN
tél: 04 68 56 80 18
fax: 04 68 55 03 86
email: bour...@imerir.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to