// 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 apex_radius .3 base_radius 1 outside }
}