Blender Git Commit Log
Git Commits -> Revision 18e4224
Revision 18e4224 by Bastien Montagne (master) April 13, 2014, 10:19 (GMT) |
Split Normals I (1/5): basis for split normals (nearly nothing user-visible here): * Add a new calcLoopNormals function to DerivedMesh struct, and implement it for CDDM and CCGDM (subsurf). EditDerivedBMesh (edit mode DM) only gets a dummy one in this commit. * Add a tessellated version of CD_LOOPNORMAL layer (CD_TESSLOOPNORMAL), with relevant code to handle it (tessellation, rna access, etc.). * Change auto_smooth options of Mesh (angle now in radian internaly, and toggle is now used to enable/disable split normals in DM creation process). Note BI render code is not touched here, hence its behavior regarding this option is now incoherent, will be addressed in a separate commit. Reviewers: campbellbarton CC: brecht Differential Revision: https://developer.blender.org/D365 |
Commit Details:
Full Hash: 18e4224142261cd8a1086c5872efb406b82f8330
Parent Commit: a872d0b
Lines Changed: +294, -60
17 Modified Paths:
/release/scripts/startup/bl_ui/space_view3d.py (+14, -5) (Diff)
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_cdderivedmesh.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_DerivedMesh.h (+3, -0) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+45, -4) (Diff)
/source/blender/blenkernel/intern/customdata.c (+14, -4) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+58, -13) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+6, -0) (Diff)
/source/blender/blenkernel/intern/mesh_evaluate.c (+36, -3) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+1, -0) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+11, -0) (Diff)
/source/blender/blenloader/intern/versioning_defaults.c (+7, -0) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+46, -0) (Diff)
/source/blender/makesdna/DNA_customdata_types.h (+5, -4) (Diff)
/source/blender/makesdna/DNA_mesh_types.h (+6, -2) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+38, -23) (Diff)
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_cdderivedmesh.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_DerivedMesh.h (+3, -0) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+45, -4) (Diff)
/source/blender/blenkernel/intern/customdata.c (+14, -4) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+58, -13) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+6, -0) (Diff)
/source/blender/blenkernel/intern/mesh_evaluate.c (+36, -3) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+1, -0) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+11, -0) (Diff)
/source/blender/blenloader/intern/versioning_defaults.c (+7, -0) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+46, -0) (Diff)
/source/blender/makesdna/DNA_customdata_types.h (+5, -4) (Diff)
/source/blender/makesdna/DNA_mesh_types.h (+6, -2) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+38, -23) (Diff)