[osg-users] [osgPlugins] Trouble with texture to export to OSGJS format

Mathieu Bartillat mathieu.rougeron at telespazio.com
Tue Jul 28 00:37:55 PDT 2015


Hello Jordi, thanks a lot for your answer.

I tried to use the gles plugin with the command described in the link you sent, but osgconv.exe crashes (no log message).

I tried with an IVE and an OSGB files as input.

So far the only way I have not to receive the error (Fatal nb colors 1 != 1349) is to get an OBJ from the graphist without texture. Texture files are in a separate folder /images.
Then I can convert to an OSGJS format.
In this file I have references to the textures in some fields, such as:
"File": "images\\base_age.tga", 

But when I load it, even if I put textures in the folder //images, they do not appear.
And in the Chrome console I have this:
warning use white texture as fallback instead of images\valve.tga
warning use white texture as fallback instead of images\alu_txt.tga
and so on...

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64503#64503








More information about the osg-users mailing list