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
2013-02-15And more UI messages issues fixing... Thanks again to Gabriel Gazzán and ↵Bastien Montagne
Leon Cheung!
2013-02-15skip fix from r54579 when holes aren't used (keeps bmesh ngon filling fast)Campbell Barton
2013-02-15Fix #34254: cycles brightness/contrast node was missing for GLSL material view.Brecht Van Lommel
2013-02-14Divide by 3 instead of multiplying by variations of 0.333Sergej Reich
Fixes small precision problems.
2013-02-12Composite node "Alpha over" didn't allow to be dragged wide enough.Ton Roosendaal
2013-02-10Added option to composite/viewer nodes which specifys whether alpha inputSergey Sharybin
is straight or not (premultiplied is default). This is useful in cases when you want to check on output of such nodes as keying which does have straight alpha output. Also added missing do_version code to previous compo do_versions.
2013-02-05remove stringify macro from alloc'sCampbell Barton
2013-02-04style cleanup: spaces -> tabsCampbell Barton
2013-02-02style cleanupCampbell Barton
2013-01-31 Apply patch [#33999] Wrapping mode for the "translate" compositing nodeMonique Dewanchand
this patch enables the translate node to wrap around the image borders. This is especially needed if the translate node is not used to position elements on a layer but when it is used instead for seamless backgrounds like mountains or clouds that should be repeated over time (by animating the x/y values). No trunk without docs! So here is my documentation: http://wiki.blender.org/index.php/User:Plasmasolutions/TranslateNodeExtension The code is properly documented and should be easy to read and understand. When there are any problems or issues, please comment, I'll tackle them right away! Greetings, Thomas Beck * optimized determination dependant areas * fixed some issues with scale node There are still some issues when scaling very small values (x=0.0001) - At Mind -
2013-01-25header cleanup, include BLI before BKE, also use bool for ntreeShaderExecTreeCampbell Barton
2013-01-24Disabled commit that was rendering Blender Internal for Cycles nodes.Ton Roosendaal
Apparently Material nodes allow a mix of Cycles and BI Materials. Nifty! I should read more docs, like this cool tutorial: http://urchn.org/post/combining-blender-internal-and-cycles-in-one-render
2013-01-24Logic mistake in previous commit, broke node materials for Internal render.Ton Roosendaal
Stupid!
2013-01-24UsabilityTon Roosendaal
- Cycles materials now render in Blender Internal too, skipping the nodes. Not very useful, but at least things then show up on renders and in previews. - Node editor: if wrong shader nodes are in a tree, they draw with thene color RED ALERT headers now. (Switching render engine will show it).
2013-01-21Fixed render time regression in Blender InternalSergey Sharybin
It was caused by image threading safe commit and it was noticeable only on really multi-core CPU (like dual-socket Xeon stations), was not visible on core i7 machine. The reason of slowdown was spinlock around image buffer referencing, which lead to lots of cores waiting for single core and using image buffer after it was referenced was not so much longer than doing reference itself. The most clear solution here seemed to be introducing Image Pool which will contain list of loaded and referenced image buffers, so all threads could skip lock if the pool is used for reading only. Lock only needed in cases when buffer for requested image user is missing in the pool. This lock will happen only once per image so overall amount of locks is much less that it was before. To operate with pool: - BKE_image_pool_new() creates new pool - BKE_image_pool_free() destroys pool and dereferences all image buffers which were loaded to it - BKE_image_pool_acquire_ibuf() returns image buffer for given image and user. Pool could be NULL and in this case fallback to BKE_image_acquire_ibuf will happen. This helps to avoid lots to if(poll) checks in image sampling code. - BKE_image_pool_release_ibuf releases image buffer. In fact, it will only do something if pool is NULL, in all other case it'll equal to DoNothing operation.
2013-01-15Code cleanup: remove some remaining code from the old compositor.Brecht Van Lommel
2013-01-15Fix #33800: GLSL group nodes not using the external input value unless a nodeBrecht Van Lommel
was connected to the socket.
2013-01-14Dosvidanya, old compositor!Sergey Sharybin
You served well and now desired retirement, but you'll always live in our hearts. And for sure -- monument! +-------------------------------------------+ / ++==+ . .. . ... . .. . / / // ++==++ ++ ++ ++==++ ++==++ / / // // // //\\//\\ // // // // / / ++==+ ++==++ // \\ //==++ ++==++ / / . ... .. . // .. ... / +-------------------------------------------+ Some notes: - Removed all code which was from inside ifdef WITH_COMPOSITOR_LEGACY - Removed some functions which were used by old compositor only but weren't ported to new color management - Removed WITH_COMPOSITOR_LEGACY from build systems - node_composite_util.h was in fatc used by compo nodes specification files, so added it back to cmake. Could be cleaned up by moving header files to files where they're actually needed but would consider this is a separate task. - Should be no functional changes!
2013-01-13Even though we want to get rid of this legacy compo soon, code should ↵Bastien Montagne
compile as long as it is here! :)
2013-01-12patch from Harley Acheson to remove multiple inline defines.Campbell Barton
2013-01-01Fix for normal scaling when using triangle primitives for hair.Stuart Broadfoot
and some code clean ups in blender_curves and node_shader_hair_info.c
2012-12-31Alpha premul pipeline cleanupSergey Sharybin
This assumptions are now made: - Internally float buffers are always linear alpha-premul colors - Readers should worry about delivering float buffers with that assumptions. - There's an input image setting to say whether it's stored with straight/premul alpha on the disk. - Byte buffers are now assumed have straight alpha, readers should deliver straight alpha. Some implementation details: - Removed scene's color unpremultiply setting, which was very much confusing and was wrong for default settings. Now all renderers assumes to deliver premultiplied alpha. - IMB_buffer_byte_from_float will now linearize alpha when converting from buffer. - Sequencer's effects were changed to assume bytes have got straight alpha. Most of effects will work with bytes still, however for glow it was more tricky to avoid data loss, so there's a commented out glow implementation which converts byte buffer to floats first, operates on floats and returns bytes back. It's slower and not sure if it should actually be used -- who're using glow on alpha anyway? - Sequencer modifiers should also be working nice with straight bytes now. - GLSL preview will predivide float textures to make nice shading, shading with byte textures worked nice (GLSL was assuming straight alpha). - Blender Internal will set alpha=1 to the whole sky. The same happens in Cycles and there's no way to avoid this -- sky is neither straight nor premul and doesn't fit color pipeline well. - Straight alpha mode for render result was also eliminated. - Conversion to correct alpha need to be done before linearizing float buffer. - TIFF will now load and save files with proper alpha mode setting in file meta data header. - Remove Use Alpha from texture mapping and replaced with image datablock setting. Behaves much more predictable and clear from code point of view and solves possible regressions when non-premultiplied images were used as textures with ignoring alpha channel.
2012-12-28New featureStuart Broadfoot
Patch [#33445] - Experimental Cycles Hair Rendering (CPU only) This patch allows hair data to be exported to cycles and introduces a new line segment primitive to render with. The UI appears under the particle tab and there is a new hair info node available. It is only available under the experimental feature set and for cpu rendering.
2012-12-28style cleanupCampbell Barton
2012-12-23Added support of J2K codec for Jpeg2000 writingSergey Sharybin
This codec is absolutely needed to generate DCP using OpenDCP, before that external application to convert JP2 to J2K was used which slowed down export a lot. New codec is exposed to image format settings panel and called Codec. Default one is JP2 which creates files with .jp2 extension, new one is called J2K which creates with .j2c extension. Other changes: - Fixed avi jpeg warning which was treating as error here. - Made it so extension is detecting from ImageFormatData instead of image file type, which makes it possible to have different extension for the same file type depending on it's settings. IRIS format should still be changed (depending on number of channels it'll be .bw, .rgb or .rgba extension) - Default image format settings would be set from image buffer when re-saving it. Makes it possible to easily open .j2c file and save it using J2K codec (without this change it'll save as .jp2 using JP2 codec)
2012-12-21replace MIN/MAX 3,4 with inline functionsCampbell Barton
2012-12-19Sync (ui) names between composite node files and rna nodetree types ↵Bastien Montagne
(Pixelate was even missing from RNA!) We really need Luckas' work, maintaining those two different stuff is completely stupid! :)
2012-12-17Added GPL header to sconscripts!Bastien Montagne
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes...
2012-12-13style cleanup: changes from recent commitsCampbell Barton
2012-12-11Cycles: RGB and Vector Curves nodes now supported, with the limitation that theBrecht Van Lommel
range must be left to the default (0..1 and -1..1).
2012-12-11code cleanup: neareast -> nearestCampbell Barton
2012-12-10Fix shader nodes Normal node not showing right direction choosing widget.Brecht Van Lommel
2012-12-09Fix for Render Layers node: when sockets are hidden (by 'hide unused ↵Lukas Toenne
sockets' operator, ctrl+h), newly enabled render passes will not show up in the Render Layers node. The SOCK_HIDDEN flag cancels out the SOCK_UNAVAIL flag in that case. Disable the SOCK_HIDDEN flag as well when showing new passes to avoid confusion.
2012-12-02Silent a bunch of gcc warnings (usually dummy, but noisy!).Bastien Montagne
2012-12-02code cleanupCampbell Barton
2012-12-02Compositor:Thomas Dinges
* Change default blur type (Blur Node) to Gaussian. Feature Request by Sebastian König. Patch by Troy Sobotka, approved by Campbell, Sergey and myself.
2012-12-01Fix #33372: materials linked in node setups did not output alpha values unlessBrecht Van Lommel
the parent material also had alpha enabled. However it's useful to have it do this even if the main material does not need alpha, to mix textures.
2012-11-30Removed unused register_ lines from for and while loop nodes. These nodes ↵Lukas Toenne
were already commented out and removed in r51576.
2012-11-28Fix normal compositing/shader node not showing normal widget.Brecht Van Lommel
It would actually show after save and reload, the subtype and min/max were not properly initialized for node output sockets.
2012-11-23Patch [#33196] Warning Fixes 11-16-2012Jason Wilkins
* MEM_CacheLimitier - Size type to int conversion, should be safe for now (doing my best Bill Gates 640k impression) * OpenNL CMakeLists.txt - MSVC and GCC have slightly different ways to remove definitions (DEBUG) without the compiler complaining * BLI_math inlines - The include guard name and inline option macro name should be different. Suppressed warning about not exporting any symbols from inline math library * BLI string / utf8 - Fixed some inconsistencies between declarations and definitions * nodes - node_composite_util is apparently not used unless you enable the legacy compositor, so it should not be compiled in that case. Leaving out changes to BLI_fileops for now, need to do more testing.
2012-11-23Fix related to #33259: cycles normal map node color input couldn't beBrecht Van Lommel
disconnected properly with dragging.
2012-11-18style cleanup: comments & spellingCampbell Barton
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-17One more remained issue in legacy compositor, Hopefully last one.Sergey Sharybin
2012-11-17Old compositor should be compilable nowSergey Sharybin
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-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-08Cycles: add strength input for normal map node.Brecht Van Lommel
2012-11-08code cleanup: unused defines & some formatting.Campbell 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 :)