Jump to content

Adding Curve Points In Hda


Recommended Posts

Hi

I got an object HDA and burried deep inside is a curve sop. I can export Handle to Type Properties and edit the curve at the obj level, but this does not include the ability to add points by SHIFT clicking on the curve.

Is there a way to promote the ability to add points to the top level of an Object HDA?

Thanks

Achim

Link to comment
Share on other sites

er...hmmm...

you could promote the string that defines the curve points...then edit that by hand (shudder)

or you could promote a refine after your curve...

not much help...

hmmm...

or you could build your curve with inputs from outside your HDA...that way you might have more control over the curve....

Link to comment
Share on other sites

or you could build your curve with inputs from outside your HDA...that way you might have more control over the curve....

this is what I'm doing now, but after discovering the handle promotion stuff (from the same post peliosis just mentioned), I was hoping to get the "add point" handle as well

Seems like I have to stick with my current solution

Link to comment
Share on other sites

if you are adding points.. aren't you changing the definition?

-k

21427[/snapback]

But I can have refine sops in an asset as well, and it doesn't change the definition, just the point count. It's the same in this case. I could also promote the curve defintion string to the asset level and change the curve there, which also would not change it's definition.

Like arctor said, "unless you build in something that allows a changing point count..."

Link to comment
Share on other sites

Is it possible to separate the curve generation from the asset itself? Makes it more procedural and open.

Houdini has a nice curve drawing tool at the object level called, erm, "Path". Just have the user point the asset at the object generating the curve. Could use any tool to generate that curve.

It follows a maya-like approach where custom tools do require you to know the software package a bit to knit things together.

I don't even know what the asset does though.

Link to comment
Share on other sites

that's something I've seen many people (me included) struggle with in building HDAs...the tendency to build huge elaborate structures that do everything and have infinite flexibility...it's often a real waste of time when building a few very simple HDAs that work together will achieve the same results but in far less time and frustration...

Link to comment
Share on other sites

I agree

In fact I tried to do almost the exact same thing as you're trying to do (well, the curve modifying part anyway). I found it infinitely easier just to wire in a curve as an input...

There comes a point where fighting against the natural workflow of the hda just isn't worth it. Personally I try and ignore the point as much as possible.. but sometimes you just gotta give in :)

M

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...