POV-Ray : Newsgroups : povray.general : Declaring pattern Functions : Re: Declaring pattern Functions Server Time
5 Aug 2024 12:20:11 EDT (-0400)
  Re: Declaring pattern Functions  
From: Christopher James Huff
Date: 13 Sep 2002 16:21:56
Message: <chrishuff-3F2E42.16211413092002@netplex.aussie.org>
In article <web.3d823625f5aaaf1896ad091d0@news.povray.org>,
 "Pyrolistical" <Pyr### [at] hotmailcom> wrote:

> Hey ppl, I've been having problems declaring pattern functions.  I don't
> think it is possible...
> 
> Here's what I want to do:
> 
> #declare FOO = function 300,300 { pattern { agate} }

That's because you are using the function *image* syntax instead of a 
function. Only use the resolution when you are defining an image. You 
can't declare an image, so this fails.

-- 
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.