Blender Git Commits

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

Page: 13 / 14

June 5, 2010, 16:03 (GMT)
== Stencil Buffers for Linux & OSX ==
I attempted to change GHOST to request stencil buffers for Linux and OSX. I can not test these changes at this time, so please patch if it doesn't work.
June 5, 2010, 15:49 (GMT)
* Changed GHOST to request at least 1 stencil bit, and give zero weight to any pixel formats that don't. Only did this for Win32
* TODO: Make sure that Mac OSX and Unix also get stencil buffers. I have no experience in those window systems.
* The above change was so that stencil could be used to draw the brush directly on the surface of the model
* TODO: Show Brush On Surface can only work if there is an up to date zbuffer, but the zbuffer is discarded after the first frame it is used so the brush does not show after you move the mouse.
June 5, 2010, 04:08 (GMT)
Fixed rna padding issue.
June 5, 2010, 03:14 (GMT)
* disabling symmetry feathering and clipping. more research is needed before I can make it work right, dropping it until later
* "Lock Brush Size" takes the current brush size, and keeps it the same size no matter how the object is viewed.
* Zooming in and out dynamically resizes the brush retical. This also lays the foundation for a fancy brush retical ala Sculptris
* commented out a couple of unused fields from struct Sculpt. This struct adds so little, should be unified with Paint later
* made the hard limit for brush size 1-2000, to allow it to grow to larger than the screen when using lock size. UI soft limit is still 1-200
June 4, 2010, 02:47 (GMT)
*angry face*
June 4, 2010, 02:34 (GMT)
Misplaced curly brace.
Replaced BRUSH_BIT macro because my prefered name BIT was taken.
June 4, 2010, 02:12 (GMT)
Merged Unlimited Clay 29142-29190
Cleaned it up so that it compiles with MSVC.
June 4, 2010, 01:43 (GMT)
Merged Trunk: 29143-29201
Merged object_edit.c: 28971-29201
June 3, 2010, 23:52 (GMT)
* symmetric sculpting now feathers the strength of brushes near symmetry planes (unfinished)
* fixed crash bug in the inflate brush
* redid brush bitflags to use a macro, tired of typing in large integers
* added checkbox to enable/disable adaptive strength reduction based on spacing
* fixed confusion between use of SculptCache::symmetry and SculptCache::symmetry_pass
* changed do_brush_* functions to use math library functions instead of doing the math inline
June 2, 2010, 12:50 (GMT)
* re-enabled the angle control for texture maps (this is actually in previous update)
* changed spacing slider to say "Spacing" instead of "Distance". Can't get the slider to restrict user to increments of 5
* Made spacing slider a percentage type slider
June 2, 2010, 11:06 (GMT)
* no longer uses fixed size texcache for textures.
- this means textures aren't cached which will effect performance.
- we'll get it back later without losing any quality
* unprojecting object coordinates for the tiled texture mode should be floating point, not integers
* Both of these previous changes "fix" the anchor brush and tiled texture modes
* Changed tiled mode to not scale the texture according to the brush size. Later will add controls to transform this into a mudbox like stencil mode.
* Added a slider to bias the value of the texture so it can have negative values (sinks texture into the model)
* Corrected spacing distance slider to be percentage of diameter, not radius. Changed tooltip to be more clear.
* Changed tooltip for brush size to indicate that it is the radius, not the diameter
* increased max spacing back up to 500%, I'll be refactoring this control later
* fixed problem with anchor brush updating the screen properly when you made it large and then shrink it down again.
June 2, 2010, 02:26 (GMT)
note a short cannot hold a int worth of data and the numbers that are too big will apparently be truncated to the largest number the variable can hold so 131072 and 65536 look like 32768 to a short
June 1, 2010, 23:23 (GMT)
fix bug - 'detail' enabled when 'original normal' enabled
June 1, 2010, 21:06 (GMT)
merged with head
June 1, 2010, 17:52 (GMT)
Fixed some syntax errors in MSVC caused by using C99/C++ style 'declarations anywhere'.
June 1, 2010, 17:43 (GMT)
Unlimited Clay
June 1, 2010, 17:17 (GMT)
* added 'offset' to control the height of clay and other planar brushes separate from strength
* beginnings of experimenting with the brush stroke UI (all commented out so I could commit)
* now applying overlap attenuation to all brushes except grab
* fixed crash bug that happened when clicking on background
May 31, 2010, 09:47 (GMT)
* restored calc_area_normals use of original normals
* cleaned up the formatting of several functions I molested (will do this as a seperate commit next time)
* rewrote sculpt_brush_test* to use math library functions
* if anchored is enabled then attenuation due to spacing is ignored
* integrated Tom's (LetterRip) patch for keeping the original normal
May 31, 2010, 09:03 (GMT)
need to check if anchored to do the first daub for a spaced stroke
May 31, 2010, 08:22 (GMT)
when spacing is enabled puts the first daub at the start location of the brush instead of waiting till the space distance has been moved.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021