-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I ask just for curiosity.
Is there a clean mathematical way to solve the following problem?
There is a Mathematical weakness if a edge line points directly in the center.
So if the two points of a edge are in a straight line to the center (0,0,0).
I speculate, it is the reason for the noise used in Animate::Animate(), to prevent that edge lines point directly in to the center.
Animate::Animate () {
...
noise0 = 0.005f;
noise1 = 0.0005f;
For example:
In this code part the resolut for n b is infinite/NaN, because r3_norm(N) and r3_norm(B) result is 0, if the edge line points to center.
inline float stereo_project (const Vect& x, const Vect& dx, Vect& y, Vect& N, Vect& B) {//projects a tangent vector : R^3 >--> S^3 --> R^3 to normal vectors
...
float n = scale / r3_norm(N);
float b = scale / r3_norm(B);
Or the Edge tube of such edges gets wobbly because it misses the adjustment.
Metadata
Metadata
Assignees
Labels
No labels