|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ahh, ok, thanks for clearing that up for me guys.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |