You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The setup is to create a curve piece of a two linear pieces connected by a 90 degree circle segment. Along this curve piece we drag a flat surface disc to sweep out a tube-like volumetric geometry.
The reason for the bug is that the binormals require acceleration terms to compute, but for linear curve pieces these are [0,0,0]. I tried to create some form of heuristic where it's defined to be along the x/y/z-axis and in addition not parallel to the velocity vector. However it now seems like this heuristic fails at the transition between linear curve pieces and circular curve pieces.
The text was updated successfully, but these errors were encountered:
It's hard to define this as a bug since the binormal is mathematically ill-defined along straight lines. However, the reasonable choice given that we can choose any binormal we want (except parallel to the velocity), would be to choose the one which is at the end of the circular piece. From an implementation point of view, this means we have to search along the curve piece for the nearest well-defined binormal which in this case is in the center of the curve. What happens if you have a well-defined binormal both before and after the linear piece; i.e. a U-form of shape with linear-curved-linear-curved-linear structure? Do we do some sort of interpolation between the two nearest binormals?
Tagging this as enhancement since the current implementation isn't exactly wrong, its just impractical.
The setup is to create a curve piece of a two linear pieces connected by a 90 degree circle segment. Along this curve piece we drag a flat surface disc to sweep out a tube-like volumetric geometry.
The reason for the bug is that the binormals require acceleration terms to compute, but for linear curve pieces these are [0,0,0]. I tried to create some form of heuristic where it's defined to be along the x/y/z-axis and in addition not parallel to the velocity vector. However it now seems like this heuristic fails at the transition between linear curve pieces and circular curve pieces.
The text was updated successfully, but these errors were encountered: