SCR Streamline Animation Code

This page will list the bug list encounter of execute SCR.

1. Finding Adjacent List

Note that most of the cases can run correctly in this step, but there has some possibly discover cases will cause the error of finding adjacent list:

i. Shorthest Streamlines in the frames

The short streamlines in the frames may cause the adjacent list order not correct.

Since the algorithms will miss-matched the shortest Euclidean distance point.

Current Solution: Remove the shortest streamlines manually before finding adjacent list.

Possible Future Solution: Add more sampling point on the current streamlines when finding adjacent.

ii. Streamlines slope angle is nearly 45

Streamline of the angle nearly 45 will hard to determine this streamlines is vertical or horizontal, and cause the adjacent order wrong.

Current Solution: Reverse the adjacent order of current streamline when the loop streamlines occurs.

Possible Future Solution: No idea yet.

Note: User are able to manually modification the adjacent list by edit the Config file if wrong adjacent list calculate occurs.

2. Streamline Corresponding Problem

i. Crossing and Reverse Issues

For the crossing problem, this is cause by the patch of 2 keyframe position is time-varying.

For the reverse problem, this is cause by the streamlines generation points order. Sometime the streamlines point order is upside down.

Current Solution: Modified the Config File or Adjust the Streamlines position inside Vpaint

Possible Future Solution:

1. Add the constraint of cannot crossing adjacent list

2. Determine if the head and tail of the sample points is in reverse position.

3. Insertion Streamlines

i. Boundary Streamlines

if the current unmatched streamlines is include the boundary streamlines, which means it is unable to interpolation and insert a new streamlines into 2 adjacent streamlines. The program will crash in this condition.

Possible Future Solution:

1. Extrapolation the boundary streamlines

2. Don't remove the boundary streamlines

4. Streamlines Respacing

(some un-implement yet code)

  • The iteration parameters in the ui panel is not yet set-up.

Last updated