Adding the plugin erosion as child layer causes crash

Started by rajm, November 23, 2015, 06:33:04 AM

Previous topic - Next topic

rajm

Start with new project
Add surface layer
Select new layer
Add child layer -> Displacement shader -> (Daniil Kamperov) Erosion
Terragen crashes

Is that shader meant to be allowable as a child layer?

rajm

Ah - it doesn't crash if you add another child surface layer to the new surface layer first, if the erosion layer is the first child you get the crash

Dune

In principle the erosion shader should go directly in line after the main terrain, not as child of a surface layer.

rajm

My hope was that making it a child layer it would speed up the render time, though I can see from the announcement thread why that might not be so.

Having managed to make it a child layer the render does seem to run more quickly but maybe that's an illusion caused by too much impatience  ;)
The erosion code is being used in this case, on stdout I can see messages about the cache size.

And I've just seen Chris's comment (in the announce thread) about using the shader as a mask which looks to be what I should really be doing

AP

On the first page of the announcement thread, Daniil posted images of the masks being used in various examples.

Daniil

Hi rajm,

I'll check this case. There are also some problems possible if erosion shader main input doesn't linked to other shader. I'll fix this. May be this is the similar case.

Daniil.