Displacement before compute terrain?

Started by nikita, August 08, 2007, 09:35:42 AM

Previous topic - Next topic

nikita

I've been told, any significant displacement should be done before compute terrain. Alright, makes sense.
But now I made a file for which this seems impossible.
A screenshot of the network, the file itself and two images are attached to this post.

When I swap compute terrain and the power fractal (unlike shown in the screenshot), the displacement of the fractal almost isn't visible.
I tried varoius tricks to solve this:
- Adding a Tex Coords shader before: no effect
- Adding a Compute Normal or an additional Compute Terrain before: The terrain becomes totally messed up
- Trying to use a displacement shader instead: no effect
- several combinations of the above

Volker Harun

When using a Compute normal, try to increase its patch size, then increase it again.

nikita


Volker Harun

Increase it again ... it has an effect!
A hint: which year do we have?

nikita

I want to place the fractal before the compute terrain - the patch size doesn't have an effect then.

Volker Harun

Redirect --- Compute normal --- Fractal --- Compute terrain

Volker Harun

But it is only necessary if you want to populate on those displacements. Else, imho, you do not need it.

nikita

Oh.. you meant compute normal... I should read more carfully, sorry. :-\

Ok, so this works. :)
But I can't reproduce the result this way. And why are such large values necessary? All this doesn't really make sense to me.

Volker Harun

Neither to me ... small patch sizes never worked for me ... try larger values, that might give back your terrains original appearance.
As long as you do not want to populate, forget it, as any additional Compute-node sucks time.

FrankB

Quote from: Volker Harun on August 08, 2007, 10:57:40 AM
Neither to me ... small patch sizes never worked for me ... try larger values, that might give back your terrains original appearance.

Funny - I wasn't aware of that either.

Tangled-Universe

What does this "gradient patch size" do then?

Martin

nikita

it's a measure for how accurate the terrain is being calculated. It doesn't calculate the normal for each inch/centimeter of a terrain but for relatively large chunks/patches. You can specify the scale of these with "gradient patch size".

Tangled-Universe

Ah well, that's very clear, thank you!

Martin