Hi,
On 13/01/2012 18:37, Chris Denham wrote:
Ah ha,
Another interesting experiment doing the round trip from osg to ive and back.
e.g.
osgconv -O noTexturesInIVEFile cow.osg cow.ive
osgconv cow.ive cow2.osg
cow2.osg has the same problem and cow.ive, and on comparison on cow.osg and
cow2.osg I noticed the image definition has grown an
"unRefImageDataAfterApply TRUE"
I get the same texture problem when I load cow2.osg, and it behaves normally
again when I set the 'unRefImageDataAfterApply' flag to false.
So my guess is that the image data may getting released before the other viewer
instance has finished with it?
Yes, I think so.
See here for changing the unref setting after load:
http://article.gmane.org/gmane.comp.graphics.openscenegraph.user/52034
http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/71893
rgds
jp
Chris Denham
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=44816#44816
_______________________________________________
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.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org