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-05-04Cycles Denoising: Move denoising properties to the Cycles addon and improve ↵Lukas Stockner
the UI
2017-05-03Merge remote-tracking branch 'origin/master' into temp-cycles-denoisingLukas Stockner
2017-05-03"Fix" root cause of T51260 Forward compatibility crash fter adding new ↵Bastien Montagne
IDProp type. We unfortunately cannot fix this for previous versions of Blender, but at least the issue (Blender crashing on unknown IDProp types) should now be addressed for future. Simply reset unknown IDProp types to integer one, and reset its value to zero.
2017-05-03Render API/Cycles: Identify Render Passes by their name instead of a type flagLukas Stockner
Previously, every RenderPass would have a bitfield that specified its type. That limits the number of passes to 32, which was reached a while ago. However, most of the code already supported arbitrary RenderPasses since they were also used to store Multilayer EXR images. Therefore, this commit completely removes the passflag from RenderPass and changes all code to use the unique pass name for identification. Since Blender Internal relies on hardcoded passes and to preserve compatibility, 32 pass names are reserved for the old hardcoded passes. To support these arbitrary passes, the Render Result compositor node now adds dynamic sockets. For compatibility, the old hardcoded sockets are always stored and just hidden when the corresponding pass isn't available. To use these changes, the Render Engine API now includes a function that allows render engines to add arbitrary passes to the render result. To be able to add options for these passes, addons can now add their own properties to SceneRenderLayers. To keep the compositor input node updated, render engine plugins have to implement a callback that registers all the passes that will be generated. From a user perspective, nothing should change with this commit. Differential Revision: https://developer.blender.org/D2443 Differential Revision: https://developer.blender.org/D2444
2017-04-24Merge remote-tracking branch 'origin/master' into temp-cycles-denoisingLukas Stockner
2017-04-24Cycles Denoising: Merge all the changes from the version that's being reviewedLukas Stockner
No functional changes.
2017-04-24Cleanup: styleCampbell Barton
2017-04-14Merge remote-tracking branch 'origin/master' into temp-cycles-denoisingLukas Stockner
2017-04-13Datablock ID PropertiesAlexander Romanov
The absence of datablock properties "will certainly be resolved soon as the need for them is becoming obvious" said the [[http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.67/Python_Nodes|Python Nodes release notes]]. So this patch allows Python scripts to create ID Properties which reference datablocks. This functionality is implemented for `PointerProperty` and now such properties can be created with Python. In addition to the standard update callback, `PointerProperty` can have a `poll` callback (standard RNA) which is useful for search menus. For details see the test included in this patch. Original author: @artfunkel Alexander (Blend4Web Team) Reviewers: brecht, artfunkel, mont29, campbellbarton Reviewed By: mont29, campbellbarton Subscribers: jta, sergey, campbellbarton, wisaac, poseidon4o, mont29, homyachetser, Evgeny_Rodygin, AlexKowel, yurikovelenov, fjuhec, sharlybg, cardboard, duarteframos, blueprintrandom, a.romanov, BYOB, disnel, aditiapratama, bliblubli, dfelinto, lukastoenne Maniphest Tasks: T37754 Differential Revision: https://developer.blender.org/D113
2017-03-31Merge remote-tracking branch 'origin/master' into temp-cycles-denoisingLukas Stockner
2017-03-29Cycles Denoising: Remove cross- and gradient-denoising option, replace PCA ↵Lukas Stockner
threshold with a checkbox Cross denoising is significantly slower, needs more memory and didn't really produce better results in my tests. Gradient denoising sometimes helped, but tends to produce artifacts and was broken for a few weeks already anyways. The extremely confusing "Filter strength" (negative values used to map to an absolute threshold of 10^(2*-strength), positive ones to a relative threshold of 10^(2*strength), 0 to relative 1e-3) was replaced by a checkbox that selects between an absolute threshold of 1 and a relative threshold of 1e-3. Eventually, I'd like to completely remove the option, but it's not clear yet which one is the better approach.
2017-03-28Forgot those IDP_LibLinkProperty call on node sockets IDProps in previous ↵Bastien Montagne
commit...
2017-03-28Fix lib_link_cachefile.Bastien Montagne
That one was: * Resetting non-ID pointers (lib_link_xxx funcs should only affect ID pointers, everything else shall be done in direct_link_xxx func). * Even worse, always calling lib_link_animdata, even when LIB_TAG_NEED_LINK tag was unset...
2017-03-28Bring back `lib_link_mesh()` in 'order' with other libdata liblink functions.Bastien Montagne
We do not need any special handling anymore for usercount of images used by faces/polygons (tpage stuff), since we have the 'real_user' handling, which will gracefully cope with all possible situations. So better not keep that ugly confusing useless special case.
2017-03-28readfile.c: Cleanup lib_link code a bit.Bastien Montagne
Mainly: * Add missing `IDP_LibLinkProperty()` calls for many ID types (harmless currently, but better be consistent here!). * Bring lib_link_xxx functions more in line with each other. * Replace some long if/else by switch.
2017-03-27Merge remote-tracking branch 'origin/master' into temp-cycles-denoisingLukas Stockner
2017-03-27CMake: WITH_PYTHON_SECURITY=OFF was ignoredCampbell Barton
Allow auto-execution to be enabled, also move this to user-prefs versioning code.
2017-03-27Merge remote-tracking branch 'origin/master' into temp-cycles-denoisingLukas Stockner
2017-03-25Automatic DPI for all platforms, per monitor DPI for Windows.Wouter
For Windows 8.1 and X11 (Linux, BSD) now use the DPI specified by the operating system, which previously only worked on macOS. For Windows this is handled per monitor, for X11 this is based on Xft.dpi or xrandr --dpi. This should result in appropriate font and button sizes by default in most cases. The UI has been simplified to a single UI Scale factor relative to the automatic DPI, instead of two DPI and Virtual Pixel Size settings. There is forward and backwards compatibility for existing user preferences. Reviewed By: brecht, LazyDodo Differential Revision: https://developer.blender.org/D2539
2017-03-24Cycles Denoising: Make naming of the options more consistentLukas Stockner
Used to be a mess of denoising_, denoise_ and filter_, now all start with denoising_.
2017-03-24Cycles Denoising: Rename half window to radiusLukas Stockner
2017-03-23Merge updated shadowcatcher into temp-cycles-denoisingLukas Stockner
2017-03-17Refactor writefile handling of data-blocks.Bastien Montagne
Instead of calling a function looping over whole list of a given ID type, make whole loop over Main in parent function, and call functions writing a single datablock at a time. This design is more in line with all other places in Blender where we handle whole content of Main (including readfile.c), and much more easy to extend and add e.g. some generic processing of IDs before/after writing, etc. From user point, there should be no change at all, only difference is that data-block types won't be saved in same order as before (.blend file specs enforces no order here, so this is not an issue, but it could bug some third party users using other, simplified .blend file reader maybe). Reviewers: sergey, campbellbarton Differential Revision: https://developer.blender.org/D2510
2017-03-16Add BKE_blendfile_userdef_read_from_memoryCampbell Barton
Needed to read user-preferences from in-memory startup.blend Also skip data-blocks when reading preferences.
2017-03-16Fix BGE building.Bastien Montagne
When you use typedef'ed enum, you need to define all supported values explicitely in enum, else compiler goes grumpy...
2017-03-15Load user-preferences before startup fileCampbell Barton
Internal change needed for template support. Loading the user preferences first so it's possible for preferences to control startup behavior. In general it's useful to load preferences before data-files, so we know security settings for eg.
2017-03-12Merge remote-tracking branch 'origin/master' into temp-cycles-denoisingLukas Stockner
Conflicts: intern/cycles/device/CMakeLists.txt intern/cycles/device/device_cpu.cpp intern/cycles/device/device_cuda.cpp intern/cycles/device/device_task.h intern/cycles/device/opencl/opencl_split.cpp intern/cycles/kernel/CMakeLists.txt intern/cycles/kernel/kernel_path_branched.h intern/cycles/kernel/kernel_path_surface.h intern/cycles/kernel/kernel_shader.h intern/cycles/kernel/kernels/cpu/kernel_cpu_impl.h intern/cycles/kernel/kernels/cuda/kernel.cu intern/cycles/kernel/split/kernel_buffer_update.h intern/cycles/kernel/svm/svm_closure.h intern/cycles/util/util_atomic.h
2017-03-06Surface Deform Modifier: Respect object transforms at bind timeLuca Rood
This slightly changes SDef behavior, by now respecting object transforms at bind time, thus not requiring the objects to be aligned in their respective local spaces, but instead using world space.
2017-02-27Surface Deform Modifier (SDef)Luca Rood
Implementation of the SDef modifier, which allows meshes to be bound by surface, thus allowing things such as cloth simulation proxies. User documentation: https://wiki.blender.org/index.php/User:Lucarood/SurfaceDeform Reviewers: mont29, sergey Subscribers: Severin, dfelinto, plasmasolutions, kjym3 Differential Revision: https://developer.blender.org/D2462
2017-02-23Fix T50736: Zero streaks in Glare node.Bastien Montagne
Please never, ever use same DNA var for two different things. Even worse if they do not have same type and ranges! This is only ensuring issues (as described in report, but also if animating both RNA props using same DNA var... yuck). And we were not even saving any byte in DNA, could reuse some padding there to store the two new needed vars (yes, two, since we cannot re-use existing one if we want to keep backward *and* forward compatibility).
2017-02-15Comments: notes on polyfill2d, minor correctionsCampbell Barton
2017-02-12Merge remote-tracking branch 'origin/master' into temp-cycles-denoisingLukas Stockner
2017-02-12Cycles Denoising: Remove Render Pass changesLukas Stockner
2017-02-11Use dummy versionning numbers for missing libraries.Bastien Montagne
We now assert that we now file version of libraries (needed for do_version after linking step), so for missing libraries, set dummy numbers (using version of main .blend file actually).
2017-02-09Merge remote-tracking branch 'origin/master' into soc-2016-cycles_denoisingLukas Stockner
Conflicts: source/blender/blenloader/intern/writefile.c
2017-02-06Fix (unreported) Object previews being written even for skipped objects.Bastien Montagne
2017-02-06Cleanup writefile code a bit.Bastien Montagne
Modernize some of it a bit, saves quite some lines of blabla (using shile instead of for loops... tsssts...).
2017-02-01Merge remote-tracking branch 'origin/master' into soc-2016-cycles_denoisingLukas Stockner
2017-01-31Cleanup: use 'cb_flag', not 'cd_flag' for library_query callbacks.Bastien Montagne
`cd_flag` tends to be used for CustomData flags in mesh area, while for library_query those are rather callback flags...
2017-01-31Cleanup: Rename callback flags from library_query to `IDWALK_CB_...`Bastien Montagne
Better to have clear way to tell whether flag is parameter for BKE_library_foreach_ID_link(), parameter for its callback function, or return value from this callback function.
2017-01-27Fixup for rBac58a7fa (HSV doversion)Dalai Felinto
We are not bumping file version, but we cannot have the doversion code running twice. In this particular case it was crashing files, since we were setting node->storage to NULL, and later on accessing it.
2017-01-26Compositor: Make HSV node inputs a real socketsSergey Sharybin
This is much more flexible solution which will allow doing some more procedural features. Reviewers: brecht, dfelinto, mont29 Reviewed By: mont29 Subscribers: Severin Differential Revision: https://developer.blender.org/D2403
2017-01-26Fix T50287: Blender crashes when open a blend that contains an alembicKévin Dietrich
file. Missed in rB62a2ed97b.
2017-01-20D1873: Customize style for animation motion pathsAntonio Vazquez
New options to define the style of the animation paths in order to get better visibility in complex scenes. Now is possible define the color, thickness and several options relative to the style of the lines used to draw motion path.
2017-01-20Cycles/Render API: Get rid of Render Pass flags and port Denoising passes to ↵Lukas Stockner
the new system This also means that the temporary uint64_t passflag hack is removed now.
2017-01-18GP Interpolate Sequence: Tool settings for controlling the shape of ↵Joshua Leung
interpolation This commit introduces the ability to use the Robert Penner easing equations or a Custom Curve to control the way that the "Interpolate Sequence" operator interpolates between keyframes. Previously, it was only possible to get linear interpolation between the gp frames. Workflow: 1) Place current frame between a pair of GP keyframes 2) Open the "Interpolate" panel in the Toolshelf 3) Choose the interpolation type (under "Sequence Options") 4) Adjust settings (e.g. if you're using "Custom Curve", use the curvemap widget to define the way that the interpolation proceeds) 5) Click "Sequence" to interpolate 6) Play back/scrub the animation to see if you've got the result you want 7) If you need to make some tweaks, undo, or delete the generated keyframes, then repeat the process again from step 4 until you've got the desired result.
2017-01-16Cleanup/refactor: Add new BLI_string_util.Bastien Montagne
Things like `BLI_uniquename` had nothing, but really nothing to do in BLI_path_util files! Also, got rid of length limitation in `BLI_uniquename_cb`, we can use alloca here to avoid overhead of malloc while keeping free size (within reasonable limits of course).
2017-01-12Merge remote-tracking branch 'origin/master' into soc-2016-cycles_denoisingLukas Stockner
2016-12-29Fix T50334: Also select indirectly imported objects when linking/appending.Bastien Montagne
Since we create a base and instantiate them, they become directly linked, so makes sense to also select them if requested.
2016-12-27Correct bad cast, unused var warningCampbell Barton