DrawUI icon indicating copy to clipboard operation
DrawUI copied to clipboard

Rendering idea: 3d transforms of fixed width line

Open adamwulf opened this issue 5 years ago • 1 comments

Is it possible to define a 3d transform of a fixed width rendered line, so that the end points are tapered to different widths. I think the perspective of a 3d transform should allow for one endpoint to be 'further away' from the other, causing the fixed width line to appear to taper along the path. i'm not sure how that perspective would affect the tangent at each endpoint.

adamwulf avatar Sep 07 '20 18:09 adamwulf

I believe I can make the transformed path exactly match the pre-transformed path by sending the control points through the inverse-transform. that way the transformed control points will show in the correct positions after the transform. this should keep the tangents correctly aligned for neighboring segments.

adamwulf avatar Sep 08 '20 16:09 adamwulf