Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

RickWork

Deform Object By Curve

Look in the help for "WireCapture" and "WireDeform". Actually, there might be posts with example hip files if you search around the forums. Cheers!

Share this post


Link to post
Share on other sites

uhmn when I looked at the help card for wire capture and wire deform I thought it was for character animation and enveloping.

I'll give it a shot.

Cheers,

/Rick

Share this post


Link to post
Share on other sites

Alrighty, how to use the wire capture/wire deform operator? It can't be this difficult.

I did try to search here for "wire capture" and came up with this thread. Performing the same search on the sesi forums returns everything with the word wire in it which is mostly DOps.

I have a snake like nurbs curve and I have a poly tube, I want the tube to behave like the curve.

Wire Capture SOP

If I put the curve into input # 1 and a tube into input #2 and hit the initialize from Primitives button. A warning appears "No points captured"

Can anyone offer a brief idea on how to set this up?

I'm gonna need to deform many objects (copy sop objects) by a curve.

Share this post


Link to post
Share on other sites
I have a snake like nurbs curve and I have a poly tube, I want the tube to behave like the curve.

24663[/snapback]

In that case you might want to try the Lattice SOP in "Points" mode. Check the help on that one -- it's pretty simple to set up.

Share this post


Link to post
Share on other sites

welcone to Houdini default parameter settings :)

on the wire_capture SOP, set "U_radius and Lookup" to something > 0

with the display flag on the wire_capyure SOP you can see it in the viewport

Share this post


Link to post
Share on other sites
In that case you might want to try the Lattice SOP in "Points" mode. Check the help on that one -- it's pretty simple to set up.

24665[/snapback]

lattice sop really? I thought I had to deform my object before I send to the lattice sop which I never really understood why in needed to deform it before I can deform it (lattice SOP right input). LOL

I have attached a file where I have tried with the Lattice Sop points and with the wire capture/wire deform sops.

Edit: Thks arctor, I have made the U Radius larger which makes that sop happy but the wire deform fails.

I'd appreciate it if If anyone could take a quick look at the attached file.

Deform_Curve.hip

Share this post


Link to post
Share on other sites

just trying to get into what you're doing here....

are you trying to deform the _curve_ based on the deformation of the _tube_

or trying to deform the _tube_ based on the deformation of the curve?

Share this post


Link to post
Share on other sites
just trying to get into what you're doing here....

are you trying to deform the _curve_ based on the deformation of the _tube_

or trying to deform the _tube_ based on the deformation of the curve?

24668[/snapback]

Sorry for not being clear, I'm trying to deform the tube based on the deformation of the curve.

Thanks

Share this post


Link to post
Share on other sites
I have attached a file where I have tried with the Lattice Sop points and with the wire capture/wire deform sops.

24667[/snapback]

Hey Rick,

Here's an example usage of the lattice sop in "points" mode which will hopefully clear things up a bit. I'll let arctor demo the wire deformer :)

look in the "model" object

Deform_Curve_showlattice.hip

Share this post


Link to post
Share on other sites
Hey Rick,

Here's an example usage of the lattice sop in "points" mode which will hopefully clear things up a bit. I'll let arctor demo the wire deformer :)

look in the "model" object

Deform_Curve_showlattice.hip

24670[/snapback]

Thanks Mario,

That's it! I had things backwards. I was under the impression that I needed to supply a rest geometry for the object that I want to deform.

Cheers!

/Rick

Share this post


Link to post
Share on other sites
here is your file...I added a section with comments on the SOPs

hope that helps

24671[/snapback]

nice, I think I get it now. My main mixup was which was the rest geometry.

I appreciate the help.

Share this post


Link to post
Share on other sites

This is probably trivial but I can't find it.

How does one deform an object by a nurbs curve?

Cheers,

/Rick

Copy your curve1 object (before you apply any deformations on it) and connect it as a second input for a wiredeform SOP.

OR connect the same curve (but through an Edit SOP) to the 3rd input and apply deformations at Edit SOP level.

Wiredeform.hipnc

Edited by thx1138
1 person likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now