home *** CD-ROM | disk | FTP | other *** search
/ VRML Tools for 3D Cyberspace / VRML_Tools_For_3D_Cyberspace.iso / vream / data.1 / spherema.vre < prev    next >
Text File  |  1996-02-09  |  5KB  |  205 lines

  1. // VREAM Extension File
  2. VRC_REFERENCE_OBJECT,S,man;
  3.        vrc_hint,s,
  4.        "Click here to activate WIRL extensions";
  5. VRC_LINKS,S,1;
  6. vrc_link,s,null,null,0,0,10;
  7.   vrc_variable,c,eq,@ui_0,0;
  8.   vrc_and,r;
  9. vrc_link,s,man,null,0,0,20;
  10.   vrc_object_picked,c,1;
  11.   vrc_variable,r,set,@ui_0,1;
  12. vrc_link,s,null,man,0,0,25;
  13.   vrc_and,c;
  14.   vrc_auto_rotate_relative,r,-.05,0,0,0,0,0,0;
  15. vrc_link,s,null,null,0,0,30;
  16.   vrc_variable,c,eq,@ui_0,1;
  17.   vrc_variable,r,add,@ui_1,1;
  18.  
  19. // turn right 
  20. vrc_link,s,null,null,0,0,40;
  21.   vrc_variable,c,gt,@ui_1,0;
  22.   vrc_and,r;
  23. // left and right forarms
  24. vrc_link,s,null,null,0,0,50;
  25.   vrc_variable,c,lt,@ui_1,8;
  26.   vrc_variable,r,set,@uf_0,.2;
  27. // LEFT AND RIGHT ARMS
  28. vrc_link,s,null,null,0,0,60;
  29.   vrc_and,c;
  30.   vrc_variable,r,set,@uf_1,.2;
  31. vrc_link,s,null,null,0,0,65;
  32.   vrc_and,c;
  33.   vrc_variable,r,set,@uf_11,-.2;
  34. // UPPER BODY
  35. vrc_link,s,null,null,0,0,70;
  36.   vrc_and,c;
  37.   vrc_variable,r,set,@uf_2,-.1;
  38. // left leg and calf
  39. vrc_link,s,null,null,0,0,80;
  40.   vrc_and,c;
  41.   vrc_variable,r,set,@uf_3,.2;
  42. vrc_link,s,null,null,0,0,85;
  43.   vrc_and,c;
  44.   vrc_variable,r,set,@uf_31,-.2;
  45. // right leg and calf
  46. vrc_link,s,null,null,0,0,90;
  47.   vrc_and,c;
  48.   vrc_variable,r,set,@uf_4,0;
  49. vrc_link,s,null,null,0,0,95;
  50.   vrc_and,c;
  51.   vrc_variable,r,set,@uf_41,0;
  52.  
  53.  
  54. // turn back 
  55. vrc_link,s,null,null,0,0,140;
  56.   vrc_variable,c,gt,@ui_1,7;
  57.   vrc_and,r;
  58. // left and right forarms
  59. vrc_link,s,null,null,0,0,150;
  60.   vrc_variable,c,lt,@ui_1,15;
  61.   vrc_variable,r,set,@uf_0,-.2;
  62. // LEFT AND RIGHT ARMS
  63. vrc_link,s,null,null,0,0,160;
  64.   vrc_and,c;
  65.   vrc_variable,r,set,@uf_1,-.2;
  66. vrc_link,s,null,null,0,0,165;
  67.   vrc_and,c;
  68.   vrc_variable,r,set,@uf_11,.2;
  69. // UPPER BODY
  70. vrc_link,s,null,null,0,0,170;
  71.   vrc_and,c;
  72.   vrc_variable,r,set,@uf_2,.1;
  73. // left leg and calf
  74. vrc_link,s,null,null,0,0,180;
  75.   vrc_and,c;
  76.   vrc_variable,r,set,@uf_3,-.2;
  77. vrc_link,s,null,null,0,0,185;
  78.   vrc_and,c;
  79.   vrc_variable,r,set,@uf_31,.2;
  80. // right leg and calf
  81. vrc_link,s,null,null,0,0,190;
  82.   vrc_and,c;
  83.   vrc_variable,r,set,@uf_4,0;
  84. vrc_link,s,null,null,0,0,195;
  85.   vrc_and,c;
  86.   vrc_variable,r,set,@uf_41,0;
  87.  
  88.  
  89. // turn right 
  90. vrc_link,s,null,null,0,0,240;
  91.   vrc_variable,c,gt,@ui_1,14;
  92.   vrc_and,r;
  93. // left and right forarms
  94. vrc_link,s,null,null,0,0,250;
  95.   vrc_variable,c,lt,@ui_1,22;
  96.   vrc_variable,r,set,@uf_0,.2;
  97. // LEFT AND RIGHT ARMS
  98. vrc_link,s,null,null,0,0,260;
  99.   vrc_and,c;
  100.   vrc_variable,r,set,@uf_1,-.2;
  101. vrc_link,s,null,null,0,0,265;
  102.   vrc_and,c;
  103.   vrc_variable,r,set,@uf_11,.2;
  104. // UPPER BODY
  105. vrc_link,s,null,null,0,0,270;
  106.   vrc_and,c;
  107.   vrc_variable,r,set,@uf_2,.1;
  108. // left leg and calf
  109. vrc_link,s,null,null,0,0,280;
  110.   vrc_and,c;
  111.   vrc_variable,r,set,@uf_3,0;
  112. vrc_link,s,null,null,0,0,285;
  113.   vrc_and,c;
  114.   vrc_variable,r,set,@uf_31,0;
  115. // right leg and calf
  116. vrc_link,s,null,null,0,0,290;
  117.   vrc_and,c;
  118.   vrc_variable,r,set,@uf_4,0.2;
  119. vrc_link,s,null,null,0,0,295;
  120.   vrc_and,c;
  121.   vrc_variable,r,set,@uf_41,-0.2;
  122.  
  123.  
  124. // turn back 
  125. vrc_link,s,null,null,0,0,340;
  126.   vrc_variable,c,gt,@ui_1,21;
  127.   vrc_and,r;
  128. // left and right forarms
  129. vrc_link,s,null,null,0,0,350;
  130.   vrc_variable,c,lt,@ui_1,29;
  131.   vrc_variable,r,set,@uf_0,-.2;
  132. // LEFT AND RIGHT ARMS
  133. vrc_link,s,null,null,0,0,360;
  134.   vrc_and,c;
  135.   vrc_variable,r,set,@uf_1,.2;
  136. vrc_link,s,null,null,0,0,365;
  137.   vrc_and,c;
  138.   vrc_variable,r,set,@uf_11,-.2;
  139. // UPPER BODY
  140. vrc_link,s,null,null,0,0,370;
  141.   vrc_and,c;
  142.   vrc_variable,r,set,@uf_2,-.1;
  143. // left leg and calf
  144. vrc_link,s,null,null,0,0,380;
  145.   vrc_and,c;
  146.   vrc_variable,r,set,@uf_3,0;
  147. vrc_link,s,null,null,0,0,385;
  148.   vrc_and,c;
  149.   vrc_variable,r,set,@uf_31,0;
  150. // right leg and calf
  151. vrc_link,s,null,null,0,0,390;
  152.   vrc_and,c;
  153.   vrc_variable,r,set,@uf_4,-0.2;
  154. vrc_link,s,null,null,0,0,395;
  155.   vrc_and,c;
  156.   vrc_variable,r,set,@uf_41,0.2;
  157.  
  158.  
  159. // start over 
  160. vrc_link,s,null,null,0,0,400;
  161.   vrc_variable,c,eq,@ui_1,28;
  162.   vrc_variable,r,set,@ui_1,0;
  163.  
  164.  
  165.  
  166. vrc_link,s,null,null,0,0,1000;
  167.    vrc_variable,c,eq,@ui_0,1;
  168.    vrc_and,r;
  169.  
  170. VRC_LINK,S,NULL,rightarm,0,0,1100;
  171.       VRC_and,c;
  172.       VRC_object_ROTATE_RELATIVE,R,0,@uf_1,0, 0, 0,0,0;
  173. VRC_LINK,S,NULL,leftarm,0,0,1110;
  174.       VRC_and,c;
  175.      VRC_object_ROTATE_RELATIVE,R,0,@uf_11,0, 0, 0,0,0;
  176. VRC_LINK,S,NULL,leftfarm,0,0,1120;
  177.       VRC_and,c;
  178.       VRC_OBJECT_ROTATE_RELATIVE,R,0,@uf_0,0, 0, 0,0,-14;
  179.  
  180. VRC_LINK,S,NULL,upperbody,0,0,1150;
  181.       VRC_and,c;
  182.       vrc_object_rotate_relative,r,@uf_2,0,0,0,0,0;
  183. VRC_LINK,S,NULL,rightfarm,0,0,1152;
  184.       VRC_and,c;
  185.       VRC_OBJECT_ROTATE_RELATIVE,R,0,@uf_0,0, 0, 0,0,-14;
  186.       
  187.    VRC_LINK,S,NULL,leftcalf,0,0,1155;
  188.       VRC_and,c;
  189.       VRC_OBJECT_ROTATE_RELATIVE,R,0,@uf_31,0, 0, 0,0,-25;
  190.  
  191.   VRC_LINK,S,NULL,rightleg,0,0,1160;
  192.       VRC_and,c;
  193.       VRC_OBJECT_ROTATE_RELATIVE,R,0,@uf_4,0, 0, -4,0,0;
  194.       
  195.    VRC_LINK,S,NULL,rightcalf,0,0,1170;
  196.       VRC_and,c;
  197.       VRC_OBJECT_ROTATE_RELATIVE,R,0,@uf_41,0, 0, 0,0,-25;
  198.  
  199.   VRC_LINK,S,NULL,leftleg,0,0,1180;
  200.       VRC_and,c;
  201.       VRC_OBJECT_ROTATE_RELATIVE,R,0,@uf_3,0, 0, 4,0,0;
  202.  
  203.    
  204.   
  205.