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. 



Share this post

Link to post
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.






Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now