verdesgabika / vdrift-ogre

Automatically exported from code.google.com/p/vdrift-ogre
0 stars 0 forks source link

Replays, Ghost #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Possibility to save whole lap run and to play saved replays on new GUI tab: 
Replays.
Best time would save the replay for Ghost run (alpha car driving when playing). 
Need gui checkbox to enable/disable it).
My approach is to save all needed data each VDrift (not render) frame. (Not to 
simulate each time from eg. pressed keys - get rid of car sim.params).
Need to save car & wheels pos'es & rot's, (also sound volumes, particle amouts 
and Hud info values later). But as computed, whole replay would be in memory 
and would need 700kB for each minute.
On one thread game (like now) would be wrong with low fps - also resulting low 
fps in ghost run.

Original issue reported on code.google.com by Cry...@gmail.com on 21 Mar 2011 at 7:41

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Seems quite functional right now, play/pause, forward, backward and seeking 
works.
Gui shows some info track/car/time etc.
For implementation info: one frame is 280 Bytes, at 160 Fps (game sim) it gives 
2,7 MB for 1 min replay.
Is quite high but this way it works even with no interpolation (which could be 
tricky for camera).
Saving more than 1 car isn't done yet.

Original comment by Cry...@gmail.com on 3 May 2011 at 4:31

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Multi car replay is done. But only one car has sound.
Ghost is working.
Need some smaller fixes and testing.

Original comment by Cry...@gmail.com on 8 Jun 2011 at 8:40

GoogleCodeExporter commented 8 years ago
Now only needs Alpha car material and a Gui checkbox option for it.

Original comment by Cry...@gmail.com on 31 Jul 2011 at 3:49

GoogleCodeExporter commented 8 years ago
Done. Closing

Original comment by Cry...@gmail.com on 10 Sep 2011 at 3:07