Planetside Software Forums

General => Terragen Discussion => Topic started by: j meyer on March 13, 2014, 12:10:22 PM

Title: Displaceable Objects
Post by: j meyer on March 13, 2014, 12:10:22 PM
After giving bad or at least incomplete advice over in otakars "Castle Formation" thread
(image section) I prepared some pics to illustrate one correct way of displacing and
coloring a Displaceable Object,kind of compensation so to say.

1.[attachimg=1]

   This is the slightly elongated Cube undisplaced and displaced by a Power Fractal.

2.[attachimg=2]
   
   With Round Radius set to five.

3.[attachimg=3]

   With color added (PF connected to a Surface Layers colour input and on the right
   with  a Transform Input Shader set to use World Space inbetween.)

4.[attachimg=4]

   And at last displacement added (color based and thus applied via a copy of the
   color PF set to white and black again and connected to a Displacement Shader
   that feeds the child input of the Surf.L..It was done like this to get the displ
   to match the colors.On the left: no World Space,no match. On the right: with
   a Transform Input Sh inbetween -> perfect match.)

5.[attachimg=5]

   The nodes.

Hope this will be of use to someone.


Title: Re: Displaceable Objects
Post by: bobbystahr on May 11, 2014, 01:57:54 PM
Hey Jo...as there are no numbers attached I can't seem to get what you got...maybe a clip file would help if you have spare time....thanks
Title: Re: Displaceable Objects
Post by: bobbystahr on May 11, 2014, 08:04:53 PM
well this got me experimenting with image maps...here. in graphic form, is what I found.
Title: Re: Displaceable Objects
Post by: mhaze on May 12, 2014, 03:23:18 AM
Why the default shader?
Title: Re: Displaceable Objects
Post by: bobbystahr on May 12, 2014, 09:43:13 AM
Quote from: mhaze on May 12, 2014, 03:23:18 AM
Why the default shader?

That is what is attached out of the box.
Title: Re: Displaceable Objects
Post by: j meyer on May 12, 2014, 10:23:45 AM
Here is the file I used for the above pics.
Title: Re: Displaceable Objects
Post by: j meyer on May 12, 2014, 12:43:20 PM
Quote from: mhaze on May 12, 2014, 03:23:18 AM
Why the default shader?

In case that question was for me the default shader is still there because I made
all of the pics with one tgd and it was needed for the gray shaded versions.
Title: Re: Displaceable Objects
Post by: bobbystahr on May 12, 2014, 12:55:47 PM
Quote from: j meyer on May 12, 2014, 12:43:20 PM
Quote from: mhaze on May 12, 2014, 03:23:18 AM
Why the default shader?

In case that question was for me the default shader is still there because I made
all of the pics with one tgd and it was needed for the gray shaded versions.

Oh....O K, was gonna ask that as well;..thanks also for the .tgd...I learn best by seeing most times so visual tutes work best for me.
Title: Re: Displaceable Objects
Post by: mhaze on May 12, 2014, 01:18:26 PM
Thanks makes sense now.
Title: Re: Displaceable Objects
Post by: bobbystahr on May 12, 2014, 01:41:48 PM
Well looking at those nodes I see the error of my ways...many thanks. Below is what happened before you posted the .tgd when the PFs' drove me nuts and I added image maps and inappropriately scaled objects  into the mix. Think it's called, "Scale is for Fish and Snakes" ::)
Title: Re: Displaceable Objects
Post by: Hannes on May 13, 2014, 03:32:20 AM
Anyway this rock looks great, Bobby.
But the color of the grass makes me blind!! ;D ;D ;D
Title: Re: Displaceable Objects
Post by: bobbystahr on May 13, 2014, 12:02:35 PM
Quote from: Hannes on May 13, 2014, 03:32:20 AM
Anyway this rock looks great, Bobby.
But the color of the grass makes me blind!! ;D ;D ;D

Thanks Hannes...that was the real focus, the rest is OCD on my part. The actual grass object is Walli's...the ground colour is a clip from the presets I think...I may have tried a PF grass attempt again...rarely successful; often garish, maybe that is mine, heh heh heh......as a colour blind artist I count on others being correct..maybe it's the light as Walli's a pro if it's on the pop.