Thx for your ideas !
I tryied to build the road with a foreach point loop, but failed since im a big noob in houdini.
Same for Vex, i learned C# so i could write some code but VEX is pretty obscur for me…
Well i find some sort of workaround :
1. Using findshortestpath to connect all road point (but before i hade to place a triangulate node, it will create all the paths beetween road points and terrain points.)
That mean, findshortestpath will use all triangulated edge to find shortest path beetween road point, wich is pretty awesome. ( Start Points and end Points are roadpoints)
2. Using Fuse to merge all close points and make road look more natural.
3. Finally i added more terrain point ( screen 2-3 )
I'll upload the project if anyone wanna try, the cool thing, it use only node and no code at all.
The goal is to provide an easy tool that is just fun to play with and create some nice terrain with road, veg, rivers, houses, etc
Btw i found this pretty usefull tutorial for scripting in VEX :
http://www.tokeru.com/cgwiki/?title=Houdini#Attributes_as_groups.2C_or_groups_with_.40_syntax [
www.tokeru.com]
Next step would be to remove every edge that have a slope too high…