Terragen 3 density shader: how to use?

Started by one2gov, April 28, 2014, 02:32:54 PM

Previous topic - Next topic

one2gov

Hello everyone. I can't understand how to use density shader. As i read here http://planetside.co.uk/wiki/index.php?title=Populator_v3 "The density shader is read as a mask where white areas mean objects are placed the most densely and black areas mean no objects will show up. Intermediate grayscale values will have varying levels of population density according to how light the grayscale value is."
As i understood with that tool i can create empty spaces on my plane that full of objects.

I what to create spherical map. For my purpose i need to delete tree under camera. If i am correct i need to apply to my plane this density shader


But i am just sitting and pressing wrong buttons all day.

yossam

Try this.............


You might have to resize your map to get what you want.
I used one of the trees from the model pack that comes with TG.




bobbystahr

#2
Try this as well.....I used a free Banyan .tgo that was out there

EDIT  note that you have to invert the Simple Shape/Density shader
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

one2gov

Thank you yossam i used your file as guide. I didn't noticed "projection type" option.
bobbystahr i prefer your clean solution but unfortunately i don't know how to hide that shape shader from renderer. Thank you for your time.

Kadri

#4
Quote from: one2gov on April 29, 2014, 04:31:40 AM
... unfortunately i don't know how to hide that shape shader from renderer....

I don't understand your problem.

Maybe the outside you wrote is the boundary for the population?
Make the population area bigger by putting bigger numbers in Area length a  and b .

If you use a image map  you have the problem to mask the outside too.
You can use more then one population to overcome this or using the merge nodes for more complicated setups.
But with a Simple shape shader it is easier.
You get only a circle or square mask in the place and the size you specify.


If you want only to use a image as a mask the basic way is to use a very big one with a small are for the masked place.
Terragen can use very big images very easily...like 20 000x 20 000 if you want.
If you use a greyscale image it will not very big even.
Like this one below.

bobbystahr

Quote from: one2gov on April 29, 2014, 04:31:40 AM
Thank you yossam i used your file as guide. I didn't noticed "projection type" option.
bobbystahr i prefer your clean solution but unfortunately i don't know how to hide that shape shader from renderer. Thank you for your time.

Use the Maptest_0001.tgd as a tute...If you do as I did in it you should be home free.
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

bigben

Quote from: one2gov on April 28, 2014, 02:32:54 PM
....
I what to create spherical map. For my purpose i need to delete tree under camera.

Sounds like a distance shader.
[attach=1]