Author Topic: Lateral displacement - I beg you...  (Read 170 times)

Offline N-drju

  • Member
  • *
  • Posts: 1014
  • A ship in port is safe... well, fine by me.
Lateral displacement - I beg you...
« on: January 26, 2018, 08:42:16 AM »
I can't seem to grasp the idea of lateral displacement, no matter how hard I try...

Let's say for example that I would like to displace and deform an otherwise featureless wall of that mesa right there on the picture. Not by using the traditional strata shader though. But by using a laterally displacing power fractal. Compute normal that is "required" for that option does nothing, no matter where I put it and what values I enter:

78684-0

How? >:(
"Error 404 - pun not found."

Online luvsmuzik

  • Member
  • *
  • Posts: 1919
    • luvsmuzik 1995
Re: Lateral displacement - I beg you...
« Reply #1 on: January 26, 2018, 11:13:24 AM »
I still suggest dissecting shared files.
You can try lateral displacement in a surface layer shader hooking a power fractal to the displacement input of same. Sometimes it works as a mask also. Many of the columnar or blockish type displacements use blue node scalar noise functions that direct the terrain .....
 
« Last Edit: January 26, 2018, 11:19:32 AM by luvsmuzik »

Offline Dune

  • Member
  • *
  • Posts: 13037
  • Corkscrew Bird
    • www.ulco-art.nl
Re: Lateral displacement - I beg you...
« Reply #2 on: January 26, 2018, 11:14:38 AM »
You need a compute terrain, or compute normal+ XYZ shader, of appropriate patch size. And after that, you can displace laterally.
In case you still haven't seen enough of my work: www.ulco-art.nl

Online cyphyr

  • Member
  • *
  • Posts: 3714
    • richardfraser
Re: Lateral displacement - I beg you...
« Reply #3 on: January 26, 2018, 11:57:51 AM »
The compute terrain, compute normal and/or XYZ shader goes BEFORE  the lateral displacement.
Try the attached. and note the effect of having the compute terrain, compute normal and/or XYZ shader working together and seperately.
Also note the more compute terrain and compute normals you have the slower the render will be. The XYZ shader seems to have the least impact on render times.
www.richardfraser.co.uk
https://www.facebook.com/RichardFraserVFX/
/|\

i7 5930 @3.5Ghz, 32Gb
i7 2600k @3.4Ghz, 16Gb
i7 980 @3.33Ghz, 16Gb

Offline KlausK

  • Member
  • *
  • Posts: 337
  • Land ho!
Re: Lateral displacement - I beg you...
« Reply #4 on: January 26, 2018, 01:16:49 PM »
Hey, I`ve got a more common (newbie-ish) approach to this, I think (less controllable in the end, for sure).
Lots of variations by changing the Power Fractal and the Fractal Warp.
CHeers, Klaus
/ ASUS WS Mainboard / Dual XEON E5-2640v3 / 64GB RAM / NVIDIA GeForce GTX 780 / Win7 Ultimate

Offline bobbystahr

  • Member
  • *
  • Posts: 8531
  • Turn, and face the Strange Ch Ch Changes...D Bowie
Re: Lateral displacement - I beg you...
« Reply #5 on: January 27, 2018, 04:16:03 PM »
Cool stuff, thanks for the files guys..
something borrowed,
something Blue.
Ring out the Old.
Bring in the New

bobbystahr

 

anything