DirtyType mechanism...

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

DirtyType mechanism...

ThomasR
Hi,

Hi,

attachChild, detachChild doesn't seem to change the the associated Dirty state at, above or below in the scene graph. I'm hoping a runner thread can avoid the renderer.draw() if the scene is clean. It does seem to work for DirtyType.Transform if the Node is part of a MouseControl. What am I missing?

Are there any restrictions on who (Threads) can call Updater.updateFrame()?

Tom
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: DirtyType mechanism...

gouessej
Administrator
Hi

There is no such restriction but I'm not sure that calling Updater.updateFrame() on several threads is a good idea. I'll investigate concerning the dirty state.
Julien Gouesse | Personal blog | Website
Loading...