Hi,
I want to copy an object along a path and orient it to the normal of each point. Just like the sweep sop, but I need control over each object, so I'd like to use the copy sop.
How can I orient the objects to the normal of each cv of the curve?
I tried the convert sop (to poly) and some other ways, but can get it…
Any help would be appreciated!
Thx,
Chris
Copy along path with orientation
36422 8 3- goafreak
- Member
- 7 posts
- Joined: 7月 2010
- Offline
- tamte
- Member
- 8785 posts
- Joined: 7月 2007
- Online
use Polyframe SOP to create tangent and up vector for your curve
then use attribute SOP to rename
“normal” to “up”
“tangentu” to “N”
(because just specifying name in polyframe doesn't always work with “N”)
in closed curves you need to use “tangentv” as “N” to get tangent vector
you can also create arbitrary “up” if you want to avoid some problems
copy SOP will then compute rotation automatically according to “up” and “N”
or use this method
http://www.sidefx.com/index.php?option=com_content&task=view&id=1242&Itemid=132 [sidefx.com]
then use attribute SOP to rename
“normal” to “up”
“tangentu” to “N”
(because just specifying name in polyframe doesn't always work with “N”)
in closed curves you need to use “tangentv” as “N” to get tangent vector
you can also create arbitrary “up” if you want to avoid some problems
copy SOP will then compute rotation automatically according to “up” and “N”
or use this method
http://www.sidefx.com/index.php?option=com_content&task=view&id=1242&Itemid=132 [sidefx.com]
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- goafreak
- Member
- 7 posts
- Joined: 7月 2010
- Offline
- samboosa
- Member
- 26 posts
- Joined: 9月 2010
- Offline
- twelveplusplus
- Member
- 194 posts
- Joined: 8月 2011
- Offline
- eitht
- Member
- 257 posts
- Joined: 11月 2010
- Offline
- Mattias Magito
- Member
- 9 posts
- Joined: 8月 2013
- Offline
- _Christopher_
- Member
- 767 posts
- Joined: 4月 2014
- Offline
I want to post my network, hoping someone can verify as accurate to what tamte mentioned in the 2nd post of this thread. Except how can I get the tubes tighter to the curve ?
As well how do I preview the point normals, I added an attribute create and set the value to N but no point normals are displayed ?
As well how do I preview the point normals, I added an attribute create and set the value to N but no point normals are displayed ?
【T】【C】【S】
- anon_user_46661527
- Member
- 12 posts
- Joined: 1月 2017
- Offline
tamte
use Polyframe SOP to create tangent and up vector for your curve
then use attribute SOP to rename
“normal” to “up”
“tangentu” to “N”
(because just specifying name in polyframe doesn't always work with “N”)
in closed curves you need to use “tangentv” as “N” to get tangent vector
you can also create arbitrary “up” if you want to avoid some problems
copy SOP will then compute rotation automatically according to “up” and “N”
or use this method
http://www.sidefx.com/index.php?option=com_content&task=view&id=1242&Itemid=132 [sidefx.com]
Very nice tip and thank you very much !
Could you explain a bit, why you need to do those steps ?
Edited by anon_user_46661527 - 2017年5月5日 17:51:03
-
- Quick Links