Hi,

Maxime BOUCHER wrote:
Alright, I found the problem.
 During the conversion, textures are lost, then when the shader reads a texture 
it finds nothing.

- Do you know how can I test it? I mean, if the texture slot (the specified 
unit) is empty, I would like to fill the fragment with the object color.

sorry I don't know if it's possible.


Too bad my textures are compressed .rgb, thus I can't export them in .osg as explained here 
(http://forum.openscenegraph.org/viewtopic.php?t=3337&postdays=0&postorder=asc&start=0).

Do you not have the original textures? How did you get to the .ive? In that thread it seemed there was a solution - you have to convince osgconv to use another extension/format for the textures.


Finally, the problem came only from me (as usual would say some), sorry for the 
wrong alert.

However, I'm still in big troubles with the Z-buffer, your help would be 
welcomed.

I don't have any more ideas. From the last image you posted it just seems that you are somehow not writing to the depth buffer for some geometry or fragments. You will have to check the statesets for disabling of depth write.

jp



Thank you!

Cheers,
Maxime

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to