Hi,
did you call Thread::getCurrentChangeList()->commitChanges();
Andreas
Hi,
currently I'm porting my application to OpenSG 2.0 alpha. Everything went
smooth so far,
and I see my render window and a nice gradient background. :)
But I have a problem related to osg::Changelist.
There are two threads, one on aspect 0 (render) and another on aspect 1 (work).
The
scenegraph is built up on aspect 1. I've dumped the graph in this aspect and it
looks
OK.
The sceneroot is handed over from aspect 1 to 0 for rendering. Changelist are
applied
from aspect 1 to 0 to sync the data.
However, the core of the sceneroot node is still NULL after applying the
changelist. If
I do a manual osg::executeSync(...) on the sceneroot, the node core is updated,
but
of course (?) not the rest of the scenegraph.
Is there anything else I have to do in order to make the change list work?
Both threads are properly initialized using osg::Thread::initialize(Uint32
aspectID).
Do I have to call something like osg::ChangeList::setReadWriteDefault() in
OpenSG 2.0 as well?
Moritz
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users