Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: qholmes on July 22, 2011, 12:23:02 PM

Title: Screen Shot camera Cut scene
Post by: qholmes on July 22, 2011, 12:23:02 PM
Has anyone done a camera switch by doing a screen grab and then using it on plane or GUI object to move it out of the way.. And then either reveal the new camera or bring in the new camera in a similar way?

Was just going to give it a try but was wondering if there might be some hints from anyone.

Q
Title: Re: Screen Shot camera Cut scene
Post by: qholmes on July 22, 2011, 05:29:32 PM
Could i do a TakeScreenShot and then DrawTexture to draw that captured image? If i can save to a local folder that is referenced to the project folder and then just load that same file all the time? Does that make any sense? Not sure i can do that.... hmmm what about a web viewer with that? probably not.

Must be a way to do it with a buffer or something.

Q
Title: Re: Screen Shot camera Cut scene
Post by: Proton on July 22, 2011, 06:58:38 PM
Two methods I can think of:

1. Render Texture (Might be Unity Pro only, not sure)
http://unity3d.com/support/documentation/Components/class-RenderTexture.html

2. Clipping plane on Cameras
http://unity3d.com/support/documentation/Components/class-Camera.html
Animate the Normalized View Port Rect
Make sure the camera you want to appear on top has a higher depth
Only have the Audio Listener enabled on one of the cameras at a time