|
|
I'm an absolute beginner, so please bear with me.
I'm trying to create a snow globe, based on a hollow glass sphere. This
works as expected. However, when I place an additional object (sphere)
inside the globe, it turns out black, as if it's not lit. When I give the
additional sphere a reflective finish, it does come out as expected.
I'm using no lights in my scene, all light comes from HDRI lighting. When I
do place some lights, the second sphere does show its color, but still too
dark.
BTW, increasing max_trace_level doesn't help. The code for both objects is
stated below.
//glass globe
object{
difference{
sphere {
<0, 0, 0> // center of sphere <X Y Z>
500/65 // radius of sphere
}
sphere {
<0, 0, 0> // center of sphere <X Y Z>
(500/65)-0.15 // radius of sphere
}
}
material{
texture{
pigment { color rgbf <0.98, 0.98, 0.98, 0.925> }
finish { F_Glass3 }
normal{bumps .1 scale 4}
finish{reflection{.01,.9 fresnel} conserve_energy}
}
interior{I_Glass}
}
}
//additional sphere
sphere {
<0, 0, 0>, 2
texture {
pigment { color rgb <1,0,0>}
finish {
ambient 0
diffuse 1
}
}
}
Post a reply to this message
|
|