|
|
Hello! I want a simple thing (I thought): A cylinder which goes from
left to right, and a sphere at the center which is penetrated by the
cylinder, which has some kind of colored liquid in it.
The effect should be, that the cylinder almost disappears where the
sphere is thickest. For some reason, I didn't get this to work (3.5
Beta8).
I tried the scene at the bottom of the message, but no matter which
fade-distance I choose, the cylinder is visible at the center like it is
at the left or right of the sphere, where the distance to the surface
should be smaller.
Any idea what I do wrong?
Martin
camera
{ location < 0, 0, -280 >
direction < 0, 0, 2.836>
up <0, 1, 0>
right <800/600, 0, 0>
look_at <0, 0, 0>
}
background { color rgb < 0.0, 0.0, 0.0 >}
light_source { <-500, 500, -1000> White }
cylinder
{ <-60, 0, 0>
<60, 0, 0>
2
pigment { Red }
}
sphere
{ <0, 0, 0>
10
scale<20/4, 15/4, 10/4>
pigment{ red 0.9 green 0.9 blue 1.0 filter 0.6 }
hollow on
interior { fade_distance 0.01
fade_color <0, 0, 1>
}
}
Post a reply to this message
|
|