I'm working on an HDA that will be utilized in Maya, and I've created a pointcloud that gets masking data for the Cd from a texture inside of a pointvop_ray node. In the cmap field of the colormap node I entered `chs(“../masktexture”)` which is the channel for the user to input the texture to. This works fine in Houdini, but when I bring the HDA into Maya, the string is lost and the HDA doesn't work as intended. I've tried creating a string attribute in vex and storing the channel information there: s@maskmap = chs(“../masktexture”);
However, this also does not work. When I debug back to houdini, the path to maskmap attribute is correct (looking at the string stored on the points) however, there appears to be some kind of disconnect because the points are not receiving the Cd from the maskmap attribute(which is bound to the cmap field of the colormap node in the pointvop).
Any ideas to get the colormap in the vop to point to a channel so it works in both maya and houdini?
Is this a bug for the Houdini engine for Maya?
Here's an HDA to showcase the issue. The tool expects a plane in the ZY plane that has UVs already, and also expects a black and white mask(I suppose any texture would do really). It will work in houdini fine. When you bring it into maya, it will still create the mesh but it behaves as if the string is empty?
Maya unable to read the colormap parameter in pointvop_ray.120 2 0
- Quick Links