Flat Road projected onto surface / topography

   4447   5   0
User Avatar
Member
2 posts
Joined: Oct. 2019
Offline
Hi Guys,

I am new to Houdini. Watched a lot of tutorials, but still can't find a way to project road onto surface / height field.

To be more correct I can protect a road mask or road geometry, and it follows the main surface curvature. Which is fine.

What I want is that roads cross section stays horizontal?

Thank you

Attachments:
Screen Shot 2019-10-31 at 09.20.11.png (453.6 KB)
RoadProject.zip (135.0 KB)

User Avatar
Member
555 posts
Joined: Feb. 2017
Offline
just thinking outloud, lets' take the lower road that you've marked, make that ‘level’ if you drive along that road to the T section, the road infront of you MUST go ‘up’ so how does the ‘level’ road there you started from match up with the road going ‘up’ infront of you ? so it must gradually twist from being horizontal to 45 degs when it gets to the T section ?
User Avatar
Member
37 posts
Joined: Aug. 2015
Offline
Project only the center of your road onto the terrain. then extend the sides. Or if you road mesh is already done, project the center of the cross sections, leaving them flat. Then project the heightfield to the road to adapt the terrain.
Edited by Nicolas Longchamps - Nov. 4, 2019 13:22:48

Attachments:
RoadProject.png (210.7 KB)

User Avatar
Member
2 posts
Joined: Oct. 2019
Offline
Thank you guys. Good ideas I will try.
User Avatar
Member
30 posts
Joined: Feb. 2015
Offline
This tutorial by HoudiniKitchen is just what you want:


I really like these set of tutorials, they're very thorough and clearly explained. Fills a lot of holes if, like me, you've learnt Houdini piecemeal.
- blog: http://www.jerryhat.com [www.jerryhat.com] - usually features Houdini these days
User Avatar
Member
3 posts
Joined: July 2018
Offline
I think this tut gives a complete solution


https://www.youtube.com/watch?v=l4Z0X20ikSw [www.youtube.com]
  • Quick Links