Thursday, October 23, 2014

Introduction to Editing Video

Hello Students,

Today we will begin our introduction to video editing with Adobe Premiere. You will be editing pre-shot footage to create a fun and compelling promotional tourism spot for the city of San Francisco.

Imagine yourself in the Directors Seat... it's time to make your vision happen!

Part 1 - Learning Adobe Premiere:
  • Launch Adobe Premiere
  • Watch videos 1 through 13 in the "Learning Premiere Pro" section of the Adobe TV website
  • Practice the steps that you can as you watch the videos
  • Find a sample video file to practice editing, color correction, outputting, etc...
  • If you can watch all 13 videos you are on your way to being a video editing pro! When complete watch the other videos in that section to learn how to process and distribute your movie files



Part 2 - Editing a Promotional Tourism Video for the City of San Francisco

Project Concept: The City of San Francisco has hired you to edit a promotional tourism video. They have provided you pre-shot footage and your job is to make it sing! Your commercial will play on local television stations coast to coast, so it should have universal appeal. Your commercial should promote the unique sights that the city has to offer.
  • Your final video file should be exactly 30 seconds long
  • Use music that fits the energy of your video
  • Edit your video cuts to be timed with the music
  • There should be an edit in the video footage every 2 to 5 seconds
  • Make sure your sequence settings in Premiere match the specifications of your source video
  • Use color correction to enhance the footage
  • Use video transitions to keep the video compelling and interesting, but be careful not to overuse them or repeat them too many times
  • Create text titles to create a "call to action" at the end of your video, something like "Visit beautiful San Francisco today!"
  • Add 3 seconds of blank video to the beginning and end of the video before exporting with your in and out markers
  • Have fun!

- Mr.Wilson

Monday, October 20, 2014

Experiment With Maya Physics

Hello Students, 
Your next project is an exploration of Maya Physics. Maya uses a soft/rigid body system and different fields that can modify the interactions of these simulated objects, these fields are things like gravity and wind.... 

Maya Physics Experiment:
Your assignment is to follow the simple tutorial below, then create a fun physics experiment and then render it. Don't get too elaborate or your computer will take weeks to complete the calculations in your simulation. Use all the skills you have developed up to now to set up your 3D file with a proper project folder, render settings, materials, image based lighting etc....

Part 1: Basic Physics Simulation

  1. Launch maya and make a new file
  2. Give your timeline at least 500 frames and zoom out the timeline so all frames are visible in the timeline
  3. Create a cube and shape it into a flat  surface like a table
  4. Create another cube, along with a sphere and a third shape of your choice
  5. Arrange the new shapes in a column that is positioned over your first flat table shape that you made
  6. Select the table shape and press down on the spacebar to bring up your marking menu, select "Soft/Rigid Bodies" and choose "Create Passive Rigid Body"
  7. Now Select the column of objects, the cube, sphere and third object of your choice and then press the spacebar to bring up your marking menu again and choose "Soft/Rigid Bodies" and select "Create Active Rigid Body"
  8. With your 3 objects still selected go back to your marking menu... this time select "Fields" and choose "Gravity"
  9. Press the play button to see your objects fall from the gravity and bounce on the tabletop
  10. Congratulations! You just made a physics simulation in 3D!


Part 2: Make Something Awesome
With a little ingenuity and some basic knowledge you can make a really cool simulation, try using more shapes or different types of platforms and passive solid bodies for interesting results. You can give passive objects a pivot point so they spin when hit. You can add a few keyframes to an active rigid body to launch it in a certain direction.  Here are some ideas you can do with just basic knowledge:


  • Make a wheel or sphere roll down a ramp and into a jump
  • Make a wheel or sphere roll on a track
  • Make an obstacle course for a sphere to roll down
  • Make bowling pins and knock them down with a sphere
  • Make a brick wall and knock it over
  • Make a tower of bricks and blow it over with a wind field

Part 3: Render Your Simulation
  • Once your simulation is perfect make some materials for your objects, make some shiny, some glassy and some have a matte surface
  • Set up a project folder for this simulation file, make sure you create the file directory first then "set" the project to that new directory
  • Turn on Mental Ray and load up your best settings, use an image based lighting setup to add some good realism to your scene
  • Render your scene and turn it in as a video file to mad max when it is ready


Tuesday, October 14, 2014

How To Use Set Up a Project for Rendering in MentalRay and use Image Based Lighting

Hello Students,
Image based lighting is a powerful method for adding realism to your 3D scene. Follow the instructions below to set your file up for image based lighting. You will need to have Mental Ray enabled for this to work in Maya.

Step 1: Load Mental Ray

  • Open up your Maya file and go to Window Menu / Settings and Preferences / Plug-in Manager
  • Scroll down in the Plug-In Manager and find Mayatomray.bundle then click load/auto-load and close

Plug-In manager in maya

Load Mayatomray.bundle to enable Mental Ray

Step 2: Set Up Your Project Folder

  • Go to File Menu / Project Window
  • Click New and Navigate to your Project Folder (you should have this already created)
  • Click Accept
  • Go to your project folder through the finder and confirm that the folder structure was created

Project Window in Maya

Your project directory should show all these folders and files
Step 3: Set Up Image Based Lighting

  • Search online for HDR Probe or go to this link and download an image probe that is suitable for your scene
  • Place your HDR Probe or Enviroball Image into the Source Images folder of your Maya Project Directory
  • In Maya open your Render Settings by going to Window Menu / Render Editors / Render Settings
  • Go to the Indirect Lighting tab and click the Create button next to Image Based Lighting
  • An Attributes Window will open for your Image Based Lightning node, click on the folder next to the File Name area and navigate to your Source Images folder and select your HDR Probe
  • In the same Attribute Window scroll down to Render Stats and uncheck the option for Primary Visibilty, this will make your Probe lighting show up in reflections but not in the background of your rendered images
  • Your should see an Envirosphere in your maya scene, create a test render to see it interacting in the reflections on your objects

HDR Probe courtesy of Paul Debevec

Maya's view window with an Image Based Lighting setup
3D Objects rendered with Image Based Lighting in Maya, no actual lights were used in this scene



Sunday, October 5, 2014

Match Moving with Maya

Hello Students,
Your next project is an exercise in Match Moving. You will shoot an appropriate video clip, use a program to analyze it for motion tracking data, then use that data to insert a 3D object into your scene seamlessly.

Match Moving Project:
In cinematography, Match Moving is a technique that is widely used to insert both 2d and 3d computer generated images into live action footage. This ensures that the inserted CGI has the correct position, scale and orientation relative to the live action motion. This is also described as motion tracking or camera solving. The technology is essentially an automated method for rotoscoping (adding CGI to live action frame by frame)  and photogrammetry (creating accurate measurements from photographic imagery).

For this project you will need to shoot a short piece of video to use but make sure you shoot video footage that can be easily analyzed and is appropriate for the visual effect you are trying to create. You will then use Autodesk's Match Mover program to track points in your video, Match Mover can then export a Maya file, open that file and you will see an animated camera to use for setting up your 3D objects. Render out the 3D layer and merge it with your original video with Adobe After Effects. Follow the steps below but have a plan of action before you begin for best results.

Step 1: Shoot Your Video
Before you shoot your video you need to have a plan of action, what visual effect are you trying to create? This technique works best when the camera motion is not too frantic, camera should be steady and smooth, and the scene should have good points for the tracking software to use. With this technique you can create things like a ufo or spaceship flying overhead, or add an element to a scene such as adding a coffee cup to a desk or table. Sometimes this method is used to add a text title into a scene which has a cool 3D effect. Whatever you concept is make sure you plan it before shooting your video. Make sure your clip isn't too long, 10 to 30 seconds is plenty, the longer the video clip the more 3D rendering must be completed, which can be time consuming.

Step 2: Prep Video For Tracking

  • Open After Effects and import your video
  • Create a composition for your video that matches the video resolution (720x1080, etc)
  • Trim your video with the in and out markers
  • Select Make Movie from the Composition menu
  • In the Render Queue change the Output Module setting to PNG Sequence
  • Click the file name next to "Output To:" and create a new file called "video_seq" in your project folder, this way your image sequence is in a folder by itself when exported
  • Click the Render button and check the results, you should now have a PNG file sequence of your video, this is what the motion tracking software needs to complete the analysis
  • Save your AE file to your work folder for use later

Maya Match Mover analyzing an image sequence

Step 3: Create Your Motion Track

  • Open your Applications Folder and locate the Autodesk Folder, open it and Launch the Match Mover program
  • From the File Menu choose "Load Sequence" and navigate the program to your "video_seq" folder. Double click on the first image in your sequence and it will load into the program timeline
  • From the 2D tracking menu choose Automatic Tracking and click Run, the program will now create tracking points and analyze your sequence frame by frame, this can take 2-10 minutes
  • Green track lines are good tracks, yellow are fair to poor track points and red are bad track points. If you have too many yellow and red tracks your video isn't good enough, try reshooting and make sure there are distinct points in your scene for the tracking software, remake your sequence and try again
  • If your track is good you will see mostly green and some yellow tracks, play the track back to make sure it looks good
  • Under the File Menu choose Export, select Maya as the file format and export the file to your work folder  
Virtual tracked camera view in Maya, green lines are tracking points

Step 4: Create 3D Scene with Tracked Camera
  • Open your Maya file that you exported from Match Mover. 
  • In your view window click on Panels, then Perspective and select rzCamera1... this should change your view to your tracked camera
  • Click the play button to see it move, if you have too many tracking points you can turn off their visibility by selecting Show in the view panel and deselecting "locators"
  • Add a 3D object to your scene, something simple just to test placement, click the render button to see the results. Create a few more objects or model your spaceship, coffee cup or 3D type that you want to use in your scene
  • Do a few test renders to make sure it looks good, when you are ready to render set up your rendering options(window/render editors/render settings) and create your 3D project directory(file/set project) in your work folder. Render your 3D frames, make sure to set the Image plane of rzCamera1 to a display mode of "none" before rendering


Step 5: Merge 3D and Live Action Together
  • Open up your AE file that you saved earlier
  • Import your newly rendered 3D image sequence into AE
  • Add your 3D sequence on top of your video 
  • Click the RAM Preview button to see your animation
  • Consider any enhancements you can make such as depth of field effect, color matching, masking, etc. 
  • Render out an MP4 video of your project and turn it into Mad Max when complete!




Monday, September 29, 2014

The Cornell Box

Hello Students,
For this project you will be getting more familiar with the workflow and methods in using Autdodesk's Maya to create a 3D scene with objects, lighting, a camera and textures. You will then render this scene and adjust quality, then render an animation to learn the basics of keyframing and render settings as well.

Cornell Box Project: Lights, Camera, Action!

History of the Cornell Box: The Cornell Program of Computer Graphics has become best known for its research on physically based rendering. They believe that computer graphic simulations will never become predictive of reality unless we correctly model the physics of light reflection and energy propagation within physical environments. The Cornell Box experiments have come to symbolize our approach to physically based rendering, it is a simply physical environment for which they have measured lighting, geometry and material reflectance properties. Digital, or synthetic images of this environment are created and compared to confirm accuracy of our simulations with 3D software.

A photograph of the original physical Cornell Box.
For this project you will create a scene to simulate the Cornell Box. You will create an environment, objects, textures, a light source and explore the rendering software available in Maya to try and recreate the photo we see above.

A Cornell Box created by Seth Wilson using Maya. This scene contains the famous Utah Teapot. Textures are made with blinn, lambert, phong, the light is a point light using depth map shadows, the scene was rendered with Mental Ray
Cornell Box Project Part 1: Creating The Scene
  1. Open Maya and create a new scene
  2. Create a cube that is perfectly square, turn on Component Selection and delete the front face of the cube so you have a box
  3. Create 2 more cubes and scale/stretch and move them into position to act as your pedestals in the scene
  4. Create a cylinder, sphere, triange or cone and other primitive objects and arrange them in your scene as above using the move and scale tools
  5. Create a cube and flatten it with the scale tool, position it on the roof of your box to act as a "light" later on
  6. Open your Hypershade window (Window Menu/Rendering Editors/Hypershade) and create 2 materials using the Lambert material, make one have a red color and one green. Double click the material to see the material settings
  7. Select your box and turn on Component Selection, select the right face inside the box and apply your red Lamber material, then select the other side and apply the green Lambert material. Select the face first, then right-click on your Material and choose "Assign Material to Selection" to apply it to that face
  8. Create a point light and move it to the top of the inside of your box using the move tool. Turn on "Use All Lights" in your view options to see it affect your scene
  9. Render your scene and check the quality, if your light is illuminating the scene your are doing great!
  10. Close your Render Window
  11. Open your Hypershade window again and create different materials for each of the objects in your scene, try a blinn, a lambert, a phong and try creating a 2D texture such as a checkerboard patter
  12. Select an object first, then right-click on your Material and choose "Assign Material to Selection" to apply it to that object
  13. To make your roof light cube glow, create a blinn material and set it to have a white color, set the illumination to half way to make the object bright, scroll down to the Special Effects section of the blinn material and set the Glow Intensity to 0.010 and apply the blinn to your roof light cube
  14. Under the Create menu, create a Camera
  15. Change your view point to see through your camera, it will be called Camera1 and it is under the Perspective submenu in the Panel menu of your view window
  16. Center your camera to view your scene straight on
  17. Click the render button to see what you get! Compare with your classmates results


Cornell Box Project Part 2: Render Settings

  1. Your scene may not look like mine yet, that is because we must change some render settings for best results. Go to the Window Menu and under Rendering Editors choose Render Settings and you will see the Render Setting Dialog Box
  2. Under the "Common" tab scroll down to Image Size and set it to 1K square, this will make your render square, notice there are other settings for different resolutions, such as common HD video and film dimensions
  3. On the top of the dialog box, there is a pull-down menu next to the text "Render Using", change the pull down menu to Mental Ray, now there are new tabs available to peruse
  4. Under the Quality Tab choose Final Gather, open up the Raytracing section and set reflections and refractions to 10, Max Trace Depth to 20, Shadows to 2 and Blur Limits to 1
  5. Under Features make sure that Global Illumination, Raytracing, Final Gathering, Shadows are all checked on, along with the other defaults
  6. Under the Indirect Lighting tab make sure Global Illumination is checked on, set Accuracy to 500
  7. Under the Indirect Lighting tab make sure Final Gathering is Check on, Accuracy set to 1024, Point Density to 1.00
  8. Under the Indirect Lighting tab, open Final Gathering Map, set Rebuild to On
  9. Its a good idea to save these render settings as a Preset so you can call them up again later for other projects
  10. Now close the Render Settings, save your file
  11. Click the Render button and see what kind of results you get, there should be a serious improvement over the previous render
  12. Save your render as an image from the Render window to look at later so you can lean back and admire your hard work!



Cornell Box Project Part 3: Animate Your Camera

  1. Spend some time fine tuning your render and scene to make sure it looks it's best, adjust lights, textures and positioning before proceeding
  2. Bring up your camera view and center it on your box with the camera move tools
  3. In your time line enter 60 frames into the duration field and drag your time slider out so all frames are visible in your timeline
  4. On frame 1, with your camera selected (you can select it by clicking on it in the outliner or another view window) press the "S" key to create a keyframe. A red line will appear on your timeline to show that a keyframe has been created
  5. Slide your time line down to frame 60 and then use the camera move tools to zoom your camera into your scene, add a slight pan to your camera move as well to add a little dimension.
  6. With the camera still selected press the "S" key to make a second keyframe on your timeline
  7. Press the play button to preview your camera move and adjust if needed, you should have a nice slow movement like the one above
Cornell Box Project Part 4: Set Up Your Project Folder

  1. Rendering an animation requires setting up a project folder which contains your maya file and a set of folders for containing all the required materials, files and assets in a maya project. Your project may not utilize these resources but maya needs this file/folder structure anyway and it is not possible to render animated frames without them
  2. Close Maya and make a new project folder on your computer, place your cornell box maya file inside it and open the file by double-clicking on it.
  3. After your file is open go to the File Menu / Projects / New and your will see the project set up dialog box
  4. In the Name Field type in a name for your project, this should be something like CornellBox_Project
  5. Verify that the location is correct, click browse and navigate to your project folder if needed
  6. On the bottom of the dialog box, click Use Defaults and you will see the folders names being created
  7. Click Accept to complete
Cornell Box Project Part 5: Render Your Animation

  1. With your maya file still open, go to the Window Menu / Rendering Editors / Render Settings
  2. In the Common Tab set up your options for your animation. under File Output set the Frame/Animation ext to name#.ext
  3. Set Image Format to Maya IFF
  4. Scroll down to Frame Range and enter your start and end frames, start should be set to 1 and end should be set to 60
  5. Scroll down and set Renderable Camera to Camera1, your animated camera
  6. Choose your image size from the preset pull down menu, I used a 1K Square image for my own example above
  7. Close the Render Settings window
  8. Press and hold the Space Bar to bring up the Maya Marker Menu, click on the Render Menu and choose Batch Render, Maya will now begin to render your animation, this may take awhile depending on how long it takes to render each frame
  9. When the render is done maya will give a message that says Render Completed in the Mel Script window
  10. When your render is done open your project folder and look in the images folder to see your frames
  11. Open the Fcheck program (located in the autodesk/maya folder in your applications folder) and load the IFF file sequence you just created to check for quality
  12. You may use Fcheck to export a quicktime file, or you can use a program like After Effects to create a video file from your animated sequence
  13. Turn in a quicktime file of your animation and pat yourself on the back! Woo!

Saturday, September 27, 2014

Getting Oriented to the 3D World of Maya

Hello Students,
Today we begin a new project in using a 3D program to create computer generated imagery. We will be using Autodesk's Maya, a cutting edge program widely used in the entertainment industry. We will begin with the basics and move on to more complex projects such as creating 3D models, and adding lights, textures and cameras and animating them and move on to more complex tasks such as merging video and 3D together with motion tracking.

Maya Basics:
Find and launch Maya on your computer, then open each of the links below if safari. Read through each page of the 3 lessons below and try out the steps for your self in Maya. These lessons will teach you how to use the Maya interface, how to create and manipulate objects and how to control your objects and your view of your objects. Create something with the skills you develop here and save the file as "mayabasics_yourname.ma" and copy it to the external drive to turn it in.

Link: Getting Started with Maya

Link: Creating and Manipulating Objects


Link: Viewing and Controlling your 3D Scene


Thursday, September 18, 2014

Parallax Effect (Aka: Ken Burns Effect) Project

Hello Students,
AE has some amazing capabilities such as the ability to animate in a 3D space using 2D objects. This method is referred to as 2.5D. This method was made popular by the famous documentarian Ken Burns. The same technique is also referred to as a Parralax effect, which is a technique that shows objects that move against each other from the foreground to the background to create an illusion of depth. This is used in cinema, cartoons, video games and can even be created using HTML5 to add an creative and eye catching feature to websites.



Parallax Project (Aka: Ken Burns Project)


  • Find or take a photograph that you can animate using the 2.5D/Parallax method, this photo should be high resolution, include good amounts of detail and have a good balance of foreground and background, as a rule your photo should have at least twice the resolution of your composition
  • Open your photo in photoshop and create layers for your animation, use selection tools to isolate your foreground subject from the background. If you take your own photo make sure to take a version with no subject so you have a clean background to use and you can skip the next step
  • On the background layer in photoshop use the "fill with content aware" and touch up area with the clone tool where you need to cover up
  • Save your photo as a Photoshop document with your layers ready and import it into After Effects
  • Make sure to click "import as composition" to preserve your layers for use in AE
  • Create a new composition in AE for your project
  • Open your PSD composition and Copy/Paste the layers into your main composition
  • Enable the 3D button for all layers
  • Create a 3D camera for your scene
  • Use the camera manipulator tool to zoom into your Photograph layers and frame your "shot"
  • Using the move tool, select your subject layer and drag it on the Z axis towards the camera a little bit
  • Move the background away and scale up if needed
  • Use the camera manipulator tool to explore the range of motion that looks good, create a set of keyframes for the camera position, then move the playback head to the end of your composition and move your camera inwards and to the right or left in a subtle movement
  • Preview your animation to get the camera/layer position just right
  • Use Ease-In on your last set of keyframes to slow down the motion
  • Add a vignette, tint, depth-of-field effect or other enhancements for full credit
  • Having trouble? Try googling "parallax effect in AE" and look for a tutorial video, there are some very good and easy to follow tutorials online
Due on tuesday, have fun! - Mr.W