Skip to content

Commit

Permalink
Fixed typo in Loft Splines and Structured Unfiform vs Resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarEmaraDev committed Mar 13, 2017
1 parent 25fdfac commit cad8209
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/includes/nodes/uniform_vs_resolution.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,12 @@ To understand this better lets look at the following example:

.. image:: /includes/nodes/images/uniform_vs_resolution_interpolation.png

The above example shows 2 identical splines, The splines have some small handles as well as large ones, the small handles shows high density parts(dense geometry)---You can see those parts where lines are close to each others---while the large ones show low density parts(relaxed geometry). If we were to plug some values`0.1`,`0.2`,`0.3`,... in the parameter input when using **Uniform** option, we will get some equally distant points---See upper spline---and that makes sense because we plugged in some numbers at regular intervals. Now If we were to plug some values`0.1`,`0.2`,`0.3`,... in the parameter input when using **Resolution** option, we will get some irregularly distant points---See lower spline---we plugged in some numbers at regular intervals and we got some points at different distances. We conclude that the **Uniform** option sample point in regardless of the geometry of the spline while **Resolution** option sample points based on the geometry of the spline. It is also observed that the **Uniform** option took much longer time to sample than the **Resolution** and that is the cost of using **Uniform**.
The above example shows 2 identical splines where the upper one uses **Uniform** and the other uses **Resolution**.
If one were to sample some points at regular intervals on both splines, He would observe that:

- Points on **Uniform** are regularly distributed.
- Points on **Resolution** are dense at some areas and spaced at others.

So we notice that **Resolution** care about the geometry of the spline and so a regularly spaced parameters will be closer at parts of the spline where it has dense geometry and spaced at relaxed parts.

**Uniform** on the other hand will yield results based on the actual distance along the spline, however, it is much slower to compute.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cad8209

Please sign in to comment.