Link to home
Start Free TrialLog in
Avatar of Mr_Fulano
Mr_FulanoFlag for United States of America

asked on

Recording what a camera sees for future playback.

Hi, I have a scene in a Unity 3D game (Windows version using C# as a programming language), which I would like to see the player from multiple angles. I plan to add four other cameras to the scene and focus each of them on the player. So, as the player moves through the scene, I'll be able to see different visual perspectives.

That all of in itself is not difficult. The part I need help with is - how can I make the cameras record the play-through, so I can play them back after the scene is over and so I can watch the different perspectives?

I would need a script of some sort that is added to each camera that does the following as soon as the scene begins:

1). Create a file on the hard drive to capture each of the camera views.
2). Record the video for each camera while the play-through is ongoing.
3). Close the file containing the recorded video for each camera.
4). I would then need a way to play the videos back.

Your help and suggestions would be greatly appreciated.

Thank you,
Fulano
Avatar of Merete
Merete
Flag of Australia image

To achieve this with a script to activate a set amount of cameras I cant know however is normally done with computers attached to motion cameras.
This proceedure in real time is called Bullet Time Shots panoramas, here is how it works to help you better understand the process, it's awesome to watch and fascinating combined with CGI
It is explained here, I have a playlist of these videos in my youtube you can research more using those keywords as it is a specialized training.
The Making of "The Matrix" - What Is Bullet Time?
https://www.youtube.com/watch?v=WDdxMBq2GW8&list=PLuErqyXOtifS4reJrk8-XTfiHV3Pg2ieU&index=1
http://petapixel.com/2015/07/10/camswarm-turns-multiple-phones-into-a-bullet-time-camera-array/
CamSwarm Turns Multiple Phones Into a Bullet-Time Camera Array
http://petapixel.com/2015/07/10/camswarm-turns-multiple-phones-into-a-bullet-time-camera-array/
Bullet Time Lightning
This project uses 10 inexpensive digital cameras to create a composite 3D image. The shot of the lightning coming from the Tesla coil are fantastic.
http://petapixel.com/2015/07/10/camswarm-turns-multiple-phones-into-a-bullet-time-camera-array/
For animation/games you may have better results in places where games are written such as CGnetworks, Steam,  it would be in the modding/ programming and scripting and not freely available possibly as a specialized field.
Adobe Maya and Game programs may have these tools inbuilt.
How to implement “bullet time” in a multiplayer game?
http://gamedev.stackexchange.com/questions/19819/how-to-implement-bullet-time-in-a-multiplayer-game
Wiki-Bullet time
Bullet time (also known as adrenaline time, focus time, frozen time, the big freeze, dead time, flow motion, slowing-your-roll, "Dead-Eye" or time slice) is a visual effect or visual impression of detaching the time and space of a camera (or viewer) from that of its visible subject.
https://en.wikipedia.org/wiki/Bullet_time
Avatar of Mr_Fulano

ASKER

Hi Merete, I think you understand what I want to do, but I want to do it to the "Player" within a game, not to an actual person or object in real life.

Thanks,
Fulano
ASKER CERTIFIED SOLUTION
Avatar of Merete
Merete
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you Merete, you provided A LOT of very valuable information. I really appreciate your help.
Thankyou Mr_Fulano glad to know it helped if need further assistance please ask away.
Regards Merete