if(cur.x < 1) f = min(prv.x, d * 0.5 + 0.5); else { if(cur2.x < 1) f = min(prv.x, d * 0.5); else f = prv.x; }

**To recap**- can anyone share their experience on this? Eg if, then why wouldn't exact SDF transform be possible using something like the above approach, because the distance metric is actually correct, as is clipping and sign calculation/packing?

**Edited by irreversible, 18 February 2013 - 03:30 AM.**