Ramp working in Houdini Engine for Maya

   3004   3   1
User Avatar
Member
5 posts
Joined: April 2016
Offline
just curious if the ramp is working.


I use it to control the shape of a curve. Works great in Houdini…but FUBAR in Maya.
User Avatar
Member
818 posts
Joined: Sept. 2013
Offline
Yes, ramp should be working. How is the ramp breaking for you?
Andrew / アンドリュー
User Avatar
Member
5 posts
Joined: April 2016
Offline
I am getting unpredictable behavior that is not the same as in Houdini. I can add points…..but Maya likes to append the point to the end of the curve instead inserting the points like in Houdini.

Attachments:
RampToPoints.hda (4.2 KB)

User Avatar
Member
818 posts
Joined: Sept. 2013
Offline
This is because the asset uses the ramp points assuming that the points are sorted. In Houdini, the UI tries to keep the ramp points sorted, but this is actually not true in general. See the attached HIP file for an example of unsorted ramp points.

In Maya, the UI doesn't try to keep the points sorted at all, which is why you're seeing that behavior. It's possible for the asset to take this into account by sorting the points manually. See the attached asset for an example. I tried to workaround the issue by sorting the points inside the plugin, but it's not so straightforward.

Attachments:
RampToPoints.2.hda (4.6 KB)
unsorted_ramp.hip (50.3 KB)

Andrew / アンドリュー
  • Quick Links