POV-Ray : Newsgroups : povray.beta-test : Object pattern in densities? : Re: Object pattern in densities? Server Time
5 Nov 2024 01:24:02 EST (-0500)
  Re: Object pattern in densities?  
From: Ben Chambers
Date: 14 Sep 2001 13:22:32
Message: <3ba23cd8@news.povray.org>
"Tony[B]" <ben### [at] catholicorg> wrote in message
news:3ba23509@news.povray.org...
> It has to be predeclared. You can't just put it in like that.

Which part needs to be predeclared?  What I wrote works perfectly well for a
pigment (I tried it first, to make sure I had the syntax), but in a density
it does not.  I've just tried predeclaring it as a density, and it gives me
the same error as when I type the full part in, ie,
Parse Error: No matching } in 'object', color found instead

What I want to know is, can the object pattern be used in a density and, if
so, how?

...Chambers


Post a reply to this message

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