POV-Ray : Newsgroups : povray.newusers : hf_square : Re: hf_square Server Time
2 Nov 2024 18:50:04 EDT (-0400)
  Re: hf_square  
From: Hughes, B 
Date: 6 Apr 2003 13:59:57
Message: <3e906b1d@news.povray.org>
"J Tellings" <jte### [at] chellonl> wrote in message
news:3E9### [at] chellonl...
>
> I have a question about the hf_square macro. Can anyone give an example
> of the "function"-paramater? I don't know what sort of function I have
> to give.

Anything that can be a function elsewhere in POV-Ray, such as an equation
like (2+sin(x*3))*(1+cos(z*2))/5. Or a predeclared function, such as those
found in functions.inc.

object {
    HF_Square(
        function {f_noise3d(x,y,z)}, // example
        0,0,<100,100>,0,"",<-10,-1,-10>,<10,0,10>
    )
pigment {rgb<1,0,0>}
}


Bob H.


Post a reply to this message

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