Author Topic: Power Fractal only one side.  (Read 846 times)

Offline 8609852k

  • Member
  • *
  • Posts: 12
Power Fractal only one side.
« on: August 24, 2016, 08:06:44 PM »
Hello,

I try to understand the depths of Terragen with different exercises. Today I tried the lateral displacement only on a cube . But I can not. Here is my .TGD file ...


Where does my problem?

I think for a color cube in front of my solution is the same ?

Perhaps this comes from the "get position" ? I do not really understand the difference between the "get position" and the "get position in texture" ...
I spend a lot of time on wiki to understand each node but it's really complicated ...

Thank you for your help!

Offline cyphyr

  • Terragen Alpha Tester (Win)
  • ***
  • Posts: 3882
    • richardfraser
Re: Power Fractal only one side.
« Reply #1 on: August 24, 2016, 08:55:30 PM »
try this
<edit> Ulco's solution is much better, mine distorts the side of the cube (although not displaces) and only works on direct axis.
« Last Edit: August 25, 2016, 12:12:35 PM by cyphyr »
www.richardfraser.co.uk
https://www.facebook.com/RichardFraserVFX/
/|\

i7 5930 @3.5Ghz, 32Gb (TG3 benchmark 6:04)
i7 980 OC'd @3.9Ghz, 16Gb (TG3 benchmark 6:30)

Online Dune

  • Terragen Alpha Tester (Win)
  • ***
  • Posts: 14349
    • www.ulco-art.nl
Re: Power Fractal only one side.
« Reply #2 on: August 25, 2016, 05:50:21 AM »
Your solution also works on the other side(s), Richard, I'm sorry to say. And it very much depends on the rotation of the cube whether it will work as wished; a small rotation and it will displace more sides.
If the cube is on its final place a simple shape (placed in location with same rotation) can be used to mask the side to be effected. Then any displacement or vector displacement can be used, masked by that simple shape.
I tried some things, but the vector displacement is still a bit cumbersome with rotation.

Btw. difference between get position and get poition in texture is that the latter line of functions can be altered (by warp, e.g.) afterwards, the former can't.
« Last Edit: August 25, 2016, 06:02:59 AM by Dune »

 

anything