Last update on 12/2/22, by Jimmy Chen

References

https://www.sidefx.com/forum/topic/66357/

https://www.youtube.com/watch?v=bTlY9ahThdQ&feature=emb_title

Overview (Current Version)

The tool can generate the city road with defined outline. Also, the tool can generate intersection if there are multiple splines connect. To make the road looks more lively, we also let users to add road side and ornaments along the road. By segmenting different parts of the road, we help users to apply different kinds of materials on the road easier.

Interface

Untitled

Instruction

Road Tool

Version 4.2

While testing the previous version, I found out that some external model will be translated after feeding the model to Houdini Engine. It turns out that every model has its own pivot point, and using current translation procedure cannot fix the problem.

Hence, I look into the way to automatically detect the offset from pivot point to the origin. Then, I found one solution using the centroid function in the Houdini. The function simply fetch the pivot position for the model, and I use that as the offset value for the transform node. Also, I need to add a negative value for the translate field to make the position correct.

Untitled

Some results are as follows:

Untitled

Untitled

Also, I add some adjustable fields for the user to change the scale and position of the model.

Version 4