How to project curve onto surface & possible point number bug

   4559   1   1
User Avatar
Member
159 posts
Joined: July 2010
Offline
I'm trying to project a curve onto a distorted sphere.
I can't use the project SOP, because that requires the surface and projected curve to be nurbs.
I need both to be polygons for more flexibility downstream.
I'm trying to use a ray SOP, but it appears to require a surface to project onto another surface.
My work around is to take a copy of my curve, move it a small distance perpendicular to direction of projection, merge, then skin.

The possible bug I'm experiencing is that the displayed point numbers no longer reflect the actual point number, after the skin sop is applied.

Please refer to attached example.

Is there a way to project a polygonal curve onto a polygonal surface?
Is the point number display discrepancy, post skin sop, a bug?

Houdini version: 16.5.473
CentOS Linux release 7.3.1611

Image Not Found


thanks

Attachments:
projectCurveOnSphere.v02.hipnc (83.7 KB)

User Avatar
Member
385 posts
Joined: Nov. 2016
Offline
Hey syntheticperson, try changing the entity parameter of your ray SOP to points, and giving it a vector or attribute direction. Should work!
Edited by Tanto - June 21, 2018 18:11:04

Attachments:
projectCurveOnSphere_modified.v02.hipnc (75.2 KB)

  • Quick Links