HDA with ordered array of 3D points as parameter

   1083   1   1
User Avatar
Member
1 posts
Joined: 5月 2022
Offline
Hi SideFx forum,

I am working on a road generation tool using Houdini and Unity engine. The road is based on real world data that we extract from an API in the form of an ordered list of 3D points that form a polygon.

For this project i need an HDA that takes an ordered list/array from unity containing 3D points (Vector3) as a parameter. Houdini would then use these points to build a 3D mesh of the road.

One way of doing this would be to serialize the list to a string and then decode it to a list using Vex in houdini. But maybe there is a better way of doing this?

Thanks in Advance, any help is greatly appreciated!
User Avatar
Member
8 posts
Joined: 5月 2020
Offline
How about writing a Unity script that populates an Houdini curve with the point data and then just pass the curve into the HDA?
  • Quick Links