POV-Ray : Newsgroups : povray.newusers : declared patterns without pigments ( rvalue ) : Re: declared patterns without pigments ( rvalue ) Server Time
14 May 2024 14:53:40 EDT (-0400)
  Re: declared patterns without pigments ( rvalue )  
From: clipka
Date: 1 Jan 2014 15:58:19
Message: <52c4816b@news.povray.org>
Am 01.01.2014 20:32, schrieb Mr:
> Hi, is there anyway to predeclare a pattern (preferably with its
> transformations) so that it can later be used equally within various normals or
> pigments?
>
> Up to now I only managed to declare it as the one or the other.
>
> or maybe there is a way to fit a declared pigment inside a normal{} block?

You can use a so-called "pigment function" (a function that gets its 
values from a pigment), and then use this function in a so-called 
"function pattern".


Post a reply to this message

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