|
![](/i/fill.gif) |
Okay, I played around with glass some more. :)
The following code renders properly, but changing the texture to Glass3
causes a crash.
Hmmm.....
I'm sure someone will come along and tell us what we're doing wrong. :)
#include "Colors.inc"
#include "Textures.inc"
#include "Glass.inc"
#include "Metals.inc"
global_settings { max_trace_level 30 }
object { plane { y,-.5 }
texture { pigment { checker color Black, color White }
finish { reflection .9 diffuse .6 ambient .2 } scale 2 } }
#declare Globe = object { difference {
object { sphere { 0,.5 } }
object { sphere { 0,.49 } } } hollow }
object { Globe texture { T_Glass1 } }
object { Globe texture { T_Glass1 } translate <0,0,1> }
object { Globe texture { T_Glass1 } translate <0,0,2> }
object { Globe texture { T_Glass1 } translate <0,0,3> }
object { Globe texture { T_Glass1 } translate <0,0,4> }
object { Globe texture { T_Glass1 } translate <0,0,5> }
object { sphere { 0,.5 } texture { T_Gold_3C } translate <-1,0,1> }
object { sphere { 0,.5 } texture { T_Chrome_3C } translate <1,0,1> }
fog { fog_type 2 distance 5 color rgbf .45
turbulence .65 turb_depth 5 omega .4 lambda 3 octaves 7
fog_offset 0 fog_alt .0205 up <0,1,0> }
camera { location <0,1,-1.25> direction z look_at <0,0,0> }
light_source { <0,99999,-99999> color White atmosphere off }
--
Paul Hinds
gri### [at] swbell net
Post a reply to this message
|
![](/i/fill.gif) |