Editor 3D Camera

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

Re: Editor 3D Camera

Post by scrawl » 08 Mar 2016, 11:09

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: 231
Joined: 14 Dec 2015, 20:30

Re: Editor 3D Camera

Post by aesylwinn » 08 Mar 2016, 18:44

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: 231
Joined: 14 Dec 2015, 20:30

Re: Editor 3D Camera

Post by aesylwinn » 10 Mar 2016, 09:17

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

Who is online

Users browsing this forum: No registered users and 1 guest