POV-Ray : Newsgroups : povray.general : Declaring pattern Functions : Re: Declaring pattern Functions Server Time
5 Aug 2024 12:13:46 EDT (-0400)
  Re: Declaring pattern Functions  
From: Tim Nikias
Date: 13 Sep 2002 15:39:49
Message: <3d823f05$1@news.povray.org>
Here's what POV wants:

#declare HF = function{ pigment{A_Pigment}}
#declare HF_Detail=300;

 height_field{
  function HF_Detail,HF_Detail{HF(x,y,z).x}
 blabla
}


--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde
"Pyrolistical" <Pyr### [at] hotmailcom> schrieb im Newsbeitrag
news:web.3d823625f5aaaf1896ad091d0@news.povray.org...
> 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} }
>
> height_field {
>   FOO(x,y,z)
> }
>
> It errors saying that it expects something other than a constant at the
> first 300.
>
> Any ideas ppl?
>
>
>


Post a reply to this message

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