Blender Git Loki

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

Page: 11 / 14

June 26, 2010, 10:39 (GMT)
* Alt-key smooth and Shift-key invert are now properly done as modifiers to LMB sculpting. This means they can be remapped to other buttons (for example, putting "Alt-smooth" on the RMB or whatever).

** Serious downside is that it is now not possible to do invert or smoothing in the same stroke. You have to let the mouse button go and start a new stroke to change the mode.

** Minor downside is that the cursor no longer changes when you change the mode of the stroke by pressing the key.

I believe these downsides will be resolved and that the benefit of having a proper re-mappable operation outweighs the downsides.

* Cleaned up the properties that appear in the key map configuration for LMB, LMB-Shift, and LMB-Alt. Only "ignore background click" was actually supposed to be there.

* I quieted the warnings generated by paint_image.c and in the process found an error where a result was supposed to be rounded to the nearest integer but instead was always truncated.

* I quieted a warning about signed/unsigned mismatch, it may have been better to actually fix that one.
June 24, 2010, 18:14 (GMT)
== Alt-Smooth ==
Press alt-key to switch to the brush preset named "Smooth" (it may or may not smooth depending on if you messed up your preset /sigh)
June 24, 2010, 10:17 (GMT)
* syntax error in shaders caused by lack of a newline
June 24, 2010, 07:56 (GMT)
*Flatten/Contrast brush was not showing the "Add/Subtract" control in the UI.
* Deleting shader programs only requires ARB_shader_objects
* Slight speedup on the smooth brush
June 23, 2010, 05:56 (GMT)
Beginning to optimize smooth brush in multires mode.
Not complete, smooth brush with multires may not work correctly and it may not be any faster yet.
June 23, 2010, 02:40 (GMT)
<Uncle_Entity> phoenix_: needed this to get cross-compile working -> http://www.pasteall.org/13946/diff -- still has a linking error though (can't find -lgomp)
June 21, 2010, 11:43 (GMT)
Made sure all the same UI controls appear for Clay and Wax.
June 21, 2010, 11:39 (GMT)
== Wax & Clay Brushes ==
The old clay brush has been renamed 'Wax', this brush fills in crevices below the offset plane and does not effect brushes above it.

A new Clay brush has been created that is like 'Flatten' with a high plane offset. It brings things up to the offset plane while lowering things above it.

On top of that, the default offset for clay and wax has been lowered to half the brush radius and the plane offset slider now only goes from -0.5 to 0.5. This has the effect of flattening clay and wax and makes them less like draw

(so please, no more "clay is just like draw" comments :P)
June 21, 2010, 11:03 (GMT)
no functional changes
* couple of functions that I may be using in the future to optimize bounding box recalculation
June 21, 2010, 06:55 (GMT)
== Optional OpenMP ==
OpenMP can be re-enabled by checking "Use OpenMP"

Also, area normal and tangent plane are not unnecessarily recalculated for symmetry but are simply flipped.
June 21, 2010, 05:18 (GMT)
minor changes, no need to redistribute
June 19, 2010, 17:32 (GMT)
* added some header files to get it to compile on Ubuntu 10.04

Must be some subtle differences due to conditional compilation.
June 19, 2010, 15:50 (GMT)
* no functional changes
* commented code in wm_draw.c that handles saving/restoring depth buffer
June 19, 2010, 11:30 (GMT)
* Bug Fix: Some strangeness with how alpha is handled in textures.
June 19, 2010, 10:24 (GMT)
* Optimization: Now uses GL_ARB_depth_texture and GLSL to speed up the saving and restoring of the depth buffer needed for On-Surface brush.

Hopefully this restores the performance that was lost.
June 19, 2010, 06:49 (GMT)
* Bug Fix: OpenGL state is now preserved after drawing the on-surface brush cursor. This should fix problems with the rest of the UI drawing properly with it enabled.
June 19, 2010, 06:26 (GMT)
* Bug Fix: Fixed rotate and thumb brushes to work with symmetry.
June 19, 2010, 05:22 (GMT)
* Bug Fix: sculpt cursor not compatible with other paint modes, so it uses old code for non-sculpt modes.
June 19, 2010, 02:54 (GMT)
* Bug Fix: corrected behavior or grab when symmetry is enabled
June 17, 2010, 10:55 (GMT)
* reduced strength of thumb brush

* fixed MSVC warnings:
** removed unused FLATTEN_SAMPLE_SIZE from source, its no longer used
** use automatic memory for BoundBox bb in sculpt_get_redraw_planes
** quieted warning about unused parameter in update_cb
** sculpt_undo_get_node, sculpt_undo_push_end and sculpt_undo_push_begin do not use their SculptSession parameters
** rewrote 'non-constant agregate initializers' because they are not standard C
** changed the vert parameter of neighbor_average from int to unsigned to prevent mismatch
** do_brush_action doesn't need its cache parameter
** removed unused parameter 'C' from sculpt_update_cache_invariants
** sculpt_brush_stroke_init_properties doesn't use its SculptSession parameter
** in over_mesh, no need to cast return value of sculpt_stroke_get_location to int, it already returns an int
** sculpt_stroke_done doesn't use its 'stroke' parameter
** sculpt_set_persistent_base and sculpt_toggle_mode do not used their wmOperator parameters

* broke sculpt undo functions out into their own file sculpt_undo.c
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021