Flat Road projected onto surface / topography

   6275   5   0
User Avatar
Member
2 posts
Joined: 10月 2019
オフライン
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: 2月 2017
オフライン
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: 8月 2015
オフライン
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 - 2019年11月4日 13:22:48

Attachments:
RoadProject.png (210.7 KB)

User Avatar
Member
2 posts
Joined: 10月 2019
オフライン
Thank you guys. Good ideas I will try.
User Avatar
Member
30 posts
Joined: 2月 2015
オフライン
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: 7月 2018
オフライン
I think this tut gives a complete solution


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