Iris2.de
http://iris2.de/forum/

razor packetvideo import / playback
http://iris2.de/forum/viewtopic.php?f=15&t=1301
Page 1 of 1

Author:  SiENcE [ Tue Dec 02, 2008 1:36 pm ]
Post subject:  razor packetvideo import / playback

according to this (http://schattenkind.net/blog/?p=82) new feature i have a request :-).

is it also possible to record also the cam position and view-vector of our 3d mode?

it would be fine to record a video and then playback it and during the playback i move the cam and record this cam-movements (and viewvector) in sync with the playback razor video.

after this i could merge the cam-movements to a file and play it together with the razor video file.

if the recorded format (xml?) is not too difficult, i can do the merging or snipping via texteditor.

Author:  ghoulsblade [ Tue Dec 02, 2008 5:14 pm ]
Post subject: 

there already was a IRIS-PACKETVIDEO system, independent from razor-pv. The blogpost is about that it is now also possible to import and play razor packetvideos as well.

We could add cam infos to the iris packetvideo format, lua/lib.packetvideo.lua is the code, just add a new info type. It's a bit tricky as you'd need to interpolate cam positions somehow during playback. I'd suggest capturing the cam pos & orientation every 500 msec or so. You can interpolate orientations (optionally quadrically smooth) by using ogre quaternion "slerp" functions.
The format is binary for improved recording speed, but it's not very difficult to add new message types.
Please keep cam recording optional, due to filesize.
Please keep cam pos forcing during playback optional too.

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