Editor 3D Camera

Involved development of the OpenMW construction set.
User avatar
scrawl
Posts: 2152
Joined: 18 Feb 2012, 11:51

Re: Editor 3D Camera

Post by scrawl »

For osg, is there a way to disable animations, particles, and anything else that would be forcing the camera to update every frame?
Yes, you do that by not advancing the viewer's simulationTime.
aesylwinn
Posts: 243
Joined: 14 Dec 2015, 20:30

Re: Editor 3D Camera

Post by aesylwinn »

scrawl wrote:Yes, you do that by not advancing the viewer's simulationTime.
Well, that prevents the animations/particle effects from playing anyway. I guess there might be something else that is causing the scene to be considered dirty.
Perhaps the model needs to be changed to something like this: http://stackoverflow.com/a/10949059
I also tried an external method that would only call a frame update when there was input, but I ran into an issue where stuff loaded in the background wasn't being properly updated. I might be able to make it work if I can check for dirty nodes with a dirty bounds check as described here: https://groups.google.com/forum/#!topic ... hDLyLM7jSg
aesylwinn
Posts: 243
Joined: 14 Dec 2015, 20:30

Re: Editor 3D Camera

Post by aesylwinn »

The feature is coming along. It'll probably take me another day or two. There has been some significant restructuring of where/how input is being handled, though I tried to minimize the changes.
Post Reply