Blender Git Commit Log
Git Commits -> Revision 107667d
Revision 107667d by Tamito Kajiyama (master) January 31, 2010, 22:56 (GMT) |
Added support for orthographic camera. The FEdgeXDetector class for silhouette edge detection and the ViewMapBuilder class for view map creation are enhanced. All changes are related to view point handling (i.e., the camera location). In the perspective projection, the visibility of feature edges and edge types (e.g., borders and crease lines) are computed based on a fixed view point, whereas the view point in the orthographic projection is an arbitrary point on the XY plane at the origin and is determined so that a line segment from the view point to a point in the 3D space is perpendicular to the XY plane. All view point related portions of the class definitions were modified so as to deal with the two different camera modes. |
Commit Details:
Full Hash: 107667d20a15593f5c94437cc57fe786bcb92f7a
SVN Revision: 26481
Parent Commit: e307cb1
Lines Changed: +55, -11
5 Modified Paths:
/source/blender/freestyle/intern/application/Controller.cpp (+1, -0) (Diff)
/source/blender/freestyle/intern/view_map/FEdgeXDetector.cpp (+29, -7) (Diff)
/source/blender/freestyle/intern/view_map/FEdgeXDetector.h (+3, -0) (Diff)
/source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp (+20, -4) (Diff)
/source/blender/freestyle/intern/view_map/ViewMapBuilder.h (+2, -0) (Diff)
/source/blender/freestyle/intern/view_map/FEdgeXDetector.cpp (+29, -7) (Diff)
/source/blender/freestyle/intern/view_map/FEdgeXDetector.h (+3, -0) (Diff)
/source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp (+20, -4) (Diff)
/source/blender/freestyle/intern/view_map/ViewMapBuilder.h (+2, -0) (Diff)