Blender Git Commits

Blender Git "soc-2010-nicolasbishop" branch commits.

Page: 8 / 8

June 6, 2010, 21:44 (GMT)
* Sculpting now pays attention to the mask

June 6, 2010, 21:13 (GMT)
* Started integrating the customdata facegrids type. For now it's used for storing paintmasks with multires, more to come here.
* Updated disp_run to update masks. I'm treating mask layers as actual values rather than displacements as is done with mdisps; results look better this way I think.
* Added color buffer updating for VBOs built from grids.
* Changed the paint_mask_set operator to update multires too.

Notes
* For now I've hardcoded the use of mask data into DMGridData and other places. We don't actually always want that extra float though, that's temporary. Plan is to set up something similar to the way CCGSubsurf deals with variable-sized vert/edge/face data.
* This commit enables all the calculations needed to create, show, and update masks, but they aren't used for sculpting yet, that comes soon


June 6, 2010, 17:03 (GMT)
* PBVH can now iterate over mask data coming from a mesh (not multires yet)
* The paint_mask_set operator can be used to create a mask layer and fill it with zeroes, ones, or random data (for testing)
* gpu_buffers will display the mask layer (again, only for regular meshes not multires grids yet.)
June 6, 2010, 07:31 (GMT)
* Updated the paint_mask_set operator so that it can set mask values using the sculpt PBVH. The mask-setting part is commented out until the PBVH is ready.

June 6, 2010, 07:07 (GMT)
Preparing VBO drawing code for colors.
* Added functions to load paintmask data into the color buffer
* Drawing is enabled, but no visible effect since I haven't set up any paintmask layers yet.

June 6, 2010, 06:30 (GMT)
* Fixed bug in the buffer VBO code; no reading from a buffer mapped as GL_WRITE_ONLY.

June 6, 2010, 06:10 (GMT)
* Changed CCGSubSurf's Vert macros into functions that operate on any number of floats, rather than just three.
* Added a new field to CCGMeshIFC to control how many floats those functions will operate on.
* For now it's always three, so there should be no visible change in behavior.

June 3, 2010, 20:27 (GMT)
May 31, 2010, 02:51 (GMT)
* Filled out LAYERTYPEINFO and LAYERNAMETYPES for the new custom data types I added.
May 27, 2010, 09:23 (GMT)
May 25, 2010, 19:50 (GMT)
* Added a few new customdata types:
* FACEGRID will be the new way all CustomData for multires gets stored. Its backing type is CustomData. It's intended to be used in the CustomData for mesh faces. This is similar to CD_MDISPS, except that instead of storing just triples of floats, we can store a grid for any type (so long as there's a CustomData layer for it.)
* CD_DISP will be the replacement for CD_MDISPS. It's a triple of floats.
* PAINTMASK is simply a layer of floats; will be used to describe the intensity of the mask at each vertex (or at each grid point for multires.)

May 25, 2010, 19:13 (GMT)
* Added a temporary operator to set masks, does nothing yet
* Added a temporary UI for the temporary operator for testing

May 14, 2010, 01:42 (GMT)
May 9, 2010, 04:23 (GMT)
* Small refactoring to improve readability, no functionality changes.
* Replaced the invert and add parameters of disp_run to a single DispOp parameter. This makes explicit that we can CALC disps, APPLY disps, and ADD disps.
* Renamed "mat" in disp run.

May 8, 2010, 08:54 (GMT)
April 27, 2010, 02:17 (GMT)
branching for GSOC 2010
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021