Initializing signed distance analytically for color
This commit is contained in:
parent
040edfbbe3
commit
ff5371fd3e
@ -196,8 +196,8 @@ void TwoPhase::ColorToSignedDistance(double Beta, DoubleArray &ColorData, Double
|
||||
else DistData(i,j,k) = temp;
|
||||
|
||||
// Basic threshold
|
||||
if (value > 0) DistData(i,j,k) = 1.0;
|
||||
else DistData(i,j,k) = -1.0;
|
||||
//if (value > 0) DistData(i,j,k) = 1.0;
|
||||
//else DistData(i,j,k) = -1.0;
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user