Jump to content

normal along surface


dark_cry

Recommended Posts

Hey all, i'm trying to get normal vector along surface, so i began with converting my object into sdf and scattered points onto regular object(not converted one into sdf), in vop sop i got normals that look onto surface with sdf volume. I attached simple scene of my first step. Now i have to rotate somehow my vector in 90 degrees with certain axis. I can't realize how. Maye with cross product but i need up vector for that... So really appriciate your help.

normalAlongSurface.hipFetching info...

post-7977-0-98115100-1352376851_thumb.pn

post-7977-0-06357200-1352376861_thumb.pn

Edited by dark_cry
Link to comment
Share on other sites

  On 11/8/2012 at 12:31 PM, SYmek said:

How about PolyFrame SOP to compute tangents?

I've tried polyFrame, it actually gives me that i want, but it rotates on kinda random axes, but i need normals that look always down, i mean to -y and kinda flow surface you know...

Link to comment
Share on other sites

  On 11/8/2012 at 1:51 PM, gui said:

I tried here and poly frame is strange. It can compute the normals along the edges, but one column don´t behave like others.

Is a tricky question, indeed, but here´s one possible solution. I made some comments in the nodes. Hope it helps.

Hey maan, that's exactly what i want, thnk u... That's gd start but i think gotta think about using it for my case

Link to comment
Share on other sites

  On 11/8/2012 at 2:20 PM, petz said:

do you want the tangents "flowing" down the surface? if so, have a look at: http://forums.odforc...ins/#entry92034

there should be a vopsop somewhere in the file doing exactely that.

hth.

petz

YES!, THATS IT MAN! Thank you. That was written in VEX. Great. Thnx one more time

Link to comment
Share on other sites

  • 2 months later...

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...