Planetside Software Forums

General => Terragen Discussion => Topic started by: Balletdude on February 20, 2022, 11:59:25 AM

Title: simple shape merge
Post by: Balletdude on February 20, 2022, 11:59:25 AM
Not been here for a while, as I've been busy doing photoshoots for a national poster campaign
Back to playing with blender. I'm trying to merge 2 simple shape shades. a log straight rectangle to form a canyon shape, and a circle. it will end up with the canyon opening into a wide open space.

I've tried using the merge shader, but no matter the settings you can see the point they overlap and a step is created. I've set edge profiles to 0 on both and still the step is there. they don't seem to be merging into one solid shape if that makes sense
I've attached an image and the file (the file isn't really that important as I just want to get the shape sorted before I use it anywhere.
If you use the view button on the merge node, you can see the outline of the shaders where they cross

best
Simon
Title: Re: simple shape merge
Post by: WAS on February 20, 2022, 12:05:08 PM
It doesn't work if you have an edge profile, but if you have hard edges, just use your A input as the mixer.

It theoretically should work fine with edge profile, but something is wrong with the falloff of both smooth-step, and bevel. It has a hard drop-off and doesn't actually transition to 0 (black) properly. So it doesn't have a perfect transition to be inverted or used as a mask against another smooth zone. You'd probably get better results creating your own smooth circle or squares out of functions like I have needed to do when I need perfect transition to 0.
Title: Re: simple shape merge
Post by: Balletdude on February 20, 2022, 12:40:25 PM
Thank you. it was using it as the mix factor that i was missing. All working perfectly now

Simon
Title: Re: simple shape merge
Post by: Dune on February 21, 2022, 03:08:05 AM
I would have simply stacked them, preferring to do all from greyscale first before displacing.
Title: Re: simple shape merge
Post by: Balletdude on February 21, 2022, 08:29:39 AM
seems to have worked out fine.

I did try stacking them, but kept getting a step between them/where they crossed, maybe due to the edge profile?. In the example file I uploaded I'd removed it, just to see if I could get it working

Thank you both