[osg-users] Problem to get textures from a .flt model

2008-06-17 Thread Engvall Åsa
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*

Re: [osg-users] Problem to get textures from a .flt model

2008-06-17 Thread Brede Johansen
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.

Re: [osg-users] Problem to get textures from a .flt model

2008-06-17 Thread John Vidar Larring
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,

Re: [osg-users] Problem to get textures from a .flt model - resolved

2008-06-17 Thread Engvall Åsa
] 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