pixelperfect3/BezierView — Issue #8: Fix the curvature problem for multiple patch
Author: ruijin
Created: 2012-02-28 00:02:20+00:00
State: open

For now, the curvature is calculated and then scaled and convert to color when eval_patch get called. The scaling is done by using the minimal and maximum curvature of each patch. For multiple patch, there should be a global minimum and maximum curvature so that all the patches using the same range to scale, otherwise the scaled curvature doesn't make sense.