Houdini engine question

   1386   0   1
User Avatar
Member
8 posts
Joined:
Offline
First of all what I am trying to make:

A tool that takes a set of geometries and outputs a mesh with an object id encoded into the vertex colors. This is for creating meshes for realtime - there I'm picking up this extra data in a shader (in this case for variation within a mesh)

This is very easy to do in houdini standalone (see image_1), but I'd like to make this usable in maya via houdini engine.



I'm exposing a merge object node to the asset level as described in the help:
“Although the parameter can be created manually, the more common and simple to create an Object Merge SOP, and promote the object parameter to the asset level. The input geometry is then accessible from the output of the Object Merge SOP.”
Sadly the inputs seem to get merged by houdini engine along the way before it's getting to my object merge - but I need them to be packed individually there.

in maya:


when debug opening the asset in houdini:


“fixing it” in houdini:


Is there a way of changing this behaviour? Or another solution alltogether?

Thanks a lot for any help!
Seb

Attachments:
houdini_1.PNG (637.3 KB)
houdini_2.PNG (64.8 KB)
houdini_3.PNG (684.2 KB)
houdini_4.PNG (831.8 KB)
objectid_as_vertexcolor.hip (168.1 KB)
sp_encode.hda (6.7 KB)

  • Quick Links