Align OSM file to the terrain in Houdini

   2800   1   1
User Avatar
Member
1 posts
Joined: March 2016
Offline
Hello, I am trying to design a terrain for UE4 that includes OSM data imported from OpenStreetMaps. My question is how do I align the OSM file to the terrain created in houdini? When importing the OSM file it put the data on a flat plane, and I cannot figure out how to align it to my imported heightmap. Any help would be appreciated. Thank you.
User Avatar
Member
94 posts
Joined: Nov. 2017
Offline
Too late, but here are my thoughts. Attribute transfer from the heightfield map to each building point. Get lowest value per primitive and offset the primitive by this lowest value in y direction. E.g., you could uv map the heightfield map onto the buildings and apply it as color information for example. The check for the darkest color value and apply it to all points on the primitive. Use color as input for @P.y.
  • Quick Links