SlideShare une entreprise Scribd logo
1  sur  5
Télécharger pour lire hors ligne
Maya tutorial


In this tutorial we will augment a real scene with virtual objects. This tutorial
assumes that you have downloaded the file Maya.zip from the course web page
and extracted it somewhere.


1     Camera calibration
The first step is to calibrate our camera, so that we can set the camera parameters
in Maya. This is done using Matlab and the camera calibration toolbox.

    1. Start Matlab and change the working directory to the location where you
       extracted the files
    2. Add the path to the calibration toolbox (folder TOOLBOX_calib) to the
       path using File->Set Path
    3. Run calib_gui and select ’Standard’
    4. In the calibration GUI click on the button ’Image names’ and enter ’pattern’
       for the basename, then enter ’j’ for jpeg
    5. In the calibration GUI click on the button ’Extract grid corners’
    6. Answer all questions with the default values by pressing enter
    7. Select the corners of the inner 7x5 grid in the first image in the order upper
       left, upper right, lower right, lower left and answer all question by pressing
       enter (see figure 1)
    8. Select the corners of the inner 7x5 grid in the second image in the order
       lower left, upper left, upper right, lower right and answer all question by
       pressing enter (see figure 1)
    9. In the calibration GUI click on the button ’Calibration’. The resulting pixel
       errors should be smaller than one pixel (if you clicked well they should be
       around 0.18)

                                          1
The second step is to find the external camera parameters of the image which we
want to augment. This is also done using the camera calibration toolbox.

  1. In the calibration GUI select ’Comp. Extrinsic’ and enter ’scene’ and ’j’ to
     select the image
  2. Answer all questions by pressing enter and click the corners of the inner 7x5
     grid in the order upper left, upper right, lower right, lower left (see figure 1)
  3. Run createMayaScene(KK,Rc_ext,Tc_ext,’scene.jpg’) to create the MEL-
     script which sets up the scene in Maya. KK are the internal camera param-
     eters, Rc_ext and Tc_ext are the external camera parameters of the camera
     viewing our scene and the last parameter is the name of the image which is
     to be used as the backgound of the scene.




Figure 1: Corner points on pattern1 and pattern2 and the world coordinate system
of the scene

The next steps will be done in Maya.

  1. Start Maya
  2. Go to Window->Settings/Preferences->Preferences: Under Settings set the
     up-axis to z and under Settings->Cameras set the far clip plane to 100000.
     Save the changes
  3. Go to Window->General Editors->Script Editor: Select File->Source Script
     and open the script you just created (setupScene.mel). Close the script edi-
     tor
  4. Change the active camera to camera 1, by selecting Panels->Perspective-
     >camera1 in the view panel
  5. In the view go to View->Camera Attribute Editor and set the far clip plane
     to 10000

                                         2
6. In the view go to View->Image Plane->Image Plane Attributs->imagePlane1
    and set the depth to 9000
 7. Go to Create->Polygon Primitives and disable Interactive Creation
 8. Click somewhere in the view panel and press ’6’ to enable shaded rendering.
    Now the middle of the calibration grid should be gray.
 9. Right click on the plane over the calibration grid and keep the button pressed
10. Select Assign New Material->Lambert
11. On the right in the attribute editor click on the little checkerboard next to
    color and select Checker. The plane should now show a checkerboard pat-
    tern. To make it look like the real calibration grid we have to change some
    settings. In the attribute editor go to the second tab called place2dTexture1.
    Set Repeat UV to 2.5 and 3.5 respectively and Offset to 0.5 and 0.0 respec-
    tively and press enter. Now the checkerboard should look correct.
12. Go to Create->Polygon Primitives->Sphere to create a sphere
13. In the attribute editor go to the polySphere1 tab and set the radius to 20. In
    the pSphere1 tab set the z-value of the translation to 20. The sphere should
    now be lying on the table.
14. Assign a color to the sphere by right clicking and selecting Assign New
    Material->Phong. Set the color in the attribute editor to yellow.
15. Go to Create->CV Curve Tool and draw a curve on the table by setting con-
    trol points. Make sure that the curve also passes behind the book holders.
    Press enter after you set the last point.
16. In the attribute editor set the translation to 20 units in the z-direction
17. In the lower region of the window set the length of the sequence to 1000 (in
    the field which contains 24.00)
18. Select animation from the drop-down menu below the menu-bar. Select
    the sphere and while holding the shift-key select the curve. go to Animate-
    >Motion Paths->Attach to Motion Path. When you click on the play button
    in the lower right hand corner of the window you should see the sphere
    moving on the table. However it is still visible when passing behind the
    book holders.




                                         3
19. Create a construction plane (Create->Construction Plane). Go to plane1 in
    the attribute editor and set the rotation about the x-axis to 90 degrees. Set
    the translation to -200, 110 and 100 respectively and the scaling to 350, 100
    and 1 respectively. Now it should be passing through the middle of the book
    holders.
20. Make the plane live (Modify->Make Live). The plane should turn green and
    you cannot see the bookholders anymore. To change this uncheck Planes in
    the show menu in the view panel.
21. Select Polygons from the drop-down menu below the menu bar. Select
    Mesh->Create Polygon Tool. Press ’4’ to switch to wireframe mode. Follow
    the outline of the bookholders starting with the duck. Before closing the
    polygon we still need to remove the small hole at the back of the duck.
    To do this click the first vertex of the hole while holding the ctrl button.
    Release the ctrl button and set the other vertices normally. Once you set the
    last vertex press enter. Repeat the same procedure for the elephant. Press
    ’6’ to go to the shaded rendering.
22. Assign the background color material to the polygons (Right click and hold,
    Assign New Material->Use Background). You will not see a change in the
    view.
23. Render the scene (Rendering in drop down menu, Render->Render Current
    Frame) and you should only see the sphere without the polygons.
24. Create a ground plane (Create->Polygon Primitives->Plane), covering the
    whole table (set it’s size to 1000x2000). Move it by -1 in the z-direction.
    give it the background material
25. Add an ambient light (Create->Lights->Ambient Light)
26. Add a spot light (Create->Lights->Spot Light). In the attribute editor set
    the intensity to 0.8 and the cutoff angle to 140. Go to the light settings and
    enable depth-map shadows. Set the translation to -200 100 400.
27. Go to the render settings. Select image sequence, avi and set the range of the
    frames to render to 1-1000. Make certain that the render camera is camera1.
28. In the Render menu select Batch Render and wait until the rendering is
    done. (This can take a while).




                                       4
Figure 2: Screenshots of the scene after working steps 4, 11, 14, 16, 18, 19, 21
and 22

                                       5

Contenu connexe

Tendances

Graphical Animation - Lesson 2
Graphical Animation - Lesson 2Graphical Animation - Lesson 2
Graphical Animation - Lesson 2
Jamie Hutt
 

Tendances (20)

Master Cam 9
Master Cam 9Master Cam 9
Master Cam 9
 
NewTek Lightwave 3D: Modifying Lightwave Objects
NewTek Lightwave 3D: Modifying Lightwave ObjectsNewTek Lightwave 3D: Modifying Lightwave Objects
NewTek Lightwave 3D: Modifying Lightwave Objects
 
Rolling The Dice
Rolling The DiceRolling The Dice
Rolling The Dice
 
Poser presentation1
Poser presentation1Poser presentation1
Poser presentation1
 
Motion tween resize
Motion tween resizeMotion tween resize
Motion tween resize
 
NewTek Lightwave 3D: Modeler II
NewTek Lightwave 3D: Modeler IINewTek Lightwave 3D: Modeler II
NewTek Lightwave 3D: Modeler II
 
Lesson 3 motion tween
Lesson 3 motion tweenLesson 3 motion tween
Lesson 3 motion tween
 
Scmad Chapter06
Scmad Chapter06Scmad Chapter06
Scmad Chapter06
 
NewTek Lightwave 3D: Keyframing in Lightwave
NewTek Lightwave 3D: Keyframing in LightwaveNewTek Lightwave 3D: Keyframing in Lightwave
NewTek Lightwave 3D: Keyframing in Lightwave
 
mastercam_full
mastercam_fullmastercam_full
mastercam_full
 
Crazy Photos: An Introduction to GIMP
Crazy Photos: An Introduction to GIMPCrazy Photos: An Introduction to GIMP
Crazy Photos: An Introduction to GIMP
 
Geogebra 9
Geogebra 9Geogebra 9
Geogebra 9
 
Petrlel F 2 seismic display 2018 v1.1
Petrlel F 2 seismic display 2018 v1.1Petrlel F 2 seismic display 2018 v1.1
Petrlel F 2 seismic display 2018 v1.1
 
Power pointlabs quick tutorial
Power pointlabs quick tutorialPower pointlabs quick tutorial
Power pointlabs quick tutorial
 
Graphical Animation - Lesson 2
Graphical Animation - Lesson 2Graphical Animation - Lesson 2
Graphical Animation - Lesson 2
 
Complete Tutorial for 3d Text on Photos
Complete Tutorial for 3d Text on PhotosComplete Tutorial for 3d Text on Photos
Complete Tutorial for 3d Text on Photos
 
3 d autocad_2009
3 d autocad_20093 d autocad_2009
3 d autocad_2009
 
NewTek Lightwave 3D: Learning the Layout
NewTek Lightwave 3D: Learning the LayoutNewTek Lightwave 3D: Learning the Layout
NewTek Lightwave 3D: Learning the Layout
 
AutoCad Basic tutorial
AutoCad Basic tutorialAutoCad Basic tutorial
AutoCad Basic tutorial
 
Owl Clock
Owl ClockOwl Clock
Owl Clock
 

Similaire à Maya

Paths, Masks And Blend Modes
Paths, Masks And Blend ModesPaths, Masks And Blend Modes
Paths, Masks And Blend Modes
Shan
 
Zmorph Dual Head User Manual for Printing
Zmorph Dual Head User Manual for PrintingZmorph Dual Head User Manual for Printing
Zmorph Dual Head User Manual for Printing
Ryan Dunn
 
Fluid Mechanics Project Assignment (Total 15)  Due Dates  .docx
Fluid Mechanics Project Assignment (Total 15)  Due Dates  .docxFluid Mechanics Project Assignment (Total 15)  Due Dates  .docx
Fluid Mechanics Project Assignment (Total 15)  Due Dates  .docx
bryanwest16882
 
SFM Lesson 2
SFM Lesson 2SFM Lesson 2
SFM Lesson 2
TonyC445
 

Similaire à Maya (20)

Paths, Masks And Blend Modes
Paths, Masks And Blend ModesPaths, Masks And Blend Modes
Paths, Masks And Blend Modes
 
Tutorial20
Tutorial20Tutorial20
Tutorial20
 
Ansys iges tutorial
Ansys iges tutorialAnsys iges tutorial
Ansys iges tutorial
 
ETECH_WEEK7-Image-Manipulation-Techniques-1.pdf
ETECH_WEEK7-Image-Manipulation-Techniques-1.pdfETECH_WEEK7-Image-Manipulation-Techniques-1.pdf
ETECH_WEEK7-Image-Manipulation-Techniques-1.pdf
 
Balloons tutorial by rokas petskevicius visualpelican
Balloons tutorial by rokas petskevicius visualpelicanBalloons tutorial by rokas petskevicius visualpelican
Balloons tutorial by rokas petskevicius visualpelican
 
Morgan Campbell Advanced Dtp Notes
Morgan Campbell Advanced Dtp NotesMorgan Campbell Advanced Dtp Notes
Morgan Campbell Advanced Dtp Notes
 
Zmorph Dual Head User Manual for Printing
Zmorph Dual Head User Manual for PrintingZmorph Dual Head User Manual for Printing
Zmorph Dual Head User Manual for Printing
 
Fluid Mechanics Project Assignment (Total 15)  Due Dates  .docx
Fluid Mechanics Project Assignment (Total 15)  Due Dates  .docxFluid Mechanics Project Assignment (Total 15)  Due Dates  .docx
Fluid Mechanics Project Assignment (Total 15)  Due Dates  .docx
 
ANM3D-UWG-2020-12.pptx
ANM3D-UWG-2020-12.pptxANM3D-UWG-2020-12.pptx
ANM3D-UWG-2020-12.pptx
 
Ae tut
Ae tutAe tut
Ae tut
 
Intro to Inventor with MugTree
Intro to Inventor with MugTreeIntro to Inventor with MugTree
Intro to Inventor with MugTree
 
AutoCAD Lab Manual
AutoCAD Lab ManualAutoCAD Lab Manual
AutoCAD Lab Manual
 
3Dimenssion_lessonO_PostProcessingEffects.pptx
3Dimenssion_lessonO_PostProcessingEffects.pptx3Dimenssion_lessonO_PostProcessingEffects.pptx
3Dimenssion_lessonO_PostProcessingEffects.pptx
 
Geoprocessing.pptx
Geoprocessing.pptxGeoprocessing.pptx
Geoprocessing.pptx
 
Tutorial il-orthophoto-dem-neogeo
Tutorial il-orthophoto-dem-neogeoTutorial il-orthophoto-dem-neogeo
Tutorial il-orthophoto-dem-neogeo
 
Adobe Illustrator CS5 Part 2 : Vector Graphic Effects
Adobe Illustrator CS5 Part 2 : Vector Graphic EffectsAdobe Illustrator CS5 Part 2 : Vector Graphic Effects
Adobe Illustrator CS5 Part 2 : Vector Graphic Effects
 
Photoshop Tutorial Clipping path service, Photoshop clipping path. photo clip...
Photoshop Tutorial Clipping path service, Photoshop clipping path. photo clip...Photoshop Tutorial Clipping path service, Photoshop clipping path. photo clip...
Photoshop Tutorial Clipping path service, Photoshop clipping path. photo clip...
 
Animation Chess Game
Animation Chess GameAnimation Chess Game
Animation Chess Game
 
SFM Lesson 2
SFM Lesson 2SFM Lesson 2
SFM Lesson 2
 
waagen-ecard
waagen-ecardwaagen-ecard
waagen-ecard
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Dernier (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 

Maya

  • 1. Maya tutorial In this tutorial we will augment a real scene with virtual objects. This tutorial assumes that you have downloaded the file Maya.zip from the course web page and extracted it somewhere. 1 Camera calibration The first step is to calibrate our camera, so that we can set the camera parameters in Maya. This is done using Matlab and the camera calibration toolbox. 1. Start Matlab and change the working directory to the location where you extracted the files 2. Add the path to the calibration toolbox (folder TOOLBOX_calib) to the path using File->Set Path 3. Run calib_gui and select ’Standard’ 4. In the calibration GUI click on the button ’Image names’ and enter ’pattern’ for the basename, then enter ’j’ for jpeg 5. In the calibration GUI click on the button ’Extract grid corners’ 6. Answer all questions with the default values by pressing enter 7. Select the corners of the inner 7x5 grid in the first image in the order upper left, upper right, lower right, lower left and answer all question by pressing enter (see figure 1) 8. Select the corners of the inner 7x5 grid in the second image in the order lower left, upper left, upper right, lower right and answer all question by pressing enter (see figure 1) 9. In the calibration GUI click on the button ’Calibration’. The resulting pixel errors should be smaller than one pixel (if you clicked well they should be around 0.18) 1
  • 2. The second step is to find the external camera parameters of the image which we want to augment. This is also done using the camera calibration toolbox. 1. In the calibration GUI select ’Comp. Extrinsic’ and enter ’scene’ and ’j’ to select the image 2. Answer all questions by pressing enter and click the corners of the inner 7x5 grid in the order upper left, upper right, lower right, lower left (see figure 1) 3. Run createMayaScene(KK,Rc_ext,Tc_ext,’scene.jpg’) to create the MEL- script which sets up the scene in Maya. KK are the internal camera param- eters, Rc_ext and Tc_ext are the external camera parameters of the camera viewing our scene and the last parameter is the name of the image which is to be used as the backgound of the scene. Figure 1: Corner points on pattern1 and pattern2 and the world coordinate system of the scene The next steps will be done in Maya. 1. Start Maya 2. Go to Window->Settings/Preferences->Preferences: Under Settings set the up-axis to z and under Settings->Cameras set the far clip plane to 100000. Save the changes 3. Go to Window->General Editors->Script Editor: Select File->Source Script and open the script you just created (setupScene.mel). Close the script edi- tor 4. Change the active camera to camera 1, by selecting Panels->Perspective- >camera1 in the view panel 5. In the view go to View->Camera Attribute Editor and set the far clip plane to 10000 2
  • 3. 6. In the view go to View->Image Plane->Image Plane Attributs->imagePlane1 and set the depth to 9000 7. Go to Create->Polygon Primitives and disable Interactive Creation 8. Click somewhere in the view panel and press ’6’ to enable shaded rendering. Now the middle of the calibration grid should be gray. 9. Right click on the plane over the calibration grid and keep the button pressed 10. Select Assign New Material->Lambert 11. On the right in the attribute editor click on the little checkerboard next to color and select Checker. The plane should now show a checkerboard pat- tern. To make it look like the real calibration grid we have to change some settings. In the attribute editor go to the second tab called place2dTexture1. Set Repeat UV to 2.5 and 3.5 respectively and Offset to 0.5 and 0.0 respec- tively and press enter. Now the checkerboard should look correct. 12. Go to Create->Polygon Primitives->Sphere to create a sphere 13. In the attribute editor go to the polySphere1 tab and set the radius to 20. In the pSphere1 tab set the z-value of the translation to 20. The sphere should now be lying on the table. 14. Assign a color to the sphere by right clicking and selecting Assign New Material->Phong. Set the color in the attribute editor to yellow. 15. Go to Create->CV Curve Tool and draw a curve on the table by setting con- trol points. Make sure that the curve also passes behind the book holders. Press enter after you set the last point. 16. In the attribute editor set the translation to 20 units in the z-direction 17. In the lower region of the window set the length of the sequence to 1000 (in the field which contains 24.00) 18. Select animation from the drop-down menu below the menu-bar. Select the sphere and while holding the shift-key select the curve. go to Animate- >Motion Paths->Attach to Motion Path. When you click on the play button in the lower right hand corner of the window you should see the sphere moving on the table. However it is still visible when passing behind the book holders. 3
  • 4. 19. Create a construction plane (Create->Construction Plane). Go to plane1 in the attribute editor and set the rotation about the x-axis to 90 degrees. Set the translation to -200, 110 and 100 respectively and the scaling to 350, 100 and 1 respectively. Now it should be passing through the middle of the book holders. 20. Make the plane live (Modify->Make Live). The plane should turn green and you cannot see the bookholders anymore. To change this uncheck Planes in the show menu in the view panel. 21. Select Polygons from the drop-down menu below the menu bar. Select Mesh->Create Polygon Tool. Press ’4’ to switch to wireframe mode. Follow the outline of the bookholders starting with the duck. Before closing the polygon we still need to remove the small hole at the back of the duck. To do this click the first vertex of the hole while holding the ctrl button. Release the ctrl button and set the other vertices normally. Once you set the last vertex press enter. Repeat the same procedure for the elephant. Press ’6’ to go to the shaded rendering. 22. Assign the background color material to the polygons (Right click and hold, Assign New Material->Use Background). You will not see a change in the view. 23. Render the scene (Rendering in drop down menu, Render->Render Current Frame) and you should only see the sphere without the polygons. 24. Create a ground plane (Create->Polygon Primitives->Plane), covering the whole table (set it’s size to 1000x2000). Move it by -1 in the z-direction. give it the background material 25. Add an ambient light (Create->Lights->Ambient Light) 26. Add a spot light (Create->Lights->Spot Light). In the attribute editor set the intensity to 0.8 and the cutoff angle to 140. Go to the light settings and enable depth-map shadows. Set the translation to -200 100 400. 27. Go to the render settings. Select image sequence, avi and set the range of the frames to render to 1-1000. Make certain that the render camera is camera1. 28. In the Render menu select Batch Render and wait until the rendering is done. (This can take a while). 4
  • 5. Figure 2: Screenshots of the scene after working steps 4, 11, 14, 16, 18, 19, 21 and 22 5