Planetside Software Forums

General => Terragen Discussion => Topic started by: archonforest on April 01, 2018, 10:06:50 AM

Title: Population question
Post by: archonforest on April 01, 2018, 10:06:50 AM
I painted a lake and applied negative disp. Now wanted to populate some green stuff that should sit on the bottom of the lake under water but it does not. Any idea how to fix this? See also attached picture.
Title: Re: Population question
Post by: luvsmuzik on April 01, 2018, 10:12:52 AM
Did you try the painted shader for your lake as your density mask for your veggies?
Title: Re: Population question
Post by: archonforest on April 01, 2018, 10:21:24 AM
yes they keep floating there...
Title: Re: Population question
Post by: luvsmuzik on April 01, 2018, 10:23:35 AM
what are your anchor options? sometimes I use the surface layer the material is on, like Dune does with his grass populations.
Title: Re: Population question
Post by: archonforest on April 01, 2018, 03:01:23 PM
Free floating is kinda work... :-\
Title: Re: Population question
Post by: cyphyr on April 01, 2018, 09:36:41 PM
Make sure your painted shader is above/before the compute terrain. That should do it ... if not plug the last shader before the planet into the Anchor>Sit on terrain slot of the population node.
Hope this helps :)
Title: Re: Population question
Post by: archonforest on April 02, 2018, 06:01:32 AM
Quote from: cyphyr on April 01, 2018, 09:36:41 PM
Make sure your painted shader is above/before the compute terrain. That should do it ... if not plug the last shader before the planet into the Anchor>Sit on terrain slot of the population node.
Hope this helps :)
Tku guys for the answers.  :)
Title: Re: Population question
Post by: WAS on April 02, 2018, 10:40:47 AM
I believe I remember tex coordinates (https://planetside.co.uk/wiki/index.php?title=Tex_Coords_From_XYZ) shader works if you have things beyond your computer terrain. Can use it as a sorta XYZ definition for whatever is plugged. Would be the best bet than adding more computer terrains or normals for things requiring XYZ form the terrain.

Quote from: PlanetsideThe Tex coords from XYZ node generates world space texture coordinates from displaced points from the input shader. It doesn't compute normals.
Title: Re: Population question
Post by: bobbystahr on April 05, 2018, 10:38:15 PM
I just hang a Compute terrain off the last shader(but not connected to the planet) and use that as my anchor.
One of the wizards told me that a long time back and it solves all population evils...
Title: Re: Population question
Post by: archonforest on April 06, 2018, 12:06:29 PM
Thx Bobby. Sounds interesting. Will try.  :)