Curve Offset Tool

   14141   27   1
User Avatar
Member
72 posts
Joined: March 2014
Offline
We have a useful tool in Maya to create new curve with some offset to base curve , It's Curve Offset.

But I can't do it in the Houdini with Peak SOP , How can I do that ?

Thanks.
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
You can use Extrude SOP , Just you should use “Thickness Offset” parameter instead of “Depth Scale” !
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
This is a example file with more features 8)

Attachments:
JKCurveOffset.hip (66.0 KB)

https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
72 posts
Joined: March 2014
Offline
Specially thanks Sadjad with your fast reply :shock:

I have another question , How we can do that with Peak SOP ?
Why it can't do that correctly ?
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
The Peak SOP using Normal vector for peaking points , so you should first compute your normal vector correctly. :idea:
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
This is another example about how you can use Peak SOP , Of course it can't offset your curve perfectly for large amount of offset ,it's just for learning :roll:

Attachments:
JKCurveOffset_Peak.hip (75.6 KB)

https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
72 posts
Joined: March 2014
Offline
Thanks again sadjad for your helps 8)
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
Jack.N
Specially thanks Sadjad with your fast reply :shock:

I have another question , How we can do that with Peak SOP ?
Why it can't do that correctly ?



:wink:
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
72 posts
Joined: March 2014
Offline
Sorry guys for my many questions , But I have another question.

I working on some different projects about working with curves and path (like Offset Tool).

for now I like to know what's method can be use for Curve Deformers ?
my meant is deforming a geometry on the curve.

In Maya we can do this with Motion Path and then using Flow Path Object.

But in the Houdini we don't have same tool , Of course I found some similar tools in the Orbolt3D , But I l wanna know how I can do that manually ?
specially thanks
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
I'm not sure about another methods , But I'm familiar with these two methods :

1. Using Lattice
2. Using Curve Attributes

A : in the first method we can use Sweep SOP to copy some primitives on the curves (usually they are simple grid) , So now we can use them as Lattice shape , It's like a Box that deformed like your curve , Then we should use Lattice SOP for deforming original geometry by this Deformed Lattice shape.
The best example about this method is PathDeformer Tool in the Orbolt from Animatrix.
I think Maya use this method for Flow Path Object , Because Maya add Lattice Deformer on the Curve after using this tool.

Although this method is simple But I think the second method is better and faster than first one !

B : in the next method you should compute some attributes for your curves such as : Up vector , Tangent Vector , B Tangent Vector
Then we should compute relative position of each point from source geometry to curve's point , Then we copy curve's attribute from nearest point on the curve to each point on the source geometry.

finally we can use these 3 vector attrs for rotating points of the source geometry.
NOTE : we should put these attrs in the Matrix , then multiply this Matrix by point's position of the geometry.
in the final step we should add position of these new rotated points by curve's points position.

this method is really faster than first one and you don't need to any additional nodes like Lattice or Sweep.
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
This is a great HDK plug-in from Stalkerx777 that using second method :

https://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=34005&highlight=Path+Deformer [sidefx.com]
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
And this is animatrix HDA from Orbolt library :

http://www.orbolt.com/asset/animatrix::pathDeform::1.00 [orbolt.com]
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
72 posts
Joined: March 2014
Offline
Woooooooooow :shock:

Specially thanks for this perfect answer Sadjad :roll:
Your are one of the BEST
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
Jack.N
Woooooooooow :shock:

Specially thanks for this perfect answer Sadjad :roll:
Your are one of the BEST

ops:
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
72 posts
Joined: March 2014
Offline
Of course it's complex for me and I should learn more about Houdini :roll:
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
Jack.N
Of course it's complex for me and I should learn more about Houdini :roll:

Everyone should learn more about Houdini , Houdini is a really infinity software :!:
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
1769 posts
Joined: Dec. 2006
Offline
with polyframe

Attachments:
offsetCurve.hip (58.7 KB)

daniel bukovec | senior fx td | weta digital
qLib -- http://qlab.github.io/qLib/ [qlab.github.io]
User Avatar
Member
4485 posts
Joined: Feb. 2012
Online
Joker386
And this is animatrix HDA from Orbolt library :

http://www.orbolt.com/asset/animatrix::pathDeform::1.00 [orbolt.com]

Thanks for the plug mate

Btw there is also Offset Curve SOP:
https://www.orbolt.com/asset/animatrix::offsetCurve::1.00 [orbolt.com]
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]

youtube.com/@pragmaticvfx | patreon.com/animatrix | animatrix2k7.gumroad.com
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
pusat
Joker386
And this is animatrix HDA from Orbolt library :

http://www.orbolt.com/asset/animatrix::pathDeform::1.00 [orbolt.com]

Thanks for the plug mate

Btw there is also Offset Curve SOP:
https://www.orbolt.com/asset/animatrix::offsetCurve::1.00 [orbolt.com]

Yes , This tool is great too , like others. Thanks
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
buki
with polyframe

Yes , That's abusive using PolyFrame SOP is better than last method , thanks
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
  • Quick Links