Jump to content
Sign in to follow this  
JJ FX

Curve edge normals?

Recommended Posts

Posted (edited)

Hi, 

So when you have a curve and use Polyextrude SOP by default it uses prim/edge normals. So I've been thinking, maybe edge normals are precomputed already (you know, like normals in openGL even tho you don't have them as an attibute but you need them to draw properly in the viewport and render)? Or maybe it's just Polyextrude SOP  that is computing that. Do you think I can somehow access the edge normals?

I can recreate them myself, but maybe that would be futail, reinventing the wheel.

Edited by JJ FX

Share this post


Link to post
Share on other sites

Hi,

I think PolyExtrude SOP is using the same code as PolyFrame SOP to compute the normals for curves. So if you use the Bitangent attribute from PolyFrame SOP, it should match the default extrusion result of PolyExtrude SOP.

Share this post


Link to post
Share on other sites
On 8/22/2020 at 5:00 PM, animatrix said:

Hi,

I think PolyExtrude SOP is using the same code as PolyFrame SOP to compute the normals for curves. So if you use the Bitangent attribute from PolyFrame SOP, it should match the default extrusion result of PolyExtrude SOP.

Oh yeah, thanks!

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
Sign in to follow this  

×