Demo camera system for TGEA 1.8.1/T3D
by Matt T · in Torque 3D Professional · 02/11/2016 (8:13 pm) · 6 replies
Hello there, I am happy to say version 1.0 of LODC or 'Legions Overdrive Demo Camera' has been released! I have been working on this for two years on and off and its been quite a ride. Legions has open scripts.
I think some of the pros around here will be quite tickled that this is 95% torquescript. Even the freecam camera movement and spline math which is a '7D piecewise cublic polynomial' . Kind of made me respect just how much can be done with TS.
The real gem being offered here is the camera math. It accepts keyframes and times, builds a path stored in a scriptObject and spits back the smoothest camera movement you have ever seen with a sample function. I think the rest of this system is pretty neat too though, if anyone would be interested in a resource detailing the very few engine things that need to be changed during demo playback, let me know.
https://www.dropbox.com/s/i15upcnj51lteuh/LODC%201.0.rar?dl=0 <- This is not drag and drop magic. Its very much ingrained with Legions Overdrive right now. setupCamPath(<a string of keyframes>) and getCamPoint(<a time in MS>) are the two functions to look at for a ridiculously good pathcam in a bottle.
The LODC demo addon provides the following addition to legions overdrive demo playback:
-Access to a list of players in a demo for quickly following or finding them
-A free camera to look around where you like.
-The ability to pause a demo and continue to look around and have Legions scripts contiue to run.
-Create bookmarks during a game to return to in a demo(v2 of the bookmarks system)
-Greately sped up fast forwarding from the old bookmarks system(uses advanceTime exposed from the engine now)
-Added a 'rewind' which is not instant but gets you back to a move in a short time to check your path.
-Create any number of keyframed camera moves. The solution for the path is -very- smooth.
-A cleaner UI for recording
-Names for every player
I think some of the pros around here will be quite tickled that this is 95% torquescript. Even the freecam camera movement and spline math which is a '7D piecewise cublic polynomial' . Kind of made me respect just how much can be done with TS.
The real gem being offered here is the camera math. It accepts keyframes and times, builds a path stored in a scriptObject and spits back the smoothest camera movement you have ever seen with a sample function. I think the rest of this system is pretty neat too though, if anyone would be interested in a resource detailing the very few engine things that need to be changed during demo playback, let me know.
https://www.dropbox.com/s/i15upcnj51lteuh/LODC%201.0.rar?dl=0 <- This is not drag and drop magic. Its very much ingrained with Legions Overdrive right now. setupCamPath(<a string of keyframes>) and getCamPoint(<a time in MS>) are the two functions to look at for a ridiculously good pathcam in a bottle.
The LODC demo addon provides the following addition to legions overdrive demo playback:
-Access to a list of players in a demo for quickly following or finding them
-A free camera to look around where you like.
-The ability to pause a demo and continue to look around and have Legions scripts contiue to run.
-Create bookmarks during a game to return to in a demo(v2 of the bookmarks system)
-Greately sped up fast forwarding from the old bookmarks system(uses advanceTime exposed from the engine now)
-Added a 'rewind' which is not instant but gets you back to a move in a short time to check your path.
-Create any number of keyframed camera moves. The solution for the path is -very- smooth.
-A cleaner UI for recording
-Names for every player
About the author
Lead Developer - Legions Overdrive www.legionsoverdrive.com
#2
02/11/2016 (9:21 pm)
Please let me know if need help in getting the word out. I can promote it from other means through my channels (this will be always free). I am specifically trying to promote and support Torque developers as a way of giving back to the community. I hope the best for you!
#5
02/12/2016 (4:08 pm)
@Michael Perry, I will send you an email about it.
#6
05/09/2016 (8:53 am)
Very nice!! good work dude!
Torque Owner Nathan Martin
TRON 2001 Network