POV-Ray : Newsgroups : povray.newusers : pigment / finish in union : Re: pigment / finish in union Server Time
4 Nov 2024 13:44:53 EST (-0500)
  Re: pigment / finish in union  
From: Christopher James Huff
Date: 30 Sep 2002 17:56:08
Message: <chrishuff-6D6C1F.17532430092002@netplex.aussie.org>
In article <Xns### [at] 204213191226>,
 "Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote:

> shouldn't this code set the ((1)) finish to all 3 cyliders in union, 
> leaving pigment differnet for each of them ?

No. The finish statement is expanded into a full texture with default 
values for anything that isn't specified, which is applied to any 
untextured objects in the union (there are none in your example).


> Have I to put finish{...} block into each cylinder{...} even it is same for 
> all objects in union ?

Yes. You don't have to specify the whole thing every time, you could 
declare it and use the declared finish, but you need a finish block for 
each of them. You could also use a declared texture, and modify its 
pigment, or use a macro.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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