|
![](/i/fill.gif) |
Wasn't it mephuser who wrote:
>Problem: Colours and Effects aren't the same as Predefined Shapes in
>Isosurface?
>
>I'm unable to achieve the Translucent effect in the Isosurface Code. The
>Translucent effect is NICE in the Predefined Shapes Code.
You just forgot to remove the line that says
pigment {rgb .9}
in some of the isosurfaces.
If you have two textures on an object, then they act as "layered
textures" (read the docs if you're unfamiliar with that concept) and you
see the opaque underlying {rgb 0.9} texture layer through the partially
transparent {White filter 0.7} texture layer.
>//Sphere Top
>isosurface {
> function { pow(x,2) + pow(y,2) + pow(z,2) - pow(0.5,2) }
> accuracy 0.001
> threshold 0
> max_gradient 2
> //contained_by{sphere{0,0.78}}
> pigment {rgb .9}
> //texture{pigment {White} finish{specular 1}}
> texture{pigment {White filter 0.7} finish{specular 1}}
> translate <0, 0.78, 0>
>}
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
![](/i/fill.gif) |