diff options
author | Laurynas Duburas <laurynas> | 2022-01-22 01:40:49 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-01-22 01:40:49 +0300 |
commit | 45d038181ae25972011f9656ba4f7062aa1c534f (patch) | |
tree | 47dc5b9f30ceae95623c5172b43a2916146ce06b /source/blender/modifiers/intern/MOD_weld.cc | |
parent | d590e223daf6e20d462f2b197d32606d69873051 (diff) |
Curves: Improve accuracy and clarity of NURBS knots calculation
This commit improves NURBS knot generation by adding proper support
for the combination of the Bezier and cyclic options. In other cases
the resulting knot doesn't change. This cyclic Bezier knot is used to
create accurate accurate "Nurbs Circle", "Nurbs Cylinder" primitives.
"Nurbs Sphere" and "Nurbs Torus" primitives are also improved by
tweaking the spin operator.
The knot vector in 3rd order NURBS curve with Bezier option turned on
(without cyclic) is changed in comparison to previous calculations,
although it doesn't change the curve shape itself.
The accuracy of the of NURBS circle is fixed, which can be checked by
comparing with mesh circle. Tessellation spacing differences in
circular NURBS is also fixed, which is observable with the NURBS
cylinder and sphere primitives. These were causing seam-like effects.
This commit contains comments from Piotr Makal (@pmakal).
Differential Revision: https://developer.blender.org/D11664
Diffstat (limited to 'source/blender/modifiers/intern/MOD_weld.cc')
0 files changed, 0 insertions, 0 deletions