home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual Reality Zone
/
VRZONE.ISO
/
mac
/
PC
/
REND386
/
UTILS
/
OGRE41
/
VWBUG.OSF
< prev
Wrap
Text File
|
1993-04-09
|
1KB
|
51 lines
# 107 Vertices
# 119 Polygons
OBJECT vwbug
OBJECT vwframe
OBJECT vwfeeler
OBJECT vw_lftire
OBJECT vw_rftire
OBJECT vw_lrtire
OBJECT vw_rrtire
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 ]
# Paint the body bright pink, the only true color for a VW bug
# Actually, it's grape until I write a better color-mapping routine
vwframe = paint vwframe 255 0 100
# Create 2 tires
vw_lftire = sphere 25 3 8
vw_lftire = paint vw_lftire 50 50 50
vw_lftire = scale vw_lftire 1.0 0.4 1.0
vw_lftire = rotx vw_lftire 90
# Duplicate into four tires
vw_rftire = trans vw_lftire -60 0 40
vw_lrtire = trans vw_lftire 60 0 -40
vw_rrtire = trans vw_lftire 60 0 40
vw_lftire = trans vw_lftire -60 0 -40
# Add an antenna
vwfeeler = pyramid 3 60 4
vwfeeler = trans vwfeeler -35 75 35
vwfeeler = paint vwfeeler 200 200 200
vwbug = merge vwframe vwfeeler
vwbug = merge vwbug vw_lftire
vwbug = merge vwbug vw_rftire
vwbug = merge vwbug vw_lrtire
vwbug = merge vwbug vw_rrtire
# Put car into final position
vwbug = trans vwbug 0 -40 0
vwbug = scale vwbug 4.0 4.0 4.0
savePLG vwbug vwbug.plg