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-12-05Fix for crop operation using uninitialized bounds in cases input image ↵Sergey Sharybin
resolution is zero.
2012-12-04Fix #33402: Compositor crashes when drag-dropping multilayer exrSergey Sharybin
There was a missing image reload signal in node creation by drag-dropping, which lead to incorrectly set image type. Also fixed misusage of IMB_freeImBuf used to release buffer acquired by BKE_image_acquire_ibuf.
2012-12-02Silent a bunch of gcc warnings (usually dummy, but noisy!).Bastien Montagne
2012-12-01fix [#33368] Crash with multilayer exr nodeCampbell Barton
2012-11-30Map Range: added the same infinity clamping for Z buffer as normalize node.Sergey Sharybin
Think should be pretty much harmless since if this node was used for buffers with infinities it already showed artifacts. Now it should be more useful for mapping Z buffers.
2012-11-30Normalize node: clamp infinities to 0/1 (depending on sign)Sergey Sharybin
The same behavior was in old compositor system and it makes more sense when you're normalizing Z buffer.
2012-11-30Final render wouldn't set compositor's update_draw callback, so added NULL checkSergey Sharybin
Seems no extra notifiers should be added here.
2012-11-30Compositor should never add notifiers by himself, notifiers should be addedSergey Sharybin
from main thread using job update callback. Added new execution-time callback to bNodeTree which marks job to be updated. The code here could be a bit not so obvious because in some cases job update callback need to merge local tree, but it's only needed for old compositor system which is gonna to be removed soon, so decided not to bother with cleanup now. Removing old compositor system will also allow to drop stats_draw callback from bNodeTree. This should fix following bugs:
2012-11-28typo's and some style cleanup, also added asserts into BLI_vsnprintf and ↵Campbell Barton
BLI_sprintfN when invalid args are given.
2012-11-26code cleanup: doxy comment corrections and correct own typo animation player ↵Campbell Barton
docs.
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-23Compositor: Disabled debug assert checks for connected input sockets after ↵Lukas Toenne
convertToOperations. This breaks quite a lot and is not really necessary, since connected Node inputs are ignored later on. Connected outputs however are still forbidden, this indicates a real bug.
2012-11-21When the File Output node exits early in convertToOperations (in case not ↵Lukas Toenne
rendering), it should still unlink all inputs to avoid debug assert failure that checks for remaining Node connections (debug_check_node_connections).
2012-11-21Fix for debug assert failure with Reroute nodes in compositor. After ↵Lukas Toenne
redirecting links from the reroute output the input must be completely unlinked, otherwise the debug_check_node_connections will complain (this is a sanity check that ensures all the original Nodes have been fully reconnected to Operations).
2012-11-17Fix compositing normal node not properly showing vector XYZ values when openingBrecht Van Lommel
socket menu, and make the normal animatable.
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-01Fix for Hue/Sat/Val compositor node. This was using the wrong input socket ↵Lukas Toenne
for the color constant (Fac instead Image).
2012-11-01style cleanupCampbell Barton
2012-10-29Added compositor graph functions for removing socket connections explicitly ↵Lukas Toenne
in convertToOperations. The InputSocket->unlink function should only be used in combination with relinkConnectionsDuplicate, in which case the original node connection will still exist. This would trigger an assert failure, so the original connection should be removed. Only node using this atm is the channel separation node, but will be needed for future group nodes too.
2012-10-28style cleanupCampbell Barton
2012-10-26style cleanupCampbell Barton
2012-10-25Internal node links are now cached in a per-node list, instead of being ↵Lukas Toenne
generated as a transient list that is returned from the callback and had to be freed by the caller. These internal links are used for muted nodes, disconnect operators and reroute nodes, to effectively replace the node with direct input-to-output links. Storing this list in the node has the advantage of requiring far fewer calls to the potentially expensive internal_connect callback. This was called on every node redraw ... Also it will allow Cycles to properly use the internal links for muted nodes, which ensures consistent behavior. The previous method was not applicable in Cycles because transient list return values are not supported well in the RNA and particularly the C++ API implementation.
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-23Solve unresolved call of min(int&, unsigned int&)Sergey Sharybin
Alternative could be using unsigned ints for min/max chunks.
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-23code cleanup: remove $Id's that crept back in, also osl style editsCampbell Barton