Blender Git Commit Log
Git Commits -> Revision 33b6583
Revision 33b6583 by Tamito Kajiyama (master) July 13, 2013, 19:33 (GMT) |
Fix for [#35482] 2.67 freestyle line visibility computation bug. The reported line visibility issue was caused by a wrong calculation of a 2D bounding box (so-called "proscenium face" in Freestyle) in the case of a spherical grid data structure used for a perspective camera. The problem was resulting from the proscenium computation based on two corners (min and max) of the 3D bounding box of imported mesh data. Aware of the spherical coordinate transformation involving non-linear (arctangent) functions, now the proscenium is computed by taking in account all the eight corners of the 3D bounding box. Also added minor code changes to facilitate future debugging. |
Commit Details:
Full Hash: 33b65832d2002979c27b39a1fbe1d59f77a24565
SVN Revision: 58222
Parent Commit: b739665
Lines Changed: +39, -23
7 Modified Paths:
/source/blender/freestyle/intern/view_map/ArbitraryGridDensityProvider.cpp (+2, -2) (Diff)
/source/blender/freestyle/intern/view_map/AverageAreaGridDensityProvider.cpp (+2, -2) (Diff)
/source/blender/freestyle/intern/view_map/BoxGrid.cpp (+4, -0) (Diff)
/source/blender/freestyle/intern/view_map/GridDensityProvider.h (+22, -17) (Diff)
/source/blender/freestyle/intern/view_map/Pow23GridDensityProvider.cpp (+2, -2) (Diff)
/source/blender/freestyle/intern/view_map/SphericalGrid.cpp (+4, -0) (Diff)
/source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp (+3, -0) (Diff)
/source/blender/freestyle/intern/view_map/AverageAreaGridDensityProvider.cpp (+2, -2) (Diff)
/source/blender/freestyle/intern/view_map/BoxGrid.cpp (+4, -0) (Diff)
/source/blender/freestyle/intern/view_map/GridDensityProvider.h (+22, -17) (Diff)
/source/blender/freestyle/intern/view_map/Pow23GridDensityProvider.cpp (+2, -2) (Diff)
/source/blender/freestyle/intern/view_map/SphericalGrid.cpp (+4, -0) (Diff)
/source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp (+3, -0) (Diff)