Blender Git Loki
Git Commits -> Revision 622a65a
Revision 622a65a by Tamito Kajiyama (master) January 10, 2010, 14:08 (GMT) |
Fixed a bug in SilhouetteGeomEngine::ImageToWorldParameter() that caused instability issues regarding the view map creation. A new iterative solver of the 2D-to-3D inverse projection transformation problem was implemented. Instead of directly solving the problem in the direction from the 2D to 3D space, the new solver starts with an initial guess of an approximated solution and asymptotically approaches to the true solution by iteratively performing the forward 3D-to-2D projection transformation and improving the approximation. Preliminary tests with one simple and another complex scenes showed that the solver converges quickly (more and less 20 iterations in many cases, with a stopping criterion of a residual distance between the true and approximated solutions less than 1e-6 Blender Unit). |
Commit Details:
Full Hash: 622a65a297b82f6f63baff124f42e02a8f6ef29c
SVN Revision: 25864
Parent Commit: 05603fa
Lines Changed: +77, -9
5 Modified Paths:
/source/blender/freestyle/intern/blender_interface/BlenderFileLoader.cpp (+16, -4) (Diff)
/source/blender/freestyle/intern/blender_interface/BlenderFileLoader.h (+8, -3) (Diff)
/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp (+4, -0) (Diff)
/source/blender/freestyle/intern/view_map/SilhouetteGeomEngine.cpp (+41, -0) (Diff)
/source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp (+8, -2) (Diff)
/source/blender/freestyle/intern/blender_interface/BlenderFileLoader.h (+8, -3) (Diff)
/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp (+4, -0) (Diff)
/source/blender/freestyle/intern/view_map/SilhouetteGeomEngine.cpp (+41, -0) (Diff)
/source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp (+8, -2) (Diff)