// The ring - inner radius 1.0, outer radius defined by make script // Last edited on 2020-11-08 19:05:02 by jstolfi // // Requires // sib_ring_pebble_size // sib_ring_light_color // // Defines // sib_ring // #include "ring.incx" global_settings{ max_trace_level 50 } #local irad = 1.0; #local orad = 3.0; #declare sib_ring = union{ torus{ (irad+orad)/2, (orad-irad)/2 scale < 1, 0.01, 1 > rotate 100*x rotate 15*y texture{ texture_rock } } light_source { < -1450, +0650, +0300 > color rgb sib_ring_light_color spotlight point_at < 0, 0, 0 > radius 0.42 falloff 1.00 } }