Bug Tracker – Bug 909

demo stepmode rewind

Last modified: 2014-04-04 03:33:03 CDT
Bug 909 - (ARRAY(0x5628ba8)) demo stepmode rewind
(ARRAY(0x5628ba8))
demo stepmode rewind
Status: NEW
Product: Odamex
Classification: Unclassified
Component: Server & Client
0.6.x
All All
: P1 enhancement
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2012-10-13 16:45:26 CDT by JKist3
Modified: 2014-04-04 03:33 CDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JKist3 2012-10-13 16:45:26 CDT
how about having a step -1 feature to move backwards by 1 frame?  This would be real handy.  I tested out zdaemon 1.09 demo player and they let you fast forward and rewind in slow motion, and it was pretty neat.  Are there technical limitations to this approach?  Maybe save the last N number of tics so u can rewind upon a pause for a certain amount...?  When watching a demo it's nice if you see something to be able to pause and rewind it, not press the rewind 20 seconds and have to wait then pause ahead and inch forward approach to view it once like now.
Comment 1 Dr. Sean 2012-10-14 12:39:36 CDT
Rewinding an Odamex netdemo would require saving the state of every actor in the game world for the N most recent tics. That would obviously necessitate huge amounts of memory, essentially providing an "undo history" for actor state changes.

The other alternative would be to treat rewinding by 1 tic as a combination of two actions: skip back to the previous snapshot interval (every 20 seconds) and then run stepmode and step to the previous tic. That can possibly give the desired results though stepping through up to 20 seconds worth of tics every frame when going backwards could be CPU intensive.