Requesting a feature for the democamera so that one could record angles/origins/follow modes into a file and then use this when rendering. It should be possible to make adjustments to these later as well in case you screw up something when recording the camera path. Should be a good project for new coders :)
it’s not hard, only needs to know few QC things for it
fopen, fgets, fputs, fclose, R_SetView
#is about all one needs for it :P
Edited
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related or that one is blocking others.
Learn more.
To do
User defined file name
Rename functions and variables
Add a line counter to aid any error messages
Parse and run user commands
Flickering
Possibly change the file format to
timelocation(vector),angle(vector)
this will help the code logic but is less readable by humans
The attached file “test_write” works with Afterslime, save it to .xonotic/data/data/
http://paste.debian.net/121632/ fixed the flickering problem. Re-render the camera playback until the time_line > client_time. This could be useful to freeze a scene, but the demo still plays - edit “test_write” by hand.
I’ve tested it, works almost great, but…
There seems to be problems with timing, if the demo has slowmotion commands here and there from server side.
I have to make experiments with this, how to make good demos, with slow motion + camera movement recordings.
C.Brutail wrote:
> I’ve tested it, works almost great, but…
> There seems to be problems with timing, if the demo has slowmotion commands here and there from server side.
> I have to make experiments with this, how to make good demos, with slow motion + camera movement recordings.
Server side slowmo changes aren’t reproduced correctly during demo playback.
Watch a demo when a player calls a timeout (where slowmo is set by the server to like 0.0000001): the demo during the timeout seems to freeze forever. To unfreeze it you need to set a very very high slowmo value for a while: e.g. a timeout of 5 seconds in the demo lasts more than 5 minutes.
So I think the issue is not with this patch, but with the engine; server side slowmo changes are quite rare anyway.
“This video is to demo the work of SpaceMan, who coded demo camera movement recording and playback.
First, you record your demo. After that, with camera_record 1 you can record you freefly camera movement while playing back the demo.
With camera_playback, you can replay the camera movement while playing back a demo.
The point is, that you can make and render complex camera movements with ease while recording the actual demo to ogv files, ready for further editing or uploading to Youtube.”
Can currently be found in ‘debugger/democamera_movement’