Posts

Showing posts from May, 2012

Camera Switcher in Unity - using Animation

Image
Hopefully this might be useful to some others.... I'm still getting to grips with Unity.

This is a simple approach to cut between multiple cameras in Unity using the animation timeline - to help create cinematics / machinima.

1) Create an Empty Gameobject - I named it CamSwitcher

2) Make a new Javascript - I called mine  'CamSwitch' - and place the javascript below into it :

var cam1 : Camera; 
var cam2 : Camera; 
var cam3 : Camera; 


function SwitchCam1() 
{ cam1.enabled = true; cam2.enabled = false; cam3.enabled = false; } 


function SwitchCam2() 
{ cam1.enabled = false; cam2.enabled = true; cam3.enabled = false; } 


function SwitchCam3() 
{ cam1.enabled = false; cam2.enabled = false; cam3.enabled = true; }

follow the logic of the script if you want to add more cameras - for example


var cam4 : Camera;
function SwitchCam4()
{ cam1.enabled = false; cam2.enabled = false; cam3.enabled = false; cam4.enabled = true; }

3) Place the script into the CamSwitcher Object

4) Connect up your Multiple…

Floaty Rock Test

Image
Putting more practice into some Matchmover footage - this was shot on Canon 5d with 50mm lens, - HD film back was approx - 35.8 x 21.38mm for 16:9 ..
Bit much on the foreground blur in maya...  comp done in After Effects.

UV Texture Map Templates

Image
1024 x 1024px Texture Grids, useful for checking UV layout whilst Poly Modelling.
Arrows on image to help visualise orientation of UV Shells

Feel Free to use in your own projects...




Using UV Texture in Context