Hi Alberto,

The OSG doesn't support writing to .flt, it should be reporting an error

I have just tried osgconv cow.osg cow.flt and like you I get a zero
length file the lack of error being reported from the .flt plugin is
certainly the problem.

This doesn't solve your problem though... you really want writing of
flt files, but alas this is a much bigger task that than tracking down
a minor warning message bug.

Is there a specific reason why you trying to write to .flt?


Robert.

On 11/7/06, Alberto Luaces <[EMAIL PROTECTED]> wrote:
Hello,

I am in the proccess of converting some Inventor files to any of the next
formats: flt, obj, stl.

The problem is that when I run osgconv on them e.g.

obj

no obj file is created. The same happens with stl. If I try flt,

osgconv chasis.iv chasis.flt

a zero-sized file called chasis.flt is created.

The debug information shows something like


*******************************************************
(...)
    found duplicate StateSet  first=0xbc4200  current=0xa81730
       replace duplicate 0xa81730 with 0xbc4200
Optimizer::optimize() doing FLATTEN_STATIC_TRANSFORMS
** RemoveStaticTransformsVisitor *** Pass 0
Optimizer::optimize() doing CHECK_GEOMETRY
Optimizer::optimize() doing MERGE_GEOMETRY
MERGE_GEOMETRY took 0.000421
Optimizer::optimize() doing REMOVE_REDUNDANT_NODES

Stats after:
Object Type     #Unique #Instanced
StateSet        1       786
Group           1       1
Transform       1       1
LOD             0       0
Switch          0       0
Geode           786     786
Drawable        786     786
Geometry        786     786
Vertices        79518   79518
Primitives      26506   26506
itr='/usr/local/lib64'
FindFileInPath() : trying /usr/local/lib64/osgdb_obj.so ...
itr='/usr/local/lib64/osgPlugins'
FindFileInPath() : trying /usr/local/lib64/osgPlugins/osgdb_obj.so ...
FindFileInPath() : USING /usr/local/lib64/osgPlugins/osgdb_obj.so
Opened DynamicLibrary osgdb_obj.so
Closing DynamicLibrary osgdb_iv.so
Closing DynamicLibrary osgdb_obj.so
*******************************************************
Optimizer::optimize() doing FLATTEN_STATIC_TRANSFORMS
** RemoveStaticTransformsVisitor *** Pass 0
Optimizer::optimize() doing CHECK_GEOMETRY
Optimizer::optimize() doing MERGE_GEOMETRY
MERGE_GEOMETRY took 0.00053
Optimizer::optimize() doing REMOVE_REDUNDANT_NODES

Stats after:
Object Type     #Unique #Instanced
StateSet        1       786
Group           1       1
Transform       1       1
LOD             0       0
Switch          0       0
Geode           786     786
Drawable        786     786
Geometry        786     786
Vertices        79518   79518
Primitives      26506   26506
itr='/usr/local/lib64'
FindFileInPath() : trying /usr/local/lib64/osgdb_OpenFlight.so ...
itr='/usr/local/lib64/osgPlugins'
FindFileInPath() : trying /usr/local/lib64/osgPlugins/osgdb_OpenFlight.so ...
FindFileInPath() : USING /usr/local/lib64/osgPlugins/osgdb_OpenFlight.so
Opened DynamicLibrary osgdb_OpenFlight.so
Closing DynamicLibrary osgdb_iv.so
Closing DynamicLibrary osgdb_OpenFlight.so
*******************************************************

so I think it finds the plugin libraries perfectly.

What can be wrong? I am using the latest stable OSG (I think):

OpenSceneGraph-1.2.0-200610182325

Thank you very much for your help.

Alberto
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to