Blender Git Loki
Git Commits -> Revision 923fb88
Revision 923fb88 by Campbell Barton (master) November 22, 2008, 14:54 (GMT) |
fix for painting onto faces from a side view in perspective mode, they would have jaggie clipping applied that looked bad. The reason for this was with transforming screenspace points outside the face into UV space and when the bucket bounds was enough outside the face. For faces viewed side on, this transformation would be applied incorrectly (a bit like trying to apply a projection matrix to a point behind the view), the buckets UV space coords would be incorrect and the wrong pixels would be initialized for that face. solution is to clip the screenspace face with the bucket before getting the UVs. This should also be a bit faster since the clipped polyline will have a smaller bounding box. |
Commit Details:
Full Hash: 923fb888d6284e16b5ef8b7c0c398438c8e9dd70
SVN Revision: 17533
Parent Commit: bef72fa
Lines Changed: +512, -122
1 Modified Path:
/source/blender/src/imagepaint.c (+512, -122) (Diff)