Horde3D
http://www.horde3d.org/forums/

Recording horde
http://www.horde3d.org/forums/viewtopic.php?f=1&t=1258
Page 1 of 1

Author:  necubi [ 25.09.2010, 23:33 ]
Post subject:  Recording horde

I'm trying to find a way to run a horde application non-interactively, but I need to a way to record the output for later viewing. Has anybody solved this problem before and have some advice?

Thanks.

Author:  swiftcoder [ 26.09.2010, 00:14 ]
Post subject:  Re: Recording horde

Running non-interactively is purely a feature of your simulation code. I would generally advocate designing your application so that it can take a sequence of time-based events from a file, as an alternative to user input.

As for recording the result for later, any screen capture software would work - try FRAPS if you are on Windows. It would also be possible to capture/encode/record in your application itself, but this is a fair amount of work.

Author:  zoombapup [ 27.09.2010, 22:41 ]
Post subject:  Re: Recording horde

Use events to update your code with. Fix the timestep to something regular and then store all events (for this its better that they go through a central event manager). When you play back the events and use the same timestep you should get exactly the same output as long as you have everything properly event-driven.

I use librevel for storing individual frames of output into an AVI file on the fly.

Dont forget your fixed timestep doesnt have to be "realtime" so you can literally take all day per frame if you like, as long as it is fixed.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/