Blender Git Commit Log

Git Commits -> Revision a8fc036

August 18, 2010, 23:59 (GMT)
== Ptex ==

Changed the internal ptex format to always use subfaces

* Changed MPtex to references MPtexSubfaces, each of which is a quad with U and V resolution and it's own ptex data pointer.
* This format is basically the same as what triangles were already using, but now quads work the same way.
* This format is also closer to the way multires grid data was already stored.
* Ptex loading (and saving, once that's implemented) requires some extra work to convert to the internal format, but everywhere else the code is much simpler.
* Fixed undoing ptex changes on a different multires level from where they were painted.
* Ptex paint now always uses an all-quad DM (generated with one level of ccgdm simple subsurf.) This is a bit ugly, just stuck on the end of calc_mesh_modifiers. This is only done if there's no multires or subsurf modifier at the end of the stack.
* Resolution editing is disabled for now, will restore it in next commit

Commit Details:

Full Hash: a8fc0361c9b48d8597d817079f75218686d7e09b
SVN Revision: 31450
Parent Commit: 22b6f0c
Lines Changed: +975, -1377

2 Added Paths:

/source/blender/blenkernel/intern/ptex.c (+24, -0) (View)
/source/blender/editors/sculpt_paint/paint_ptex.c (+640, -0) (View)

1 Deleted Path:

/source/blender/editors/sculpt_paint/ptex.c (+0, -567)

22 Modified Paths:

/extern/ptex/ptex.h (+14, -14) (Diff)
/extern/ptex/ptex_C_api.cpp (+15, -15) (Diff)
/release/scripts/ui/space_view3d_toolbar.py (+5, -5) (Diff)
/source/blender/blenkernel/BKE_customdata.h (+0, -3) (Diff)
/source/blender/blenkernel/BKE_DerivedMesh.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+21, -4) (Diff)
/source/blender/blenkernel/intern/customdata.c (+8, -34) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+10, -0) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+33, -30) (Diff)
/source/blender/blenlib/BLI_pbvh.h (+1, -1) (Diff)
/source/blender/blenlib/intern/pbvh.c (+5, -5) (Diff)
/source/blender/blenloader/intern/readfile.c (+3, -2) (Diff)
/source/blender/blenloader/intern/writefile.c (+4, -6) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+3, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_mask.c (+4, -4) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+54, -295) (Diff)
/source/blender/editors/sculpt_paint/pbvh_undo.c (+72, -148) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+9, -9) (Diff)
/source/blender/gpu/GPU_buffers.h (+1, -2) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+17, -187) (Diff)
/source/blender/makesdna/DNA_meshdata_types.h (+8, -8) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+23, -35) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021