home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 1995 January / pcw-0195.iso / polyray / dat / person / rots.inc < prev    next >
Text File  |  1994-12-31  |  2KB  |  89 lines

  1. // Polyray include file for person.pi
  2. // This file contains the rotations for all the joints of the body,
  3. // and color of the figure.
  4. // All rotations follow the left hand rule.
  5. // +x is to the right, +z is to the front, and +y is up.
  6. // Created by Will Wagner.
  7. // Thanks to Alexander Enzmann for his help.
  8.  
  9. define head_rotation        // <-45/45-80/80,-10/10,>
  10. transform {
  11.     rotate <0,0,0>
  12.     }
  13. define neck_rotation        // <-30/30,-20/20,-10/10>
  14. transform {
  15.     rotate <0,0,0>
  16.     }
  17. define torso_rotation        // <-10/100,-15/15,-25/25>
  18. transform {
  19.     rotate <0,0,0>
  20.     }
  21. define abdomen_rotation        // <0,0,-5/5>
  22. transform {
  23.     rotate <0,0,0>
  24.     }
  25.  
  26. // Left arm rotations
  27. define left_upper_rotation        // <-180/45,90/-45,45/-180>
  28. transform {
  29.     rotate <0,0,0>
  30.     }
  31. define left_lower_rotation        // <-165/0,0,0>
  32. transform {
  33.     rotate <-10,0,0>
  34.     }
  35. define left_hand_rotation        // <-20/20,90/-180,90/-20>
  36. transform {
  37.     rotate <0,30,0>
  38.     }
  39. define left_finger_rotation        // <0,0,90/0>
  40. transform {
  41.     rotate <0,0,45>
  42.     }
  43.  
  44. // Right arm rotations
  45. define right_upper_rotation        // <-180/45,45/-90,180/-45>
  46. transform {
  47.     rotate <0,0,0>
  48.     }
  49. define right_lower_rotation        // <-165/0,0,0>
  50. transform {
  51.     rotate <-10,0,0>
  52.     }
  53. define right_hand_rotation        // <-20/20,180/-90,20/-90>
  54. transform {
  55.     rotate <0,-30,0>
  56.     }
  57. define right_finger_rotation        // <0,0,0/-90>
  58. transform {
  59.     rotate <0,0,-45>
  60.     }
  61.  
  62. // Left leg rotations
  63. define left_thigh_rotation        // <-90/15,45/0,0/-45>
  64. transform {
  65.     rotate <0,0,0>
  66.     }
  67. define left_calf_rotation        // <0/160,0,0>
  68. transform {
  69.     rotate <0,0,0>
  70.     }
  71. define left_foot_rotation        // <-5/50,-10/10,-5/5>
  72. transform {
  73.     rotate <0,0,0>
  74.     }
  75.  
  76. // Right leg rotations
  77. define right_thigh_rotation        // <-90/15,0/-45,45/0>
  78. transform {
  79.     rotate <0,0,0>
  80.     }
  81. define right_calf_rotation        // <0/160,0,0>
  82. transform {
  83.     rotate <0,0,0>
  84.     }
  85. define right_foot_rotation        // <-5/50,-10/10,-5/5>
  86. transform {
  87.     rotate <0,0,0>
  88.     }
  89.