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
2016-06-08Fix broken Cycles curve motion radius after recent refactor, and fix warnings.Brecht Van Lommel
2016-06-08Depsgraph: Fix wrong layers flush form children to parentSergey Sharybin
It was possible to have issues in cases when several child dependencies goes to IDs with different layers. In this case order of flushing was not really well defined, which could lead to cases when indirect dependency via invisible object wouldn't work. Need some sort of barrier to prevent scheduling of parent nodes for until all children are done, but that's becoming quite nasty thing to implement. Added a temp field to component for now. maybe it's not so crazy actually and we might use it for evaluation as well, so we wouldn't flush updates to components which does not affect visible stuff.
2016-06-08Code refactor: store ShaderNode enums as enum rather than ustring.Brecht Van Lommel
2016-06-08Code refactor: centralize OSL node creation in shader manager.Brecht Van Lommel
2016-06-08Code refactor: pass ShaderInput to constant_fold, so it supports arbitrary ↵Brecht Van Lommel
types.
2016-06-08Code refactor: add separate RGB to BW node and rename some sockets.Brecht Van Lommel
2016-06-08Code refactor: modify mesh storage to use arrays rather than vectors, ↵Brecht Van Lommel
separate some arrays. Differential Revision: https://developer.blender.org/D2016
2016-06-08Code refactor: make ShaderNode match Node a bit more, reusing types and enums.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2016
2016-06-08Code refactor: nodify Cycles camera and fix some mistakes in XML node read.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2016
2016-06-08Fix T48526: Cycles viewport render incorrectly influenced by pixel aspect ratio.Brecht Van Lommel
This reverts 72592cfb, needs more refactoring to do that cleanup.
2016-06-08Fix T48486: Not enough precision in Volume Sampling Step Size inputSergey Sharybin
Volumes might be small, makes sense to use more precision here.
2016-06-08Fix Cycles compile errors with GCC due to double promotion as errors.Brecht Van Lommel
2016-06-08Cleanup: remove Cycles layer bits checking in the kernel.Brecht Van Lommel
At some point the idea was that we could have an optimization where we could render multiple render layers without re-exporting the scene, by just updating the layer bits. We are not doing this now and in practice with the available render layer control like exclude layers it's not always possible anyway. This makes it easier to support an arbitrary number of layers in the future (hopefully this summer), and frees up some useful bits in the kernel. Reviewed By: sergey, dingto Differential Revision: https://developer.blender.org/D2020
2016-06-08Code refactor: nodify Cycles background and film.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2016
2016-06-08Code refactor: add generic Cycles node infrastructure.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2016
2016-06-08Cycles: Pole merging for spherical stereoSergey Sharybin
The idea of pole merge is to fade interocular distance after a certain altitude to zero when altitude goes closer to a pole. This should prevent annoyances looking up in the sky or down to the bottom. Works for both panorama and perspective cameras when Spherical Stereo is enabled. Reviewers: dfelinto, brecht Reviewed By: brecht Subscribers: sebastian_k Differential Revision: https://developer.blender.org/D1998
2016-06-08Code refactor: use shader pointers rather than shader indexes.Brecht Van Lommel
2016-06-08Code refactor: use dynamic shader node array lengths now that OSL supports them.Brecht Van Lommel
2016-05-07Cycles: Make CUDA adaptive feature compile a Debug flag.Thomas Dinges
If the CUDA Toolkit is installed and the user is on Linux, adaptive, feature based CUDA runtime compile is now possible to enable via: * Environment flag CYCLES_CUDA_ADAPTIVE_COMPILE or * Debug menu (Debug value 256) in the Cycles UI.
2016-05-05Code refactor: reduce special node types, use generic constant folding.Brecht Van Lommel
2016-05-01Fix Cycles external OSL shader not working with relative file paths.Brecht Van Lommel
2016-04-29Fix T48298: Cycles World environment Texture node, movie doesn't update frameSergey Sharybin
2016-04-29Fix T48301: Cycles incorrect render with CMJ and viewport samples 0.Brecht Van Lommel
Max samples 2147483647 was causing integer overflow.
2016-04-26Cycles: Improve logging about motion blur a bitSergey Sharybin
2016-04-25Cycles: Don't pass RNA pointers by vlaueSergey Sharybin
2016-04-20Fix T47812: GPU renders have warmer colors than CPU rendersSergey Sharybin
Seems was a mistake in f2c54df, volume attributes are not supposed to have repeated texture type.
2016-04-19Cycles: Improvements and fixes for the resumable renderSergey Sharybin
- Fix wrong current sample reported in the log - Also includes fix for progressive refine log - Explicitly print to the stdout that resumable render is enabled - Print error message and abort when passing wrong values for the resumable render. Never waste someone's compute power for wrong render! Fixes T48185: Cycles resumable num chunks breaks sample counter
2016-04-18Cycles microdisplacement: add max subdivision settingMai Lavelle
This is to prevent situations such as when the camera gets very close to a mesh and causes it to be tessellated into an excessive amount of micropolygons. In REYES this is known as the eye-splits problem. Reviewed By: brecht Differential Revision: https://developer.blender.org/D1922
2016-04-17Cycles microdisplacement: scene level render and preview dicing ratesMai Lavelle
This makes it easier to control overall dicing rate without having to tweak every object. The preview rate makes viewport editing more interactive. The default preview rate of 8 is roughly 64 times faster for some operations. Reviewed By: brecht Differential Revision: https://developer.blender.org/D1919
2016-04-15Cycles: Support heat volume attributeSergey Sharybin
Similar to velocity, it was kind of supported by the mesh manager but was missing a code in BlenderSession to get actual values. In Cycles Heat is an attribute which goes from -1 to 1, where -1 is the coldest ever temperature, 1 is the hottest ever one.
2016-04-15Cycles: Improve error print a bitSergey Sharybin
2016-04-13Fix T47813: Cycles Standalone not respecting integrator sample_clamp_directSergey Sharybin
2016-04-13Cycles: Minor cleanup, whitespace around keyword and preprocessor indentSergey Sharybin
2016-04-12Cycles: Add missing velocity attribute to builtin image loaderSergey Sharybin
For some reason other parts of blender importer were assuming velocity is supported, but actual loader was not aware of that. Fixes T48064: Adding velocity attribute crashes render
2016-04-12Cycles: Avoid crash when accessing non-existing volume attributeSergey Sharybin
2016-04-12Cycles microdisplacement: UI tweak to use split columnMai Lavelle
Reviewed By: brecht, dingto Differential Revision: https://developer.blender.org/D1917
2016-04-12Cycles microdisplacement: refactor to move some tesselation code from ↵Mai Lavelle
SubdMesh to Mesh Reviewed By: brecht Differential Revision: https://developer.blender.org/D1915
2016-04-12Cycles microdisplacement: change use subdivision bool to subdivision type enumMai Lavelle
This is only the UI change, there is no underlying code change in this commit. Reviewed By: brecht Differential Revision: https://developer.blender.org/D1910
2016-04-12Cycles microdisplacement: perform subdivision dicing in raster spaceMai Lavelle
NOTE: this is only the first of many patches towards completing the subdivison and displacement system in Cycles. These patches will be reviewed and committed one by one over the coming weeks. Reviewed By: brecht, sergey Differential Revision: https://developer.blender.org/D1909
2016-04-06Cycles: Fix misleading remaining time report when using infinite number of ↵Sergey Sharybin
samples in viewport
2016-04-05Revert "Cycles: Remove the Preetham Sky model."Thomas Dinges
This reverts commit d91316dc672dc1ee69fbd24d2f00124a24b75c6b.
2016-04-03Cycles: Remove the Preetham Sky model.Thomas Dinges
The improved Hosek / Wilkie model was added during my GSoC 2013 and the default since then. The older model was kinda kept for compatibility, but after more than 2 years it's time to remove it. The Hosek / Wilkie model is more realistic anyway, and people who really want a day / night transition can mix the Sky Shader with another one (e.g. color) and fade between the two.
2016-03-30Cycles: Resumable render implementation for CyclesSergey Sharybin
This feature is also known by the name Samples Offset, which allows artists to render animation with given amount of samples N, but then render more samples, starting from N and ending with M (where M > N) and merge renders together as if they rendered exactly M samples. Surely such effect could be achieved by changing Seed variable, but that has possible issues with correlation artifacts and requiring to manually deal with per render layer samples and such. While we can't support all possible renderfarm-related features in Cycles it's nice to support really commonly used stuff. Here's a command how to run Blender with the new feature enabled: blender -- --cycles-resumable-num-chunks 24 --cycles-resumable-current-chunk 2 This command will divide samples range in 24 parts and render range #2 (chunk number is 1-based). This feature might be changed a bit after we'll do some tests here in the studio with it.
2016-03-28Fix T47931: Missed world shader update when having object dependencySergey Sharybin
2016-03-25Fix Cycles debug panel, being shown in BI as well.Thomas Dinges
2016-03-23Fix T47856: Cycles problem when running from multi-byte pathSergey Sharybin
This is a mix of regression and old unsupported configuration. Regression was caused by some checks added on Blender side which was checking whether python function returned error or not. This made it impossible to enable Cycles when running from a file path which can't be encoded with MBCS codepage. Non-regression issue was that it wasn't possible to use pre-compiled CUDA kernels when running from a path with non-ascii multi-byte characters. This commit fixes regression and CUDA parts, but OSL still can't be used from a non-ascii location because it uses non-widechar API to work with file paths by the looks of it. Not sure we can solve this just from our side by using some codepage trick (UTF-16?) since even oslc fails to compile shader when there are non-ascii characters in the path.
2016-03-12Cycles: Some typo fixesSergey Sharybin
2016-03-12Cycles: Support parallel convergence mode for spherical stereoSergey Sharybin
2016-03-11Cycles: Do no limit viewport samples to USHRT_MAX when value is at 0.Thomas Dinges
We don't limit manually setting higher values, this was probably overlooked here. Found by @Blendify in IRC.
2016-03-11Cycles: Fix border render after spherical stereo commitSergey Sharybin
Buffer params needs to know camera's border, otherwise it'll create full buffer. There might be some issues with stereo camera still, but in worst case it'll only update camera twice as far as i can tell. Not ideal, but better than no border render at all.