home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ray Tracing Box
/
RAY_CD.mdf
/
raytrace
/
vivid
/
vivid!.exe
/
CLIP6.V
< prev
next >
Wrap
Text File
|
1992-02-23
|
1KB
|
58 lines
// clip.v -- test out clipping cones
#include color.vc
studio {
from 1 -6 4
at 0 0 0
up 0 0 1
angle 35
res 640 480
antialias adaptive
aspect 4/3
background {
greys.map
}
ambient white * .2
}
light {
type point
falloff 0
position 1 -.5 5
color white * .5
}
light {
type point
falloff 0
position -2 -4 5
color white * .5
}
// base surface
surface {
diff plum * .5 // dark plum
}
ring { center 0 0 0 normal 0 0 1 radius 1000
clip { apex -2 0 0 base 2 0 0 radius .3 outside }
clip { apex -2 1 .2 base 2 1 -.2 radius .3 outside }
clip { apex -2 -1 -.5 base 2 -1 .5 radius .3 outside }
}
transform { rotate 0 30 0 }
surf { diff 0 .5 1 }
ring { center 0 0 0 normal 0 0 1 radius 1000
clip { apex -2 0 0 base 2 0 0 radius .3 inside }
}
ring { center 0 0 0 normal 0 0 1 radius 1000
clip { apex -2 1 .2 base 2 1 -.2 radius .3 inside }
}
ring { center 0 0 0 normal 0 0 1 radius 1000
clip { apex -2 -1 -.5 base 2 -1 .5 radius .3 inside }
}