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
2012-11-23m_overlay wasn't initialized in a constructor of FastGaussianBlurValueOperationSergey Sharybin
2012-11-23Fix usage of uninialized memory in some operationsSergey Sharybin
- FastGaussianBlurValueOperation is a value operation, so use only first vector component in initializeTileData. - Gamma correct/uncorrect operations didn't set alpha for output which lead to usage of uninitialzied memory further in nodes graph.
2012-11-17Fix #33209: Opening an image with image node on Compositing freezes BlenderSergey Sharybin
Own mistake in image threading commit.
2012-11-17Fix #33204: Blur node ignores Gamma settingSergey Sharybin
Gamma correction option was ignored by new compositor system. Also new compositor was doing alpha premul in a wrong way. In fact, not sure if it should do premul -- old compositor didn't do that..
2012-11-16code cleanup: replace most DO_MINMAX2 -> minmax_v2v2_v2Campbell Barton
also add UNPACK macros's. handy for printing vectors for eg.
2012-11-15Image thread safe improvementsSergey Sharybin
This commit makes BKE_image_acquire_ibuf referencing result, which means once some area requested for image buffer, it'll be guaranteed this buffer wouldn't be freed by image signal. To de-reference buffer BKE_image_release_ibuf should now always be used. To make referencing working correct we can not rely on result of image_get_ibuf_threadsafe called outside from thread lock. This is so because we need to guarantee getting image buffer from list of loaded buffers and it's referencing happens atomic. Without lock here it is possible that between call of image_get_ibuf_threadsafe and referencing the buffer IMA_SIGNAL_FREE would be called. Image signal handling too is blocking now to prevent such a situation. Threads are locking by spinlock, which are faster than mutexes. There were some slowdown reports in the past about render slowdown when using OSX on Xeon CPU. It shouldn't happen with spin locks, but more tests on different hardware would be really welcome. So far can not see speed regressions on own computers. This commit also removes BKE_image_get_ibuf, because it was not so intuitive when get_ibuf and acquire_ibuf should be used. Thanks to Ton and Brecht for discussion/review :)
2012-11-15fix for deleting lines hanging the text editor when no markers are used, ↵Campbell Barton
presence of markers still hangs. also compiler warnings and some style edits.
2012-11-15fix range map node clipping when max < minDalai Felinto
(useful for flipping the values inside the node)
2012-11-14Map Range Node (tiles)Dalai Felinto
this node allows for more control for normalization of the mapped input range. Made during BlenderPRO 2012 - Brasilia, Brazil :) Idea and testing: Daniel Salazar Implementation: yours truly Reviewed by Lukas Toenne and Sergey Sharybin
2012-11-12code cleanup: spelling,Campbell Barton
also initialize bmesh-bevel settings struct to zero to avoid possible uninitialized memory later.
2012-11-11Code de-duplication in imageprocess.c -- made it use interpolation functions ↵Sergey Sharybin
from blenlib
2012-11-10Removed determineDependingAreaOfInterest from movie distortion nodeSergey Sharybin
It wasn't used and it was incorrect anyway (distortion could be more than 100px).
2012-11-10Solved issue with distorted compositor results in some casesSergey Sharybin
Originally issue was discovered when using stabilization and movie distortion nodes, but in fact issue was caused by render layer node always doing nearest interpolation. Now made it so this node will respect sampler passed to it's executePixel function and do an interpolation. Added two new functions to do bilinear/bicubic interpolation in float buffer with variable number of components per element, so it could interpolate 1, 3 and 4 component vectors. This functions currently mostly duplicates the same functions from imageprocess.c and it should actually be de-duplicated. Think it's ok to leave a bit of time with such duplication, since functions should be generalized one more time to support byte buffers, which could backfire on readability. Also removed mark as complex from stabilization node, which isn't needed sine int fact this node is not complex.
2012-11-10Fixes for movie distortion nodeSergey Sharybin
- Somehow this node was using nearest interpolation which seems have been passed from compositor node. It was using b-spline interpolation with old compositor implementation. Now forced this node to use bilinear interpolation, which should be close enough. - Operation should be marked as complex it seems, otherwise area of interest wouldn't make any affect on it's behavior.
2012-11-09style cleanup: indentationCampbell Barton
2012-11-07Fixed crashes when motion tracks are zero-sizedSergey Sharybin
This is probably versioning issue happened when both trunk and tomato were mixed to work on the same file. Anyway, there're few files here locally and it's probably other users do have the same files, so lets keep things safe here :)
2012-11-04fix own error in r51819, was reading outside of the buffer, also comment ↵Campbell Barton
unused vars.
2012-11-04code cleanup: double promotionsCampbell Barton
2012-11-03style cleanup: tabs & whitespaceCampbell Barton
2012-11-02fix for compositor regression where blur note offset the image one pixel to ↵Campbell Barton
the top right.
2012-11-01style cleanupCampbell Barton
2012-10-28style cleanupCampbell Barton
2012-10-26style cleanupCampbell Barton
2012-10-24Oeps... Enabled the pixelate node added documentation, removed unneededJeroen Bakker
code
2012-10-24style cleanupCampbell Barton
2012-10-24Updated crop image setting to make every pixel outside the crop black asJeroen Bakker
it is expected. Fix for [#32955] Compositer "Crop" node option "Crop Image Size" doesn't really crop the input image
2012-10-24Adding a pixelate node.Jeroen Bakker
This makes it possible to create pixelized scale in the Tile compositor. Just append the node in front of a scale node or where you want the pixelization to take place. There were some bugs on this subject, but they used the work around to add a blur size of 0 in the place where they need the pixelization.
2012-10-24rename axis_primary_v3() to max_axis_v3() to avoid confusion with ↵Campbell Barton
axis_dominant_v3(). also add min_axis_v3().
2012-10-23reduce float comparisons for keying operation and despill.Campbell Barton
2012-10-23use min_ max_ functions in more places.Campbell Barton
also fix minor error in MOD decimate when the modifier did nothing the reported face count would be wrong.
2012-10-23rename api functions...Campbell Barton
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii
2012-10-21Fix for [#32931] Crop node resets values to 0Jeroen Bakker
Patch done by Markus Kasten Thanks for that!
2012-10-21style cleanup: bge, switch statements mostly.Campbell Barton
also left bmesh decimator on in previous commit.
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-16code cleanup: use float sizes for function args.Campbell Barton
2012-10-14code cleanup: remove redundant casts. quiet some qualifier warnings.Campbell Barton
2012-10-13Cycles: progressive refine optionSergey Sharybin
Just makes progressive refine :) This means the whole image would be refined gradually using as much threads as it's set in performance settings. Having enough tiles is required to have this option working as it's expected. Technically it's implemented by repeatedly computing next sample for all the tiles before switching to next sample. This works around 7-12% slower than regular tile-based rendering, so use this option only if you really need it. This commit also fixes progressive update of image when Save Buffers option is enabled. And one more thing this commit fixes is handling display buffer with Save Buffers option enabled. If this option is enabled image buffer wouldn't have neither byte nor float buffer until image is fully rendered which could backfire in missing image while rendering in cases color management cache became full. This issue solved by allocating byte buffer for image buffer from tile update callback. Patch was reviewed by Brecht. He also made some minor edits to original version to patch. Thanks, man!
2012-10-07code cleanup: glare stream operation was setting alpha array twice.Campbell Barton
2012-10-04style cleanup: comment blocksCampbell Barton
2012-10-03fix [#32739] Glare node does "add" instead of "lighten"Campbell Barton
2012-10-02freeing node trees no longer decreases their user counts, this cause causing ↵Campbell Barton
invalid memory access when freeing the blend file.
2012-10-02 * fix for regression test [compo_map_uv.blend]Jeroen Bakker
the wrapping was resized to fit the uv map. this step was wrong and has been deleted.
2012-10-02 * fix for regression file [compo_map_zcombine_cubes.blend]Jeroen Bakker
the alpha mix formula was wrong. updated it. Be aware that the regression file does not take the alpha into account, but it should. or at least one z combine should and the other not. this fails in 2.63a. - At Mind -
2012-10-01Fix #32728: File Output node always save as RGBA, even when RGB is selectedSergey Sharybin
Seems to be a regression in new compositor system -- wrong number of planes was using for image buffer allocation.
2012-10-01fix [#32709] Color mix node produces artifacts from other framesCampbell Barton
2012-09-30fix for double free.Campbell Barton
2012-09-24Proper fix for #32626: TIFF renders are limited to 8 bit even when we choose 16.Sergey Sharybin
Color management would be applied on both of float and byte buffers on image save in cases if file format doesn't require linear float buffer and if image is saving as render result. This solves both initial report issue and TODO marked in previous fix. Also de-duplicated image buffer color managing code and gave some more meaningful names for few functions. Also wrote documentation around this function, so current assumptions about spaces should be clear enough. Made regression tests by saving EXR/PNG images to all supported format and rendering OpenGL/Normal animation, in all cases seems everything is fine, but more tests for sure would be welcome.
2012-09-22code cleanup: remove/comment unused definesCampbell Barton
2012-09-20code cleanup: remove unused macros, commet some which may be useful later - ↵Campbell Barton
or good to keep for completeness. quieted some warnings and add flags -Wmissing-include-dirs and -Wno-div-by-zero to cmake/gcc
2012-09-16code cleanup: quiet warnings for gcc's -Wundef, -Wmissing-declarationsCampbell Barton