home *** CD-ROM | disk | FTP | other *** search
/ Virtual Reality Zone / VRZONE.ISO / mac / PC / REND386 / UTILS / OGRE41 / VWBUG.OSF < prev   
Text File  |  1993-04-09  |  1KB  |  51 lines

  1. # 107 Vertices
  2. # 119 Polygons
  3.  
  4. OBJECT vwbug
  5. OBJECT vwframe
  6. OBJECT vwfeeler
  7. OBJECT vw_lftire
  8. OBJECT vw_rftire
  9. OBJECT vw_lrtire
  10. OBJECT vw_rrtire
  11.  
  12. vwframe = panel 10 23 80 5 [ 10 20 30 35 40 42 45 48 50 70 80 85 90 90 90 87 83 80 75 70 55 40 20 ]
  13.  
  14. # Paint the body bright pink, the only true color for a VW bug
  15. # Actually, it's grape until I write a better color-mapping routine
  16. vwframe = paint vwframe 255 0 100
  17.  
  18.  
  19. # Create 2 tires
  20. vw_lftire = sphere 25 3 8
  21. vw_lftire = paint vw_lftire 50 50 50
  22. vw_lftire = scale vw_lftire 1.0 0.4 1.0
  23. vw_lftire = rotx vw_lftire 90
  24.  
  25.  
  26. # Duplicate into four tires
  27. vw_rftire = trans vw_lftire -60 0  40
  28. vw_lrtire = trans vw_lftire  60 0 -40
  29. vw_rrtire = trans vw_lftire  60 0  40
  30. vw_lftire = trans vw_lftire -60 0 -40
  31.  
  32.  
  33. # Add an antenna
  34. vwfeeler = pyramid 3 60 4
  35. vwfeeler = trans vwfeeler -35 75 35
  36. vwfeeler = paint vwfeeler 200 200 200
  37.  
  38.  
  39. vwbug = merge vwframe vwfeeler
  40. vwbug = merge vwbug vw_lftire
  41. vwbug = merge vwbug vw_rftire
  42. vwbug = merge vwbug vw_lrtire
  43. vwbug = merge vwbug vw_rrtire
  44.  
  45. # Put car into final position
  46. vwbug = trans vwbug 0 -40 0
  47. vwbug = scale vwbug 4.0 4.0 4.0
  48.  
  49. savePLG vwbug vwbug.plg
  50.  
  51.