<div dir="ltr">Hi Mathieu, <div><br></div><div class="gmail_extra"><div class="gmail_quote">2015-07-28 9:37 GMT+02:00 Mathieu Bartillat <span dir="ltr"><<a href="mailto:mathieu.rougeron@telespazio.com" target="_blank">mathieu.rougeron@telespazio.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Jordi, thanks a lot for your answer.<br>
<br>
I tried to use the gles plugin with the command described in the link you sent, but osgconv.exe crashes (no log message).<br>
<br></blockquote><div><br></div><div>Could you share the model, or a part of it to reproduce the crash? That will help to debug. </div><div><br></div><div> I tried with an IVE and an OSGB files as input.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
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.<br>
Then I can convert to an OSGJS format.<br>
In this file I have references to the textures in some fields, such as:<br>
"File": "images\\base_age.tga",<br>
<br>
But when I load it, even if I put textures in the folder //images, they do not appear.<br>
And in the Chrome console I have this:<br>
warning use white texture as fallback instead of images\valve.tga<br>
warning use white texture as fallback instead of images\alu_txt.tga<br>
and so on...<br>
<span class=""><br></span></blockquote><div>That message means that osgjs is not founding the textures. Are you using a server like apache or similar? It is a must to work with separate textures, also the textures should be in the route they appear in the osgjs file. </div><div><br></div><div>By the way did you try the inline textures feature?</div><div><br></div><div>Cheers. </div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
------------------<br>
Read this topic online here:<br>
</span><a href="http://forum.openscenegraph.org/viewtopic.php?p=64503#64503" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=64503#64503</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Jordi Torres<br><br><br></div></div>
</div></div>