POV-Ray : Newsgroups : povray.newusers : normals and pigments in a csg : Re: normals and pigments in a csg Server Time
5 Nov 2024 13:24:17 EST (-0500)
  Re: normals and pigments in a csg  
From: Remco de Korte
Date: 18 Jul 1999 21:12:15
Message: <37927AE8.471D541C@xs4all.nl>
Ken wrote:
> 
> Daniel Pirch wrote:
> >
> 
>  If I understand your question correctly what you are looking for is several
> objects that have their own pigment and then you want to apply a global normal
> pattern to the entire csg'd object. This can be done quite simply using the
> following method.
> 
>   union {
>  sphere { x,1 pigment <1,0,0> }
>  sphere {-x,1 pigment <1,1,0> }
>  sphere { y,1 pigment <0,1,0> }
>  sphere {-y,1 pigment <0,0,1> }
>  normal { bumps 1 scale 1     }
>         }
> 
I'm sorry but this won't work (or I am getting real perception problems).
I've had this problem more then once. If you stick a pigment on a part of a csg
(or blob) the normal or finish you use for the whole object doesn't apply there.

Remco
http://www.xs4all.nl/~remcodek/softmach.html


Post a reply to this message

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