|
![](/i/fill.gif) |
Tim Nikias wrote:
> First: Where's your heightfield placed? Centered on the origin? Because,
> without scalement or translation, it ranges from <0,0,0> to <1,1,1>.
Translated <.-5,.009, -.5> and then scaled <600, 75, 500>.
> Second: The script only covers the area from <-300,250,0> to <0,0,0>, not
> more. If you want it to spread from <-300,250,0> to <300,0,0>, you should
> modify this line:
> #declare Start = x*(-300*rand(rd)) + z*(250*rand(rd));
> to this:
> #declare Start = x*(-300*(rand(rd)*2-1)) + z*(250*rand(rd));
>
> That aside, random placement of course has some issues. Even distribution
> with a little random noise might work better. But that's just my 2 cents.
I didn't think of trying even distro. That'll be version 2. :)
Your line above works great, with the small exception that they seem to
be more bunched up on the left side than the right. Which is okay, I
think, but just for curiosity's sake, is there a reason for that?
Thanks a bunch, Tim!!
~Mike
Post a reply to this message
|
![](/i/fill.gif) |