Hi everybody!
I am new to OSG and this is my first posting to OSG users.
I have some problems to retrieve the textures from a .flt model and would like
to know what I'm doing wrong.
In main, the model is loaded in this way:
osg::Group* Ground = dynamic_castosg::Group*
Hi Åsa,
The OpenFlight face attributes are initially attached to the face
geode. If you rely on the original structure of the .flt file you
should disable the post optimizer in the OpenFlight reader with the
reader option preserveFace.
Hi Åsa,
One trick that I have found useful is to use the 'osgconv' program to
convert other formats into .osg files so that I can look at the
resulting SceneGraph in an editor. Try:
osgconv arena.flt arena.osg
... and check where the texture have been attached in your graph.
Best regards,
] Problem to get textures from a .flt model
Hi Åsa,
The OpenFlight face attributes are initially attached to the face geode. If
you rely on the original structure of the .flt file you should disable the post
optimizer in the OpenFlight reader with the reader option preserveFace.
http
4 matches
Mail list logo