Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-16Vertex paint color operationsCampbell Barton
D2050 by @metaraptor with edits Adds levels, brightness/contrast, hsv & invert operations.
2016-02-09Fix T47339: Unified color not used w/ radial controlCampbell Barton
2016-01-21Sculpt: Add rake option to snake-hookCampbell Barton
This allows for dragging out shapes that rotate to follow the cursor motion. Values over 1 can be set for 'interesting' artistic effects.
2015-10-26Fix T46537: UV Image Editor. UV Sculpt toggle button doesn't show hotkey ↵Bastien Montagne
label when active. Poll function of that keymap was slightly... agressive.
2015-04-30Minor tweaks to make fill and invert support gpixel operationsAntony Riakiotakis
2015-04-30Cleanup: styleCampbell Barton
2015-03-28Cleanup: redundant struct declarationsCampbell Barton
2014-11-16Fix T42613: Sculpt dyntopo's 'Set Detail Size' (Shift-D) was only always ↵Bastien Montagne
affecting relative size.
2014-10-31Texture Paint Add Simple UVs:Antony Riakiotakis
Add simple uvs now does a cube unwrap and pack operation. Result is not optimal by far but it should not result in crashes and it will be quite usable for simple cases.
2014-10-06Texture painting:Antony Riakiotakis
Do not generate materials/images/UVs if they are missing. Now we spawn a panel ("Missing Data") with operators to generate the missing data and pop a warning if user tries to paint without them. The reason we have reverted this is that it is too easy to end up with more textures than we wanted. It was impossible to enter texture paint without having textures added, and code makes too many assumptions about what user may want. Discussed during Sunday's meeting. This might be a candidate for 2.72a but I'm not sure how other artists will take this (and how refined and crash-free it is), better make a few iterations first. And for interested parties...test please, don't wait until after a release to poke with such issues. Also, add slot operator now adds a new unconnected image node in cycles. Only used in the "Missing Data" panel. This should be a separate commit but I am squashing it into the same commit because it relies too much on changes done here and can be reverted easily if complainstorm occurs again.
2014-09-03Code cleanup, defined shared stroke properties to one central function.Antony Riakiotakis
2014-08-27Fix T41406:Antony Riakiotakis
Disallow kernels bigger than 2x2 for blur/sharpen in projective painting due to performance considerations.
2014-08-27Revert "Fix part of T41406"Antony Riakiotakis
This reverts commit 7c7cb01aa5641414d9f0c39ab81df0f57205f362. The smoothing weights will cause shifting in the image if not calculated as they were in the branch. Solution for better performance will be to force-clip kernel to a square of size two for projective painting.
2014-08-26Add operator that deletes a texture paint layer for blender internal.Antony Riakiotakis
2014-08-12Fix part of T41406Antony Riakiotakis
Attempt to make soften brush faster by allowing non-symmetric kernels. Projective painting supports those naturally but for 2D painting there's a small hack to avoid shifting of the texture. Not totally correct but it works for now.
2014-08-12Support table erasor in projective painting as well.Antony Riakiotakis
2014-07-24Change to previous commit, allow tweaking name at creation time.Antony Riakiotakis
2014-07-24UI cleanup:Antony Riakiotakis
New layer in texture painting will now allow entering image parameters, similar to new image.
2014-07-21GSOC 2013 paintAntony Riakiotakis
Yep, at last it's here! There are a few minor issues remaining but development can go on in master after discussion at blender institute. For full list of features see: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.72/Painting Thanks to Sergey and Campbell for the extensive review and to the countless artists that have given their input and reported issues during development.
2014-07-06Add support to lasso masking/flood fill for inverted values.Antony Riakiotakis
This can be used to subtract a region from masks but it's not very user friendly yet. To male this work better, the tool will probably be brushified later.
2014-05-13Fix T39196, Dynamic Topology Undo Applied to Wrong MeshAntony Riakiotakis
Undoing nodes that do not belong to the current object will cause the saved bmesh log entry to be reverted instead. This entry can belong to another object though. This is easy to fix by enforcing name matching (this was borrowed by edit mode but can definitely be improved) between current object name and undo node name and deleting older entries. However there are complications. Deleting dyntopo entries in this way can leave a brush stroke as first dyntopo log entry. This can present issues if we attempt to delete that entry since it's deleted mesh elements may now have had their ids (which would still be valid at the time) cleaned up. This can result in crashing if we attempt to resculpt on the mesh. To fix this I have disabled releasing the deleted entries. This entanglement between bm_log and undo is quite volatile but I hope the system works better now. Also minor cleanup, fix unneeded check warning
2014-04-13Reduce overhead when sampling texture images for brushes. The tests canAntony Riakiotakis
be cached and reused.
2014-04-13Cleanup:Antony Riakiotakis
Naming: Change pressure to size_pressure, it notes correctly that this value is updated and expected to be used for size updating only. Change name of cursor function and since it is used for uv sculpting only now move to the relevant file. Also cleanup unneeded functionality from function. Stroke: Separate updating of stroke variables to invariants (updated when stroke->init = false) and variants.
2014-04-13Fix T39430, incorrect color management in paint cursor when usingAntony Riakiotakis
texture nodes. Adopt a similar system to texture sampling for painting.
2014-04-07Code cleanup: remove unused functions and convert int -> boolCampbell Barton
2014-03-29Fix T39468Antony Riakiotakis
Issue is that sampling functions did not pass a thread index to the texture sampler so all threads were contesting for the same pool. Paint cursors and sculpting that used openmp for threading suffered from this. Now use omp_get_thread_num to pass the thread number.
2014-03-26revert 0da3e97, fix for T39279Campbell Barton
Following problems: - painting onto a cube asserts immediately (vpaint/wpaint) - crashes with valgrind (bad memory use) - the original intended behavior of vertex projection paint no longer works as I intended. (its constantly refreshing geometry even when no modifiers are applied). Best get code review for these kinds of changes.
2014-03-24Code cleanup: styleCampbell Barton
2014-03-21Fix T39279 Vertex paint modes do not work well with mirror modifierAntony Riakiotakis
Issue here is that coordinates used for projection would not fit the closest candidate. So it was possible to paint against the mirrored part of the mesh, which would get clipped on reprojection. Fix avoids reprojection by storing squared distance, and screen space coordinates, which we will need again later anyway. Also we now always paint against the closest vertex always. This is ensured because squared distances for uninitialized vertices will be MAXFLOAT, thus failing the strength test.
2014-02-05Fix for vpaint_stroke_test_start returning operator flags, not boolCampbell Barton
also use bools for paint callbacks
2014-02-04Code cleanup: declarations for removed functionsCampbell Barton
2013-12-19Sculpting:Antony Riakiotakis
* Support for symmetry in lasso masking * Optimize away symmetry multiplication of gravity vector if no gravity active * Move flip_v3_v3 to paint_utils (used in masking as well) * Use OpenMP for mask flood fill too.
2013-12-08Fix T37326 inversion of image channels did not do an undo push. Now only do ↵Antony Riakiotakis
an undo if we are in image paint mode and use the paint undo stack. Also added missing GPU update.:
2013-10-31remove return argument from wmOperatorType->cancel, was only ever returning ↵Campbell Barton
OPERATOR_CANCELLED.
2013-10-30Lasso select tool for masking in sculpting. Initial code, non optimizedAntony Riakiotakis
for now. Used to be ultra terrible but with threading (openmp) there is slightly better performance and is ready for testing. To use press shift-ctrl-lclick. Still no ability to remove mask. Coming soon. Also make box selection threaded (openmp) and comment fix.
2013-10-27Border select for sculpting, using B shortcut, warmup for more advancedAntony Riakiotakis
masking, like lasso selection.
2013-10-11fix [#37031] bones are not selectable in weight paint mode anymoreCampbell Barton
2013-10-09Paint cursor overlays: Delete the cursor texture overlay resources whenAntony Riakiotakis
exiting a paint mode.
2013-06-26fix [#33068] Can't paint weights of some vertices in some situations.Campbell Barton
old limitation where you could only paint onto one side of a mirrored mesh (weight paint, vertex paint).
2013-05-28bmo_subdivide_edgering.c now builds with release+debuginfo, also remove ↵Campbell Barton
unused defines and correct include guards.
2013-05-15Attempt to fix #35057 and #35372: slow texture painting performance.Brecht Van Lommel
After the paint refactoring for 2.67, the OpenGL texture was getting updated for every stroke point, rather than once for every redraw. With a small brush radius and low spacing the number of stroke points can be quite large, which might have a big performance impact depending on the graphics card / drivers. Also for 2D image paint, avoid redrawing the button panels and properties editor during painting. There is another possible cause for slowdowns with 3D texture painting which was not fixed. Projection painting is creating and destroying threads for every stroke point. Depending on the CPU/OS there might be a lot of overhead in doing that if the brush size is small.
2013-05-15Fix part of #35372: distorted strokes when painting zoomed out with a small ↵Brecht Van Lommel
brush size. Interpolated mouse coordinates should not get rounded to integers.
2013-04-30More image painting fixes:Brecht Van Lommel
* 2D image painting support for masking to limit the max contribution of a stroke to a pixel, to get it working compatible with projection painting. Not strictly a bugfix, but the inconsistency here was annoying. * Fix python errors in Texture Mask panel in image editor, was missing overlay options. * Clamp paint mask to 0..1 in case some texture exceeds it, this could give black pixels due to integer overflow.
2013-04-27remove unused function: projectfCampbell Barton
2013-04-27add vertex color smooth operator.Campbell Barton
Since the bug was fixed that made blur brush _not_ blur all verts, there is no way to blur vertex colors after baking. While this was hidden it was useful especially for baking vertex colors.
2013-03-31Woot woot commit.Antony Riakiotakis
Stencil style texture mapping. Ready for field testing and user feedback. This commit adds stencil like brushes, like those that existed on old ptex branch. (with the exception of clip colour) To control the position of the stencil, you use Q: translation Shift - Q: scaling Ctrl - Q: rotation There's extra work that has been done to make this work: * Support for coloured overlay in vertex/texture painting * Also made A button do stroke mode selection like in sculpt mode, when mask painting is inactive. There are some TODOs to work on during bcon3: * Support tiled and stencil mode in 2D painting. Support alpha textures also. * Tidy up overlay code. There's some confusion there due to the way we use the primary brush texture sometimes for alpha, other times for colour control. WIP design docs will be in http://wiki.blender.org/index.php/User:Psy-Fi/New_Brush_Tool_Design
2013-03-29Support for brush overlay in texture paint mode. For the image editor,Antony Riakiotakis
the tiled overlay is still a bit off, investigating on how to better correct this, though it may well be non trivial.
2013-03-26style cleanup:Campbell Barton
also rename mesh_getVertexCos() --> BKE_mesh_vertexCos_get() to match curve function.
2013-03-17Setting clone cursor is now an option for paint operator. This is notAntony Riakiotakis
too nice but it frees the Ctrl-LClick shortcut and allows us to set invert mode for other paint tools, such as sharpen vs blur or invert colour for draw brush. This conflict has existed on GSOC branch, better resolve now before merging invert functionality.
2013-03-16patch [#34634] Select vertices without a groupCampbell Barton
from Kevin Mackay (yakca)