User Tools

Site Tools


public:t-vien-09-1:lab_8_materials

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
public:t-vien-09-1:lab_8_materials [2009/03/12 11:23] – created hannespublic:t-vien-09-1:lab_8_materials [2024/04/29 13:33] (current) – external edit 127.0.0.1
Line 7: Line 7:
  
   * You need to have [[http://www.blender.org/download/get-blender/|Blender]] installed on your computer (pick the same version of Python as you are using for Panda 3D if you can).   * You need to have [[http://www.blender.org/download/get-blender/|Blender]] installed on your computer (pick the same version of Python as you are using for Panda 3D if you can).
-  * You need to have extracted the contents of the [[http://sourceforge.net/project/showfiles.php?group_id=184266&package_id=219530&release_id=661916|Chicken Egg Exporter zip file (R56 is the latest version)]] into your ".blender/scripts" folder. +  * You need to have extracted the contents of the latest [[http://sourceforge.net/projects/chicken-export/files/Chicken/|Chicken Egg Exporter zip file]] into your ".blender/scripts" folder. 
-  * Download and unzip the [[http://www.ru.is/kennarar/hannes/classes/ve2009/Lab8Assets.zip|Lab 8 Asset File]] into your working directory+  * Download and unzip the [[http://www.ru.is/kennarar/hannes/classes/ve2010/Lab8Assets.zip|Lab 8 Asset File]] into your working directory
  
 ===== Rigging and Animating a Character in Blender for Panda 3D ===== ===== Rigging and Animating a Character in Blender for Panda 3D =====
Line 16: Line 16:
  
   - **Exporting a Model to Panda 3D:** \\    - **Exporting a Model to Panda 3D:** \\ 
-    - Load the model **alien.blender** into Blender (this is the same model as the one in Tutorial_body.blend from the tutorial we will be following during this lab, except mirroring has already been applied and the normals have been fixed).{{  public:t-vien-08-1:blender_screen_window_type.png?200|}}\\+    - Load the model **alien.blender** into Blender (this is the same model as the one in Tutorial_body.blend from the tutorial we will be following during this lab, except mirroring has already been applied and the normals have been fixed).
     - Make sure you can export the model into Panda 3D.  You do that by engaging the **Chicken Exporter** script from the **Scripts Window**.  When you start Blender, the main screen is split into two windows, a 3D view on top and a panel of buttons below.  You can change the contents of each of these windows by clicking on the little icon to the far left in the windows.  You'll then get a menu of possible window types (see screenshot). Change the lower window into a **Scripts Window** using this menu.  Now in the Scripts Window, select the **Scripts -> Export -> Chicken R56(.egg)...** menu item.  In the 3D Window, select the model (it should be outlined in pink to show that it is selected) and in the Scripts Window, make sure the export file path is your working directory and press the **Export** button (notice that you can toggle the **pview** button in the exporter to get a Panda 3D preview after export has finished - in the preview, press **L** to turn on the preview light).\\     - Make sure you can export the model into Panda 3D.  You do that by engaging the **Chicken Exporter** script from the **Scripts Window**.  When you start Blender, the main screen is split into two windows, a 3D view on top and a panel of buttons below.  You can change the contents of each of these windows by clicking on the little icon to the far left in the windows.  You'll then get a menu of possible window types (see screenshot). Change the lower window into a **Scripts Window** using this menu.  Now in the Scripts Window, select the **Scripts -> Export -> Chicken R56(.egg)...** menu item.  In the 3D Window, select the model (it should be outlined in pink to show that it is selected) and in the Scripts Window, make sure the export file path is your working directory and press the **Export** button (notice that you can toggle the **pview** button in the exporter to get a Panda 3D preview after export has finished - in the preview, press **L** to turn on the preview light).\\
     - Run **showalien.py** to make sure that your model loads properly into your own Panda 3D python program (notice how the alien is being loaded as an Actor).     - Run **showalien.py** to make sure that your model loads properly into your own Panda 3D python program (notice how the alien is being loaded as an Actor).
Line 24: Line 24:
   - **Adding a Master Bone and Knee Constraints:** \\ Follow [[http://wiki.blender.org/index.php/BSoD/Introduction_to_Character_Animation/Final_rig_adjustments|the next steps in the Tutorial]], starting with the step called **Final Adjustments** and ending with a step called **Tips for Using the Rig**.  As before, **skip the step about the eyes**.  Make sure to save your progress when you are done (even sooner).   - **Adding a Master Bone and Knee Constraints:** \\ Follow [[http://wiki.blender.org/index.php/BSoD/Introduction_to_Character_Animation/Final_rig_adjustments|the next steps in the Tutorial]], starting with the step called **Final Adjustments** and ending with a step called **Tips for Using the Rig**.  As before, **skip the step about the eyes**.  Make sure to save your progress when you are done (even sooner).
   - **Animating and Exporting a Wave to Panda 3D:**\\   - **Animating and Exporting a Wave to Panda 3D:**\\
-    - Follow  [[http://wiki.blender.org/index.php/BSoD/Introduction_to_Character_Animation/Final_rig_adjustments|next steps in the Tutorial]], starting with **Setting up the Workspace** and ending with a step called **Finishing the Wave**.\\+    - Follow  [[http://wiki.blender.org/index.php/BSoD/Introduction_to_Character_Animation/Setting_up|next steps in the Tutorial]], starting with **Setting up the Workspace** and ending with a step called **Finishing the Wave**.\\
     - To export the wave to Panda 3D, first double-check that your wave plays when you press the play button in the Timeline Window.  Then select the Alien model (in Object Mode) and engage the **Chicken Exporter** script, just like you did in step 1 above.  This time you should see new buttons under the heading "Animations:" Your "Wave" animation started at time 1 and ended at time 9.  Enter these numbers into the **start:** and **end:** boxes, and put the name "wave" into the **name:** box.  Toggle the **pview** button **on** and hit **Export**.  You should see a preview with your Alien waving in it.       - To export the wave to Panda 3D, first double-check that your wave plays when you press the play button in the Timeline Window.  Then select the Alien model (in Object Mode) and engage the **Chicken Exporter** script, just like you did in step 1 above.  This time you should see new buttons under the heading "Animations:" Your "Wave" animation started at time 1 and ended at time 9.  Enter these numbers into the **start:** and **end:** boxes, and put the name "wave" into the **name:** box.  Toggle the **pview** button **on** and hit **Export**.  You should see a preview with your Alien waving in it.  
     - Look in your working directory: You should have "alien.egg" and "alien-wave.egg" Open **showalien.py** and instead of just loading the model, also load the wave animation and loop it (just need to uncomment the right lines in the code).     - Look in your working directory: You should have "alien.egg" and "alien-wave.egg" Open **showalien.py** and instead of just loading the model, also load the wave animation and loop it (just need to uncomment the right lines in the code).
/var/www/cadia.ru.is/wiki/data/attic/public/t-vien-09-1/lab_8_materials.1236857035.txt.gz · Last modified: 2024/04/29 13:33 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki