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
2019-02-13Fix missing Cycles cryptomatte metadata in renders.Brecht Van Lommel
2019-02-11Merge branch 'blender2.7'Brecht Van Lommel
2019-02-11Cycles: add animation denoising test, fix operator to work with single frames.Brecht Van Lommel
2019-02-11Cycles: backport samples metadata format changes to 2.7.Sergey Sharybin
The render layer name is now always included. Best to keep these consistent, so that animation denoising and sample merging works the same for both and tests can be the same. Ref D4311.
2019-02-11Cycles: add animation denoising Python operator.Lukas Stockner
This adds a cycles.denoise_animation operator, which denoises an animation sequence or individual file. Renders must be saved as multilayer EXR files with denoising data passes. By default file path and frame range come from the current scene, and EXR files are denoised in-place. Alternatively, a different input and/or output file path can be provided. Denoising settings come from the current view layer. Renders can be denoised again with different settings, as the original noisy image is preserved along with other passes and metadata. There is no user interface yet for this feature, that comes later. Code by Lukas with modifications by Brecht. This feature was originally developed for Tangent Animation, thanks for the support! Differential Revision: https://developer.blender.org/D3889
2019-02-11Merge branch 'blender2.7'Brecht Van Lommel
2019-02-11Cycles: add animation denoising Python operator.Lukas Stockner
This adds a cycles.denoise_animation operator, which denoises an animation sequence or individual file. Renders must be saved as multilayer EXR files with denoising data passes. By default file path and frame range come from the current scene, and EXR files are denoised in-place. Alternatively, a different input and/or output file path can be provided. Denoising settings come from the current view layer. Renders can be denoised again with different settings, as the original noisy image is preserved along with other passes and metadata. There is no user interface yet for this feature, that comes later. Code by Lukas with modifications by Brecht. This feature was originally developed for Tangent Animation, thanks for the support!
2019-02-11Cycles: refactor Blender device settings handling into own file.Brecht Van Lommel
2019-02-06Improvements and fixes to Cycles metadataSergey Sharybin
This is a request by the studio here to make it possible to see how many samples were used to render a specific shot or a frame. It is a bit more tricky than simply stamping number of samples from a scene since rendering is happening in multiple ranges of samples. This change makes it so Cycles saves configured number of samples for the specific view layer, and also stores start sample and number of samples when rendering only a subrange of all samples. The format used is "cycles.<view_layer_name>.><field>", which allows to have information about all layers in a multi-layer EXR file. Ideally we can store simplified "cycles.<field>" if we know that there is only one render layer in the file, but detecting this is somewhat tricky since Cycles operates on an evaluated scene which always have single view layer. The metadata is shown in the Metadata panels for clip, image and sequencer spaces. Example screenshot which shows the metadata: {F6527727} Reviewers: brecht Reviewed By: brecht Subscribers: fsiddi Differential Revision: https://developer.blender.org/D4311
2019-02-06Merge branch 'blender2.7'Brecht Van Lommel
2019-02-06Cycles: prefilter feature passes separate from denoising.Lukas Stockner
Prefiltering of feature passes will happen during rendering, which can then be used for denoising immediately or written as a render pass for later (animation) denoising. The number of denoising data passes written is reduced because of this, leaving out the feature variance passes. The passes are now Normal, Albedo, Depth, Shadowing, Variance and Intensity. Ref D3889.
2019-01-31Fix T60973: crash baking objects disabled for rendering.Brecht Van Lommel
2019-01-30Merge branch 'blender2.7'Brecht Van Lommel
2019-01-30Cycles: improved rounding of sample chunks for resumable rendersSybren A. Stüvel
When using `--cycles-resumable-num-chunks N` to render a subset of the samples, having N close to the total number of samples causes rounding issues. For example, a file configured for 250 samples and 150 chunks should have 1.6666 sample per chunk. The old code rounded this to 2 samples per chunk, which would result in too many samples being rendered. When rendering a single chunk this doesn't matter much, but when larger chunk ranges are rendered with `--cycles-resumable-start-chunk` and `--cycles-resumable-end-chunk` the rounding errors start to add up. By multiplying with the number of chunks to render first, and only round to integers after that, this issue is solved. In the above example, rendering 3 chunks will correctly render 5 samples rather than 6. When the requested number of chunks is larger than the number of samples there will be duplicate samples (that is, sample N appearing both in chunk M and M+1). In this case a warning is printed to stderr. This is needed for T50977 Progressive render: use non-uniform sample chunks. Reviewed by: sergey Differential Revision: https://developer.blender.org/D4282
2019-01-29Cycles: delay CUDA and OpenCL initialization to avoid driver crashes.Brecht Van Lommel
We've had many reported crashes on Windows where we suspect there is a corrupted OpenCL driver. The purpose here is to keep Blender generally usable in such cases. Now it always shows None / CUDA / OpenCL in the preferences, and only when selecting one will it reveal if there are any GPUs available. This should avoid crashes when opening the preferences or on startup. Differential Revision: https://developer.blender.org/D4265
2019-01-26Cycles: add missing units for properties.Robert Guetzkow
Differential Revision: https://developer.blender.org/D4258
2019-01-25Fix T58142: Crash when use Cycles to render stereoscopyDalai Felinto
This is a quick workaround to prevent the crashes with multi-view. The ultimate solution can be plenty, and would turn around refactoring Cycles to handle multi-view internally, so that depsgraph could be freed before render with no problems. Reviewers: brecht, sergey For the complete discussion check: https://developer.blender.org/D4239
2019-01-24bring back possibility to override camera per viewPhilipp Oeser
this can now be found in the sidebar View panel - uses existing 'lock_camera_and_layers' but renames the property to 'use_local_camera' - uses RNA_def_property_boolean_negative_sdna to flip the value - remove the local view code in rna_SpaceView3D_lock_camera_and_layers_set - update Python code - update Addons code will be separate commit Fixes T60756 Reviewers: billreynish, brecht Maniphest Tasks: T60756 Differential Revision: https://developer.blender.org/D4247
2019-01-24Merge branch 'blender2.7'Brecht Van Lommel
2019-01-24Cycles: change default displacement method to bump mapping again.Brecht Van Lommel
Even though it makes sense logically to have displacement actually displace the mesh, this is causing a lot of confusion for existing users that are used to the previous behavior. Further, since Eevee does not support displacement yet and the discrepancy between the viewport and final render is problematic.
2019-01-21Fix T60683, T60662: Cycles render crash in edit mode for certain meshes.Brecht Van Lommel
2019-01-19Cleanup: add trailing commasCampbell Barton
Prevents clang-format merging into a single line.
2019-01-18Fix T60615: Cycles baking not working with some modifiers.Brecht Van Lommel
Refactors Cycles mesh export a bit to avoid unnecessary copies and to be in sync with the Blender baker.
2019-01-17Fix T60558: Cycles viewport render mismatch when the camera is a light.Brecht Van Lommel
2019-01-09Merge branch 'blender2.7'Brecht Van Lommel
2019-01-09Fix Cycles viewport render doing some unnecessary work at the start.Brecht Van Lommel
In some cases it would load adaptive kernels or even start rendering twice because the first time the scene was not fully synced yet.
2019-01-09Fix T60342: exception when creating cycles integrator or sampling presetJacques Lucke
2019-01-05UI: Preferences Redesign Part 2Severin
(Part 1 was 00963afc14978b) Does the following changes visible to users: * Use panels and sub-panels for more structured & logical grouping * Re-organized options more logically than before (see images in D4148) * Use flow layout (single column by default). * New layout uses horizontal margin if there's enough space. * Change size of Preferences window to suit new layout. * Move keymap related options from "Input" into own section. * Own, left-bottom aligned region for Save Preferences button. * Adjustments of names, tooltips & icons. * Move buttons from header into the main region (except editor switch). * Hide Preferences header when opened in temporary window. * Use full area width for header. * Don't use slider but regular number widget for UI scale. * Gray out animation player path option if player isn't "Custom" Internal changes: * Rearrange RNA properties to match changed UI structure. * Introduces new "EXECUTE" region type, see reasoning in D3982. * Changes to panel layout and AZone code for dynamic panel region. * Bumps subversion and does versioning for new regions. RNA changes are documented in the release notes: https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Python_API/Preferences_API Design & implementation mostly done by @billreynish and myself. I recommend checking out the screenshots posted by William: https://developer.blender.org/D4148#93787 Reviewed By: brecht Maniphest Tasks: T54115 Differential Revision: https://developer.blender.org/D4148
2019-01-02Fix T60046: crash with Cycles viewport render and particle info node.Brecht Van Lommel
This code was not correctly ported to 2.8.
2018-12-28Cycles: restore old sample and material override settings for view layers.Brecht Van Lommel
Since there will be no view layer overrides in 2.80, this is needed still.
2018-12-24Fix/cleanup typos and such in UI messages (and some comments).Bastien Montagne
2018-12-21Fix inconsistent/broken Cycles object visibility for instances.Brecht Van Lommel
Object visibility is now handled by the depsgraph iterator, but this API was incomplete as it made no distinction for visibility of the object itself, particles and generated instances. The depsgraph iterator API now includes information about which part of the object is visible, and this is used by Cycles to replace the old custom logic. Cycles and EEVEE visibility should now be consistent, which unfortunately does means some subtle compatibility breakage for both. Fixes T58956, T58202, T59284. Differential Revision: https://developer.blender.org/D4109
2018-12-21RNA: naming, user-preferences -> preferencesCampbell Barton
2018-12-20Merge branch 'master' into blender2.8Sergey Sharybin
2018-12-20Cycles: Fixes for recent curve robustnessSergey Sharybin
The key indices were wrong: need to offset curve key index by first curve key index. Also corrected calculation of the interpolation step. Annoyingly, can not reproduce this on a simple file, need production rig. For the possible future look the following file from Spring was used: 03_005_A.lighting.debug.blend
2018-12-19Fix T58376: incorrect tooltip in subsurf modifierJacques Lucke
2018-12-14fix shader editor errors when showing world shader treePhilipp Oeser
probably an oversight in rBd40bffa17f6d Reviewers: brecht Differential Revision: https://developer.blender.org/D4079
2018-12-13RNA: revert recent rename 'updated' -> 'dirty'Campbell Barton
Partially reverts 45fdf41be87f & 6d38d824377c, added comment why term 'updated' is used in this case.
2018-12-11Merge branch 'master' into blender2.8Sergey Sharybin
2018-12-11Update code to be compatible with OIIO 2.0Sergey Sharybin
There are some changes in API of OpenImageIO, but those are quite simple to keep working with older and newer library versions. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4064
2018-12-10Cycles: Restore properties in the interfaceSergey Sharybin
They got lost in one of the merges it seems.
2018-12-07Merge branch 'master' into blender2.8Sergey Sharybin
2018-12-07Cycles: Do more user-friendly indication that GPU devices are not foundSergey Sharybin
2018-12-07Partial fix to T58917 - No valid cageDalai Felinto
The fix itself simply is to store the cage object as a pointer instead of a string/name. That said baking with or without cage is yielding very different results than in 2.7.
2018-12-07UI: add material settings in shader editor sidebar.Lucas Boutrot
Differential Revision: https://developer.blender.org/D3926
2018-12-03Fix T58556: Some remaining 'dupli_types' in pycode after renaming.Bastien Montagne
2018-11-30Merge branch 'master' into blender2.8Campbell Barton
2018-11-30Correct missing semicolon in recent commitCampbell Barton
2018-11-29Merge branch 'master' into blender2.8Campbell Barton
2018-11-29Cycles: Add sample-based runtime profiler that measures time spent in ↵Lukas Stockner
various parts of the CPU kernel This commit adds a sample-based profiler that runs during CPU rendering and collects statistics on time spent in different parts of the kernel (ray intersection, shader evaluation etc.) as well as time spent per material and object. The results are currently not exposed in the user interface or per Python yet, to see the stats on the console pass the "--cycles-print-stats" argument to Cycles (e.g. "./blender -- --cycles-print-stats"). Unfortunately, there is no clear way to extend this functionality to CUDA or OpenCL, so it is CPU-only for now. Reviewers: brecht, sergey, swerner Reviewed By: brecht, swerner Differential Revision: https://developer.blender.org/D3892