Planetside Software Forums

General => Terragen Discussion => Topic started by: mr-miley on January 18, 2007, 11:04:49 AM

Title: Half covered Fake Stones
Post by: mr-miley on January 18, 2007, 11:04:49 AM
Right, thats it, this is driving me insane!!  ??? I am trying to add a fake stone shader to my scene. Simple enough. I can get them to be where I want them to be etc, but whenever I render the scene, some of the stones are half (or in some cases totally covered with the Base Colours shader. I did have a few more surface layers between Base Colours and the stones, and which ever one is next to the stones in the list is what half covers the stones. Attached is a crop render (I blew it up cause it was quite small) a screen shot of my shader nodes and the scene file. If anyone can help.... please

(http://www.gintdev.co.uk/mr-miley/partrender.jpg)

Crop Render
(http://www.gintdev.co.uk/mr-miley/partrender.jpg)

(http://www.gintdev.co.uk/mr-miley/sshot.jpg)

node screenshot
(http://www.gintdev.co.uk/mr-miley/sshot.jpg)

EDIT:- Damn, forgot to include the heightfield
see below


Ta

Miles
Title: Re: Half covered Fake Stones
Post by: Volker Harun on January 18, 2007, 11:29:48 AM
Hi,

as I am rendering a HiRes-Picture, I did not have a look at the .tgd you uploaded.

I had the same problem until Turning the 'Coverage' inside the distribution-shade to '1'.
Adding a blender to the distribution-shader would give extremly bad results, too.

V. Haroon
Title: Re: Half covered Fake Stones
Post by: mr-miley on January 18, 2007, 11:53:26 AM
Voulge

Thanks for the reply. I have got the coverage set to 1 in my distribution shader. I have even downloaded a couple of example files using the fake stone shader from the forums, just to see if I was doing something really daft (not unheard of) and my settings are the same (appart from scales etc)  ???
Title: Re: Half covered Fake Stones
Post by: littlecannon on January 18, 2007, 11:58:26 AM
Have you tried adding a compute terrain in the terrain tab , then adding the Fake Stone Shader also in the Terrain Tab, rather than in the Shaders Tab... That's what I did for my Canyon and I could colour the stones as I wanted... just another thing to try.

Simon.
Title: Re: Half covered Fake Stones
Post by: Volker Harun on January 18, 2007, 01:32:15 PM
Hi,

turn off the "Blend as stone density" at the bottom of the 'fake-stones-shader'.

And turn the pancake-effect to '2' that should some!
Title: Re: Half covered Fake Stones
Post by: MeltingIce on January 18, 2007, 05:02:25 PM
Get rid of your distribution shader and use a surface shader instead.  Set the color of the surface shader to white and use its slope and altitude restrictions instead.
Title: Re: Half covered Fake Stones
Post by: Lucio on January 18, 2007, 08:24:29 PM
I've the same kind of problem.. a distribution shader (even a surface layer) applied as a blendshader to fake stones gives strange results
Title: Re: Half covered Fake Stones
Post by: mr-miley on January 19, 2007, 03:38:40 AM
Thanks for all your ideas... none of them have worked, mind you. MeltingIce, I may well be being a bit stupid (nothing new there) but I can't find slope and altitude restrictions in any surface shaders, care to elaborate?
Title: Re: Half covered Fake Stones
Post by: Volker Harun on January 19, 2007, 05:11:46 AM
Well,

I marked the tabs for distribution on the attached image.

V.Haroon
Title: Re: Half covered Fake Stones
Post by: Volker Harun on January 19, 2007, 06:08:26 AM
Another problem that occurs is the following.

Please have a look at the attached picture - it shows the render in progress (I am rendering cropped to reduce data-loss on crashes)

The stones right from yellow marks are broken - or are sitting on top of each other (which is somehow nice).

You can get the false colouring when looking in detail. I minimized the problem here due to colouring the surface below with the same texture as the stones.

Regards,
V.Haroon
Title: Re: Half covered Fake Stones
Post by: rcallicotte on January 21, 2007, 12:40:49 PM
Good job, Voulge.  Believable rocks, I think.