Hi, On Sat, 2009-06-27 at 09:36 +0800, Gerrit Voß wrote: > Hi, > > On Fri, 2009-06-26 at 20:17 -0500, Carsten Neumann wrote: > > Hi Gerrit, > > > > Gerrit Voß wrote: > > > On Fri, 2009-06-26 at 15:55 -0500, Carsten Neumann wrote: > > >> no, something broke badly inside OpenSG :( I'm looking into it ATM. > > >> This example used to work fine (after all it is close to being the most > > >> simple MT example one can imagine). > > > > > > the only issue I see is that you initially sync one circle > > > App -> Anim -> App. And that was always a thorny issue which > > > should be avoided. > > > > hm, does that apply although it does an applyAndClear() when syncing App > > -> Anim? > > The problems is only the App changelist is cleared. The Anim changelist > stays full. Just put a animationThread->getChangeList()->clear(); > before the loop and the torus is spinning ;). I'm currently trying > to find a good guess what is wrong ;)
ok, the guess was close enough. The problem is the window size is not updated correctly. What happens is : sync app -> anim : app : window size 0/0 -> anim window size 0/0 app reshape : app : window size 300/300 | anim window size 0/0 sync anim -> app : app : window size 0/0 | anim window size 0/0 render. if you resize the window now the torus is back without the clear. And so we are back at how transitive the changes are kept over the sync. kind regards, gerrit ------------------------------------------------------------------------------ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
