Blender Git Loki
Git Commits -> Revision 043be07
Revision 043be07 by Nicholas Bishop (master) January 10, 2007, 06:09 (GMT) |
Large fix for multires. Changed UV coordinates (MTFaces) to be special first-level data in multires. The data is now stored in a standard CustomData struct in Multires, rather than being stored for each level. (The UVs can now only be edited on level 1.) Changes allow multiple sets of UVs to work correctly. This change should also decrease multires memory usage some (though only when UVs are being used, of course.) Changes to CustomData: Some functions would only return the current active layer, added extra variants that take an index to select the level (modeled after CustomData_get_layer_n.) Still todo: * UVs are being interpolated linearly, should probably offer Catmull-Clark subdivision like Subsurf modifier. * Vertex Colors still don't support multiple customdata layers. * Editing UV data on levels other than 1 should be disabled in the interface (same for weights) |
Commit Details:
Full Hash: 043be070504b8d7742b62ce5404f7cab1251dd6c
SVN Revision: 9693
Parent Commit: 3f5bd9b
Lines Changed: +485, -242
1 Added Path:
/source/blender/src/multires-firstlevel.c (+330, -0) (View)
7 Modified Paths:
/source/blender/blenkernel/BKE_customdata.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/customdata.c (+35, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+2, -8) (Diff)
/source/blender/blenloader/intern/writefile.c (+2, -1) (Diff)
/source/blender/include/multires.h (+20, -6) (Diff)
/source/blender/makesdna/DNA_meshdata_types.h (+8, -11) (Diff)
/source/blender/src/multires.c (+84, -216) (Diff)
/source/blender/blenkernel/intern/customdata.c (+35, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+2, -8) (Diff)
/source/blender/blenloader/intern/writefile.c (+2, -1) (Diff)
/source/blender/include/multires.h (+20, -6) (Diff)
/source/blender/makesdna/DNA_meshdata_types.h (+8, -11) (Diff)
/source/blender/src/multires.c (+84, -216) (Diff)