Copy SOP geo orientation problem

   13895   8   3
User Avatar
Member
25 posts
Joined: July 2007
Offline
Hi, I want to instance a square to points of a curve in a way that the square align/orient their axis along the curve, but the box skewed in a weird way, the doc mentioned the orient attribute but I am not clear how to use it, hope someone can give me some helps.

Thanks in advanced

Attachments:
copyTest.hip (50.9 KB)
copyPic.JPG (114.3 KB)

User Avatar
Member
523 posts
Joined: July 2005
Offline
Hello Takeshi,


I got one solution and that is making your circle geometry XZ plane-based….





bern

Attachments:
copytest_2.hipnc (57.4 KB)

User Avatar
Member
25 posts
Joined: July 2007
Offline
Hi, Bernard, thanks for the solution! It works fine, much appreciated.

Though I am still keen to know why it doesn't work in my original case, or more generally, how to control the orientation of the copied geo. I have feeling the problem will come back to haunt me in the future…
User Avatar
Member
50 posts
Joined: Jan. 2006
Offline
I remember Jason Iverson had nice piece of visual explanation of orientation and motion blur as it realated to instancing geometry, maybe he would be kind enough to point you in the right direction.

-3db
“Don't just look for what you think you will find”

-That CSI guy
User Avatar
Member
1390 posts
Joined: July 2005
Offline
http://www.sidefx.com/components/com_forum/files/instancing_273.jpg [sidefx.com]
http://odforce.net/wiki/index.php/MantraInstancing [odforce.net]

I think this was Wolfwood (or Edward?)


cheers,
sy.
User Avatar
Member
50 posts
Joined: Jan. 2006
Offline
ohh my bad, maybe I found it on a link Jason posted and just thought it was his….either way thanks, cuz I was looking for that 2!
“Don't just look for what you think you will find”

-That CSI guy
User Avatar
Member
344 posts
Joined: July 2005
Offline
Create some normals and up vectors on the geometry you are copying to.

Attachments:
alignment.hipnc (58.8 KB)

User Avatar
Member
344 posts
Joined: July 2005
Offline
Here's another

Attachments:
alignment2.hipnc (53.2 KB)

User Avatar
Member
25 posts
Joined: July 2007
Offline
Thanks guy for all the helps. Things are much clear now.

@Michael: Thanks for taking the time preparing the files, they are very helpful. Actually, I think they should be added to the upvector/copy sop helpcard.
  • Quick Links