Planetside Software Forums

Support => Terragen Support => Topic started by: PiotrT36 on April 28, 2011, 11:10:03 AM

Title: Terragen 64 bit crashed. Render error.
Post by: PiotrT36 on April 28, 2011, 11:10:03 AM
What is the reason of the error happend in my project? Error message window as well as the project are attached to this topic.
Title: Re: Terragen 64 bit crashed. Render error.
Post by: PiotrT36 on April 28, 2011, 12:24:23 PM
... and it is not memory. ~2.5 GB of total 8GB RAM was allocated after crash (Windows 7/64 ).
Title: Re: Terragen 64 bit crashed. Render error.
Post by: Tangled-Universe on April 28, 2011, 01:46:31 PM
Which render node did you use in this project?

You're pushing the limits, may be, with the fractal terrain which has 24 octaves because the smallest scale is 1cm (0.01m). What happens if you set the smallest scale to 1m and render it again?
Title: Re: Terragen 64 bit crashed. Render error.
Post by: PiotrT36 on April 28, 2011, 02:16:06 PM
Render HD
Title: Re: Terragen 64 bit crashed. Render error.
Post by: PiotrT36 on April 28, 2011, 02:42:37 PM
I've  changed the min scale to 1m according to your suggestion and error occured again. But smallest  scale of the fake stone surface shader was 0.001 (1mm!). When I changed it to 0.01 the error disappeared!  Why small scale (0.001) is so harmful? Any ideas?
Title: Re: Terragen 64 bit crashed. Render error.
Post by: Tangled-Universe on April 28, 2011, 03:14:39 PM
Quote from: PiotrT36 on April 28, 2011, 02:42:37 PM
I've  changed the min scale to 1m according to your suggestion and error occured again. But smallest  scale of the fake stone surface shader was 0.001 (1mm!). When I changed it to 0.01 the error disappeared!  Why small scale (0.001) is so harmful? Any ideas?

I noticed that setting too, but didn't suspect it directly, since problems with small scales on stones often results in a very dark render because it somehow messes up the GI/Lighting.
Not sure why it happens in general, but it's good you've sorted it out!

In my experience the safest smallest scale for fake stones is 0.005m. Perhaps you could try that. Still should give a nice bump with a displacement factor of 0.0025.
Title: Re: Terragen 64 bit crashed. Render error.
Post by: cyphyr on April 29, 2011, 06:30:37 AM
If you absolutely have to have very small scale stones (or any other shader below or about 0.001) add a distance shader to its blend input. At that scale you wont be able to see much detail beyond a few metres away (if that) and even if it did render with no errors it's only adding to your render times.
See below :)
Richard
Title: Re: Terragen 64 bit crashed. Render error.
Post by: Tangled-Universe on April 29, 2011, 06:34:35 AM
Quote from: cyphyr on April 29, 2011, 06:30:37 AM
If you absolutely have to have very small scale stones (or any other shader below or about 0.001) add a distance shader to its blend input. At that scale you wont be able to see much detail beyond a few metres away (if that) and even if it did render with no errors it's only adding to your render times.
Richard

I think TG2 is already quite effectively reducing that Richard, it might even take longer:

See here:
http://forums.planetside.co.uk/index.php?topic=10445.0 (http://forums.planetside.co.uk/index.php?topic=10445.0)
Title: Re: Terragen 64 bit crashed. Render error.
Post by: cyphyr on April 29, 2011, 06:40:05 AM
Thanks, hadn't seen that post (or forgot seeing it :) ). Interesting the speed difference is so small.
Richard
Title: Re: Terragen 64 bit crashed. Render error.
Post by: Matt on May 02, 2011, 05:48:48 PM
cyphr and T-U, the kind of blending you're taking about could be useful to eliminate these errors, I guess, but I haven't tested it. From what I understand of the bug, it is only a problem as the surface gets far away from the world origin.