Auto scaling and moving heightfield

   2440   4   1
User Avatar
Member
6 posts
Joined: 12月 2012
Offline
Hello.
Forgive me for my lack of erudition.
I need to automatically scale and reposition the “heightfield” (1) to the size and position of the “grid” (2).
Help me please.

P.S.: I am using Google Translate.
User Avatar
Member
40 posts
Joined: 11月 2019
Offline
You can use a matchsize node to move and scale the heightfield in X and Z, you can also set the heightfield resolution by axis so the scale down wont affect the res of the height field

Attachments:
HF Matchsize.png (902.5 KB)

User Avatar
Member
6 posts
Joined: 12月 2012
Offline
gt3d2019
You can use a matchsize node to move and scale the heightfield in X and Z
gt3d2019, thanks a lot! This is exactly what I need!
User Avatar
Member
6 posts
Joined: 12月 2012
Offline
After matchsize, the shape of the curve changes for some reason. Becomes rough and angular.
Why?
Thanks for helping guys.

Project file (dropbox):
https://www.dropbox.com/s/x5jjux9bk918988/GeoV.zip?dl=0 [www.dropbox.com]
Edited by Chplt - 2021年8月31日 06:22:00

Attachments:
matchsize_curve.jpg (293.8 KB)

User Avatar
Member
6 posts
Joined: 12月 2012
Offline
I was advised a solution.
After the merge node, create a new transofrm node and make a small uniform scale value like 0.00001.
It worked for me
Edited by Chplt - 2021年9月6日 08:36:48
  • Quick Links