POV-Ray : Newsgroups : povray.general : Problem: Colours and Effects aren't the same as Predefined Shapes in Isosur= : Re: Problem: Colours and Effects aren't the same as Predefined Shapes in Isosur= Server Time
2 Aug 2024 04:21:00 EDT (-0400)
  Re: Problem: Colours and Effects aren't the same as Predefined Shapes in Isosur=  
From: Mike Williams
Date: 23 Jan 2005 04:20:12
Message: <why$3BAFx28BFwbb@econym.demon.co.uk>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.