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-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.
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-21RNA: naming, user-preferences -> preferencesCampbell 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
2018-11-15Cycles: Cleanup, code styleSergey Sharybin
2018-11-09Cycles: Free Blender side data as soon as we don't need itSergey Sharybin
Currently this is possible after built-in images are loaded in memory. Allows to save memory used by dependency graph and copy-on-write. In practice this lowers peak system memory usage from 52GB to 42GB on a production file of spring 03_035_A.lighting. Note, that this only applies to F12 and command line renders. Bigger note, that this optimization is currently only possible if there are no grease pencil objects to be rendered.
2018-11-09Cycles: Add name field to sceneSergey Sharybin
Doesn't mean much for Cycles itself, but allows to have nice logs and progress reports without access of original scene.
2018-11-08Fix Cycles viewport render info overlapping other text.Brecht Van Lommel
Now it shows more compact info below the view/object name. Render time and memory usage is left out, as in most cases this is not so important. These could be added back optionally if needed.
2018-11-08Merge branch 'master' into blender2.8Brecht Van Lommel
2018-11-08Cycles: Write Cryptomatte metadata according to the specificationLukas Stockner
Reviewers: brecht, sergey, swerner Subscribers: creamsurfer, Tanguy, Noss, SteffenD Differential Revision: https://developer.blender.org/D3862
2018-10-30Merge branch 'master' into blender2.8Brecht Van Lommel
2018-10-29Cycles: Support generating Denoising passes without actually denoisingLukas Stockner
Needed for the animation denoiser since the denoising filter is done separately there. Reviewers: brecht, sergey Reviewed By: brecht Differential Revision: https://developer.blender.org/D3833
2018-10-28Merge branch 'master' into blender2.8Brecht Van Lommel
2018-10-28Cycles: Added Cryptomatte output.Stefan Werner
This allows for extra output passes that encode automatic object and material masks for the entire scene. It is an implementation of the Cryptomatte standard as introduced by Psyop. A good future extension would be to add a manifest to the export and to do plenty of testing to ensure that it is fully compatible with other renderers and compositing programs that use Cryptomatte. Internally, it adds the ability for Cycles to have several passes of the same type that are distinguished by their name. Differential Revision: https://developer.blender.org/D3538
2018-08-28Merge branch 'master' into blender2.8Brecht Van Lommel
2018-08-25Cycles: Add Denoising Clean to the debugging denoising passesLukas Stockner
2018-07-27Merge branch 'master' into blender2.8Sergey Sharybin
2018-07-27Cycles: Initial implementation of detailed statisticsSergey Sharybin
Gathers information about object geometry and textures. Very basic at this moment, but need to start somewhere. Things which needs to be included still: - "Runtime" information, like BVH. While it is not directly controllable by artists, it's still important to know. - Device array sizes. Again, not under artists control, but is added to the overall size. - Memory peak at different synchronization stages. At this point it simply prints info to the stdout after F12 is done, need better control over that too. Reviewers: brecht Differential Revision: https://developer.blender.org/D3566
2018-07-25Cleanup: mark missing Cycles view layer override features with TODO.Brecht Van Lommel
2018-06-25Cycles: Fix memory leak with sessionSergey Sharybin
We didn't check for sync object being already allocated. In fact, we simply need to use proper function to free session.
2018-06-25Cycles: Cleanup, indentationSergey Sharybin
2018-06-16Merge branch 'master' into blender2.8Campbell Barton
2018-06-16Cycles Cleanup: Remove unneccessary color management callLukas Stockner
2018-06-14Merge remote-tracking branch 'origin/master' into blender2.8Lukas Stockner
2018-06-14Cycles: Query XYZ to/from Scene Linear conversion from OCIO instead of ↵Lukas Stockner
assuming sRGB I've limited it to just the RGB<->XYZ stuff for now, correct image handling is the next step. Reviewers: brecht, sergey Differential Revision: https://developer.blender.org/D3478
2018-06-11Fix T55436: crash with point density and shader tweaking.Brecht Van Lommel
With copy-on-write we can no longer assumes the point density data is available after Cycles synchronization with Blender data is done. So force it to be loaded earlier, even if it's not great for interactivity.
2018-05-30Fix missing Cycles 3D viewport updates when editing materials, lamps.Brecht Van Lommel
This introduces a new depsgraph API for getting updated datablocks, rather than getting it from bpy.data. * depsgraph.ids_updated gives a list of all datablocks in the depsgraph which have been updated. * depsgraph.id_type_updated('TYPE') is true if any datablock of the given type has been added, removed or modified. More API updates are coming to properly handle multiple depsgraphs and finer update granularity, but this should make Cycles work again.
2018-05-23Cycles/Render API: changes for better copy-on-write support.Sergey Sharybin
Mainly just passing the depsgraph and evaluated scene and camera, instead of the original one. Patch by Sergey, further modifications by Brecht.
2018-04-25Depsgraph: Clarify python APISergey Sharybin
Follow same naming convention as for C: - Original data is named without any extra prefix/suffix. - Evaluated data is named with _eval suffix.
2018-04-21Fix point density rendering in Cycles.Brecht Van Lommel
2018-04-16Depsgraph: remove EvaluationContext, pass Depsgraph instead.Brecht Van Lommel
The depsgraph was always created within a fixed evaluation context. Passing both risks the depsgraph and evaluation context not matching, and it complicates the Python API where we'd have to expose both which is not so easy to understand. This also removes the global evaluation context in main, which assumed there to be a single active scene and view layer. Differential Revision: https://developer.blender.org/D3152
2018-03-10Merge branch 'master' into blender2.8Brecht Van Lommel
2018-03-10Cycles: add roughness baking support, using squared roughness convention.Brecht Van Lommel
2018-02-28Point cache: Pass EvaluationContext for all the related functionsDalai Felinto
Now the only missing bit seems to be in Cycles to pass depsgraph to builtin_image_float_pixels(). Ideally we could get evaluation context instead of using depsgraph + settings. But for the other rna EvaluationContext functions this is how we are doing. Reviewers: sergey, brecht Differential Revision: https://developer.blender.org/D3087
2018-02-28Merge branch 'master' into blender2.8Brecht Van Lommel
2018-02-28Code cleanup: refactor Cycles image metadata retrieval to use a struct.Brecht Van Lommel
2018-02-28Fix Cycles to mostly work with render layer / depsgraph changes.Brecht Van Lommel
Point density texture and motion blur are still broken, and many more changes are needed in general to used evaluated datablocks.
2018-02-28Refactor depsgraph/render logic to serve evaluated depsgraph to enginesDalai Felinto
User notes ---------- Compositing, rendering of multi-layers in Eevee should be fully working now. Development notes ----------------- Up until now we were still using the same depsgraph for rendering and viewport evaluation. And we had to go out of our ways to be sure the depsgraphs were updated. Now we iterate over the (to be rendered) view layers and create a depsgraph to each one, fully evaluated and call the render engines (Cycles, Eevee, ...) with this viewlayer/depsgraph/evaluation context. At this time we are not handling data persistency, Depsgraph is created from scratch prior to rendering each frame. So I got rid of most of the partial update calls we had during the render pipeline. Cycles: Brecht Van Lommel did a patch to tackle some of the required Cycles changes but this commit mark these changes as TODOs. Basically Cycles needs to render one layer at a time. Reviewers: sergey, brecht Differential Revision: https://developer.blender.org/D3073
2018-02-23Merge branch 'master' into blender2.8Brecht Van Lommel
2018-02-23Smoke: add temperature grid, with values 0..1 corresponding to 0..1000K.Brecht Van Lommel
2017-11-23Rename any instance of scene layer or render layer in code with view layerDalai Felinto
The RenderResult struct still has a listbase of RenderLayer, but that's ok since this is strictly for rendering. * Subversion bump (to 2.80.2) * DNA low level doversion (renames) - only for .blend created since 2.80 started Note: We can't use DNA_struct_elem_find or get file version in init_structDNA, so we are manually iterating over the array of the SDNA elements instead. Note 2: This doversion change with renames can be reverted in a few months. But so far it's required for 2.8 files created between October 2016 and now. Reviewers: campbellbarton, sergey Differential Revision: https://developer.blender.org/D2927
2017-11-22SceneRenderLayer Removal/RefactorDalai Felinto
This patch moves all the functionality previously in SceneRenderLayer to SceneLayer. If we want to rename some of these structs now would be a good time to do it, before they are in SceneLayer. Everything should be working, though I will test things further tomorrow. Once this is committed depsgraph can get rid of the workaround added in rna_Main_meshes_new_from_object and finish whatever this patch was preventing from being finished. This patch also adds a few placeholders for the overrides (samples, ...). These are obviously not working, so some unittests that rely on 'lay', and 'zmask' will fail. This patch does not addressed the change of moving samples to ViewRender (I have this as a separate patch and needs some separate discussion). Following next is the individual note of the individual parts that were committed. Note 1: It is up to Cycles to still get rid of exclude_layer internally. Note 2: Cycles still need to handle its own doversion for the use_layer_samples cases and (1) Remove the override as it is (2) Add a new override (scene.cycles.samples) if scene.cycles.use_layer_samples != IGNORE Respecting the expected behaviour when scene.cycles.use_layer_samples == BOUNDED. Note 3: Cycles still need to implement the per-object holdout (similar to how we do shadow catcher). Note 4: There are parts of the old (Blender Internal) rendering pipeline that is still using lay, e.g., in shi->lay. Honestly it will be easier to purge the entire Blender Internal code away instead of taking things from it bit by bit. Reviewers: sergey, campbellbarton, brecht Differential Revision: https://developer.blender.org/D2919
2017-11-03Merge branch 'master' into blender2.8Campbell Barton
2017-11-02Fix Cycles showing empty tiles while they are being denoised.Brecht Van Lommel
2017-11-02Merge branch 'master' into blender2.8Sybren A. Stüvel
# Conflicts: # tests/gtests/alembic/abc_export_test.cc
2017-11-02Fix T53182: cancelling save buffers + denoising render clears image.Brecht Van Lommel
2017-10-31Merge branch 'master' into blender2.8Bastien Montagne
2017-10-31Experiment with adding output file meta data from render engineSergey Sharybin
The idea is to make it possible to report extra meta data from render engine to the file writing. This way we can provide additional information such as number of samples rendered by resumable Cycles rendering so we can easily combine files back. Currently only report number of samples from Cycles when rendering a single render-layer scene. This is something what was required here at the studio. We can easily extend that further. Ideally we would also need to support non-string metadata, but that's for later. Reviewers: mont29, campbellbarton Reviewed By: mont29, campbellbarton Subscribers: sybren, candreacchio Differential Revision: https://developer.blender.org/D2502
2017-10-24Merge branch 'master' into blender2.8Brecht Van Lommel