Jump to content

How to control the direction of polyextrude in local coordinates.


Recommended Posts

Probably very simple, but I can't figure out how to control the local coordinate system for polyextrude. I.e. point control over in what direction to extrude the points. I'm setting the point normal, but it has no effect. If I use a particle system, connect those with add, and polyextrude, the extruded faces are completely static; however if I use the Trail SOP, the direction of the polyextrude is changing every frame. How can I control it? Simple HIP attached. 

 

trail_polyextrude.00015.hipnc

Link to comment
Share on other sites

Hey Memo,

 

Considering how much your work has helped me in openFrameworks I thought it would only be fair to see if I could help you out on this. :)

 

I found this little gem which seems to solve the problem.  The issue is how the polyExtrude treats the incoming geometry.  If the group field is left empty it treats the geo as primitives and ignores the Normal orientation.  If you create an edge group first and feed that into the polyExtrude it treats the geo as edges and should then work as you'd want it to.

 

Hope that helps.

 

Mike

 

 

trail_polyextrude_with_groups.hipnc

Link to comment
Share on other sites

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