Blender Git Commit Log
Git Commits -> Revision d9e0e88
Revision d9e0e88 by Nicholas Bishop (master) December 29, 2006, 08:40 (GMT) |
Sort-of-fix for bug #5382, sculpt - image/texture brush heavily distorted when not sculpting flat relative to screen Fix for bug #5248, sculpt - mirrored tiled texture odd results Changed the algorithm used for projecting the brush texture onto the model. The old algorithm was never implemented properly, causing increasingly wonky distortions of the brush as it got farther away from parallel to the screen. The new system uses the screen coords of vertices, the obvious advantage being that 2D screen coords can be mapped quite easily to 2D texture coords. The main disadvantage of this method is that there are still distortions in the brush as the surface beneath it becomes less parallel the screen. These distortions, however, are not as bad as the old ones because they are predictable from the user's perspective. (It's analogous to a movie being projected onto a sphere; if the viewer is in front of the sphere there is no apparent distortion, but from the side the movie appears stretched and distorted.) This may still be worth revisiting after the release. |
Commit Details:
Full Hash: d9e0e883f24070e0d6436f5880615299764f0488
SVN Revision: 9526
Parent Commit: efce404
Lines Changed: +82, -109