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
2017-07-21Fix T46560: 2D paint smear and soften brushes not working with alpha.Brecht Van Lommel
Interpolate rather than do alpha over mix, matching projection paint.
2016-11-18Fix (unreported) bad handling of brush's fill threshold value.Bastien Montagne
'1' threshold value would only allow to access a third of the basic 'color space' (from black to white, from 0.0 to 1.0 component values), when you expect it to access the whole range. Unfortunately, this needs a subversion bump to allow already defined brushes to keep exact same behavior! Also, did not change default value (0.2) for new brushes, think here keeping current one makes more sense. Thanks to @LucaRood for confirming the issue.
2016-07-28Cleanup: IndentationSergey Sharybin
2016-05-06Speedup of regular 2D paintingSergey Sharybin
Yet another commit which makes painting aware of multi-threaded systems.
2016-05-03Fix T48169: 1 pixel offset painting 2D texturesCampbell Barton
Painting at negative locations was using int-rounding.
2015-09-04Partial revert of warning cleanupCampbell Barton
These warnings are false-positives
2015-09-04Quiet warningsJulian Eisel
We had too many warnings lately... was awaiting that someone would kill them - didn't happen -> goes to my commit ratio! :P
2015-07-27Image painting 2D:Antony Riakiotakis
Deprecate wrap (BRUSH_TORUS) option, we now have paint flags for tiling and we can reuse those. Also allows seperate tiling in X/Y direction for 2D painting now. Only one tiling is allowed for now. Options can be found in new "Tiling" panel under the tools tab. For version patching, we just turn off brush wrapping, to allow reuse of the flag in the future. New option is paint mode wide instead of per brush so a brush having the old wrap option will not enable it for the whole mode in the version patch.
2015-06-10Fix T45013 negative curve falloff not working.Antony Riakiotakis
Was doing clamping as fix for T42984. Seems we can ommit clamping for sculpting if we make sure overlap is not zero with negative values. Control for clamping is moved to the "Use Clipping" function of curves (which is on by default), so both bugs remain squashed and advanced users can now properly utilize curves in sculpting, though not all brushes work well with negative curves.
2015-04-30Missed this last commitAntony Riakiotakis
2015-04-30Minor tweaks to make fill and invert support gpixel operationsAntony Riakiotakis
2015-04-09Fix T44308 painting in 2D editor offset by one pixel.Antony Riakiotakis
Not sure why this was so in the first place but changing it seems OK.
2015-04-06Multi-View and Stereo 3DDalai Felinto
Official Documentation: http://www.blender.org/manual/render/workflows/multiview.html Implemented Features ==================== Builtin Stereo Camera * Convergence Mode * Interocular Distance * Convergence Distance * Pivot Mode Viewport * Cameras * Plane * Volume Compositor * View Switch Node * Image Node Multi-View OpenEXR support Sequencer * Image/Movie Strips 'Use Multiview' UV/Image Editor * Option to see Multi-View images in Stereo-3D or its individual images * Save/Open Multi-View (OpenEXR, Stereo3D, individual views) images I/O * Save/Open Multi-View (OpenEXR, Stereo3D, individual views) images Scene Render Views * Ability to have an arbitrary number of views in the scene Missing Bits ============ First rule of Multi-View bug report: If something is not working as it should *when Views is off* this is a severe bug, do mention this in the report. Second rule is, if something works *when Views is off* but doesn't (or crashes) when *Views is on*, this is a important bug. Do mention this in the report. Everything else is likely small todos, and may wait until we are sure none of the above is happening. Apart from that there are those known issues: * Compositor Image Node poorly working for Multi-View OpenEXR (this was working prefectly before the 'Use Multi-View' functionality) * Selecting camera from Multi-View when looking from camera is problematic * Animation Playback (ctrl+F11) doesn't support stereo formats * Wrong filepath when trying to play back animated scene * Viewport Rendering doesn't support Multi-View * Overscan Rendering * Fullscreen display modes need to warn the user * Object copy should be aware of views suffix Acknowledgments =============== * Francesco Siddi for the help with the original feature specs and design * Brecht Van Lommel for the original review of the code and design early on * Blender Foundation for the Development Fund to support the project wrap up Final patch reviewers: * Antony Riakiotakis (psy-fi) * Campbell Barton (ideasman42) * Julian Eisel (Severin) * Sergey Sharybin (nazgul) * Thomas Dinged (dingto) Code contributors of the original branch in github: * Alexey Akishin * Gabriel Caraballo
2015-03-17Part 2 of D1082 by Troy Sobotka, remove our functions that do lumaAntony Riakiotakis
calculations and use the OCIO one instead.
2015-03-13Fix T43959 jittering in 2D texture painting.Antony Riakiotakis
This is still not perfect, but should work smoother now. Previously there was visible wobbling while painting. This can be included in final release.
2015-02-19Fix 2d paint issue with textured brushes: Multiply brush color withAntony Riakiotakis
texture in the right space
2014-12-31Fix T42984 detail flood fill not respecting mask values for smooth/sharpAntony Riakiotakis
curves. Issue here is that brush curve could return negative values. This would result in overflow of mask values. Those were not visible during real time preview because result would be clamped. We had two functions in the code, one of which allowed negatives but I don't think that we really want that, users have no control over the negative values at all anyway. Thanks to the reporter, Leon Cheung for figuring out the issue :)
2014-12-27Brush Texture Angle Goodies:Antony Riakiotakis
This commit includes a few things: * It moves the Rake and Random flags from the brush to the MTex. * The first change allows mask textures to have independent rake support. * Random rotation now has an angle value that controls the width of the effect from the rake or default angle * Rake and Random are now supported together.
2014-11-28Cleanup: unused headersCampbell Barton
2014-10-17More fixes:Antony Riakiotakis
* Fill brush did not do proper srgb conversion for byte images (reported by Sebastian Koenig, thanks!) * Color sampling for palettes did not refresh the toolbar.
2014-09-24Cleanup: use float versions of functions when in/output are floatsCampbell Barton
2014-09-05Fix T41723, different tints in texture painting.Antony Riakiotakis
Blend brush color with texture before converting to srgb
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-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-08-02SpellingCampbell Barton
2014-07-24Fixes:Antony Riakiotakis
* Crash with image drag'n'drop * Drag'n drop color to paint 2d canvas not working * Change "Layers" to "Slots" to appease purists.
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-19Defines: replace ELEM3-16 with ELEM(...), that can take varargsCampbell Barton
2014-06-23Add ED_paint.h, split out ED_sculpt.hCampbell Barton
also rename some functions to match our convention
2014-05-10Fix access violation when painting with tiled textured brushes +Antony Riakiotakis
airbrush + small brush size. Fast textured strokes meant that sometimes the update width (calculated from stroke distance) would be greater than the new ibuf width. This meant out of bounds access for the new ibuf. It's totally strange that I couldn't reproduce this issue on older versions since the logic here has not really changed much between versions.
2014-05-09Fix double promotion to scene linear in 2s painting.Antony Riakiotakis
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-26Code cleanup: use 'const' for arrays (editors)Campbell Barton
2014-04-21View2d: API Cleanup for view<->region conversionCampbell Barton
View2D had some inconsistencies making it error prone in some cases. - Inconstant checking for NULL x/y args. Disallow NULL args for x/y destination pointers, instead add: - UI_view2d_region_to_view_x/y - UI_view2d_view_to_region_x/y - '_no_clip' suffix wasn't always used for non-clipping conversion, switch it around and use a '_clip' suffix for all funcs that clip. - UI_view2d_text_cache_add now clips before adding cache. - '_clip' funcs return a bool to quickly check if its in the view. - add conversion for rectangles, since this is a common task: - UI_view2d_view_to_region_rcti - UI_view2d_region_to_view_rctf
2014-04-14Fix T39704: Texture painting fails with different float image working spaceSergey Sharybin
This was rather a TODO item related on supporting the proper painting color space, but added a small tweaks which will make things working for now in most of the situation (assuming the default view of display is ivnertible, as it is to be expected to be anyway). Shouldn't give much overhead since the conversion processors are cached in the color management code. And for the note: no, projection painting does not requite such a tweak because viewport works in sRGB space anyway.
2014-02-03Code cleanup: use bools where possibleCampbell Barton
2014-01-12Style Cleanup: whitespaceCampbell Barton
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-12-03Fix T37670: Paint mode + procedural map colours errorSergey Sharybin
Summary: Seems to be known TODO in the code, but no idea why it was never solved, especially since tweak is so much easy. It might be arguable that we need to support painting color space, but it's still much better to convert to sRGB space. It's gonna to cover 90% of cases anyway. Reviewers: campbellbarton, brecht Reviewed By: brecht Maniphest Tasks: T37670 Differential Revision: http://developer.blender.org/D65
2013-05-23Fix #35469: image editor smear and soften paint tools not working correct forBrecht Van Lommel
float images, was not taking premul/straight convention into account properly.
2013-05-16Fix #35355: 2D image paint View mapping mode was dependent on zoom, this wasBrecht Van Lommel
wrong, it should just fit the texture in the brush circle.
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-05-14style cleanupCampbell Barton
2013-05-12Image paint: 2D painting now supports texture masks and does masking moreBrecht Van Lommel
consistent with projection painting. Also did some refactoring of this code, moving the brush image creation code out of brush.c and making it consistent with image updating code.
2013-05-01style cleanupCampbell Barton
2013-05-01Fix tiled overlay not matching up with stroke result in 2d painting.Antony Riakiotakis
2013-04-30More painting fixes:Brecht Van Lommel
* 2D image painting with textures that contained alpha did not work correctly, had been broken for a while. * 2D image panels texture (mask) panels showed wrong buttons for texture overlay. * Texture map mode 3D now also uses masking, like Tiled and Stencil the texture does not move along with the brush so it works fine. * 2D image paint View mapping did not work correct, especially noticeable with Rake rotation. * Masking is now disabled for the smear tool, this can't really work because the original image is constantly changing and gave artifacts.