|
|
Hi,
Can anyone help me in setting up a large xz heighfield (x,z scale about 1e8,
y scale small about 20)? I've tried a reasonable size (x,z scale about 1e3)
with values for the different parameters that I found at Christoff Hormann's
page and that works nicely. However, when increasing the xz-scale, the
heightfield flattens out and I don't know how to get small (xz size about
100, y height about 20) bumps in such a large heightfield. If anyone could,
in laymen's terms, explain the parameters for me a bit more than what is
written in the manual, that might come in handy too ;-)
thanks,
gert
Post a reply to this message
|
|
|
|
If your height field is 1e8x1e8 units wide and only 20 units tall, then
you'll have to have a huge resolution (around the scale of 1e8 by 1e8) to
get bumps at a small scale. You don't want a height field at that
resolution; you don't have the memory for it.
Try one of these options instead:
- Use an isosurface. Since it's sampled dynamically, you get perfect
resolution at any scale. However, it will be slower.
- Use multiple height fields at different resolutions, some close up and
high resolution, others farther away at lower resolutions.
If your camera is close enough to the height field to need to see bumps at a
scale of 20 units or so, then you don't need your height field to be 1e8
units wide; that's overkill.
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
|
|
|
Slime wrote:
> If your height field is 1e8x1e8 units wide and only 20 units tall, then
> you'll have to have a huge resolution (around the scale of 1e8 by 1e8) to
> get bumps at a small scale. You don't want a height field at that
> resolution; you don't have the memory for it.
thanks. realised that now. I've used a reasonably sized HF with an
underlying plane for the far away regions...
bye,
gert
Post a reply to this message
|
|