|
|
Christopher James Huff <cja### [at] earthlinknet> wrote in
news:cjameshuff-96F2D1.12543718042004@news.povray.org:
> You have to pass a function to the macro, you can not use a macro. For
> example:
>
> #include "functions.h"
>
> #declare HF_F = function {f_noise3d(x, y, z)}
>
> #declare Ground = HF_Square(HF_F, false, false, < 40, 40>, 1, "",
> <-20,-1,-20>, <20, 4, 20>)
>
> rand() can not currently be used in functions, but it would be fairly
> useless for this anyway.
>
I noticed so I used the bump pattern :) Thanks.
>
> Look at the shapes.pov demo scene, in the incdemo folder.
>
This is just what I was looking for! Thanks.. looks like it works with any
object so I could use an external height field as well.
I suppose there just was no cross reference :/
Post a reply to this message
|
|