Read-Write access for Houdini-generated mesh?

   2778   2   1
User Avatar
Member
11 posts
Joined: Sept. 2015
Offline
Hi, everyone!

Recently I've been working on a realtime foliage generation system in Unity that I wanted to connect to my Houdini terrain generation.
The problem is that for this to work I need to read the triangles of a generated mesh and enable the “Read/Write Enabled” flag, at least in a normal asset.

The meshes cooked by Houdini Engine however don't give me this option. When I try to access them I get a script error that the mesh is not readable. Is there any way for me to set this in the asset or when cooking?

Thanks

Attachments:
Hengine.jpg (151.0 KB)

User Avatar
Member
571 posts
Joined: May 2017
Offline
I added support for generating readable meshes in the plugin. It will be in tomorrow's daily build. You'll need to create an integer attribute called “unity_mesh_readable” and set its value to 1.
User Avatar
Member
11 posts
Joined: Sept. 2015
Offline
That is fantastic to hear. Thank you very much, I will test it as soon as I have some time!
  • Quick Links