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-05-17Code refactor: use shader pointers rather than shader indexes.Brecht Van Lommel
2016-05-17Code 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.
2016-03-10Multi-View: Cycles - Spherical Stereo support (VR Panoramas)Dalai Felinto
This is a new option for panorama cameras to render stereo that can be used in virtual reality devices The option is available under the camera panel when Multi-View is enabled (Views option in the Render Layers panel) Known limitations: ------------------ * Parallel convergence is not supported (you need to set a convergence distance really high to simulate this effect). * Pivot was not supposed to affect the render but it does, this has to be looked at, but for now set it to CENTER * Derivatives in perspective camera need to be pre-computed or we shuld get rid of kcam->dx/dy (Sergey words, I don't fully grasp the implication shere) * This works in perspective mode and in panorama mode. However, for fully benefit from this effect in perspective mode you need to render a cube map. (there is an addon for this, developed separately, perhaps we could include it in master). * We have no support for "neck distance" at the moment. This is supposed to help with objects at short distances. * We have no support to rotate the "Up Axis" of the stereo plane. Meaning, we hardcode 0,0,1 as UP, and create the stereo pair related to that. (although we could take the camera local UP when rendering panoramas, this wouldn't work for perspective cameras. * We have no support for interocular distance attenuation based on the proximity of the poles (which helps to reduce the pole rotation effect/artifact). THIS NEEDS DOCS - both in 2.78 release log and the Blender manual. Meanwhile you can read about it here: http://code.blender.org/2015/03/1451 This patch specifically dates from March 2015, as you can see in the code.blender.org post. Many thanks to all the reviewers, testers and minor sponsors who helped me maintain spherical-stereo for 1 year. All that said, have fun with this. This feature was what got me started with Multi-View development (at the time what I was looking for was Fulldome stereo support, but the implementation is the same). In order to make this into Blender I had to make it aiming at a less-specic user-case Thus Multi-View started. (this was December 2012, during Siggraph Asia and a chat I had with Paul Bourke during the conference). I don't have the original patch anymore, but you can find a re-based version of it from March 2013, right before I start with the Multi-View project https://developer.blender.org/P332 Reviewers: sergey, dingto Subscribers: #cycles Differential Revision: https://developer.blender.org/D1223
2016-03-02Cycles: Fix wrong default value for volume samplesSergey Sharybin
2016-02-16Cycles: Some cleanup, should be no functional changesSergey Sharybin
Addressing meaningful feedback from coverity.
2016-02-16Cleanup: Typo.Thomas Dinges
2016-02-16Cycles: Fix crash when trying to render after re-enabling the addonSergey Sharybin
2016-02-13Cycles: Remove meaningless expressionSergey Sharybin
2016-02-12Cycles: Always use guarded allocator of vectorsSergey Sharybin
We don't have vectors re-allocation happening multiple times from inside a loop anymore, so we can safely switch to a memory guarded allocator for vectors and keep track on the memory usage at various stages of rendering. Additionally, when building from inside Blender repository, Cycles will use Blender's guarded allocator, so actual memory usage will be displayed in the Space Info header. There are couple of tricky aspects of the patch: - TaskScheduler::exit() now explicitly frees memory used by `threads`. This is needed because `threads` is a static member which destructor isn't getting called on Blender's exit which caused memory leak print to happen. This shouldn't give any measurable speed issues, reallocation of that vector is only one of fewzillion other allocations happening during synchronization. - Use regular guarded malloc (not aligned one). No idea why it was made to be aligned in the first place. Perhaps some corner case tests or so. Vector was never expected to be aligned anyway. Let's see if we'll have actual bugs with this. Reviewers: dingto, lukasstockner97, juicyfruit, brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D1774
2016-02-12Cycles: Make Blender importer more forward compatibleSergey Sharybin
Basically the idea is to make code robust against extending enum options in the future by falling back to a known safe default setting when RNA is set to something unknown. While this approach solves the issues similar to T47377, but it wouldn't really help when/if any of the RNA values gets ever deprecated and removed. There'll be no simple solution to that apart from defining explicit mapping from RNA value to Cycles one. Another part which isn't so great actually is that we now have to have some enum guards and give some explicit values to the enum items, but we can live with that perhaps. Reviewers: dingto, juicyfruit, lukasstockner97, brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D1785
2016-02-11Cycles: Remove some ifdefs for OSL < 1.7.1.Thomas Dinges
That means that we now only support OSL 1.7.1 or newer. Please update libs or re-run install-depsh.sh.
2016-02-10Cycles: Fix an AttributeErro exceptionr on missing object contextSergey Sharybin
This happens when the properties panel is pinned to the material tab. Patch by Ralf Hölzemer (aka cheleb), thanks! Differential Revision: https://developer.blender.org/D1776
2016-02-10Update link to avoid redirectAaron Carlisle
2016-02-10Fix T47377: Newer file crashes at render on official 2.76b versionSergey Sharybin
Really annoying bug, the code was not forward compatible at all and resulted in crash. And it is really good to keep at least one release forward compatibility so possible regressions could be verified easily. The idea now is to use new property name for the pixel filter type, but keep old property around for a couple of releases, so we have at least some forward compatibility. Don't like this situation at all, but seems it's least of the evil we can choose. Thanks Brecht for the review!
2016-02-10Cycles: Cleanp, avoid direct calls of RNA_enum_get, we've got utility for thatSergey Sharybin
2016-02-09Fix T47370: untranslateable bake panel strings.Brecht Van Lommel
Reorder buttons a bit so that these strings are not even needed, makes more sense to have this grouped anyway.
2016-02-06Fix T46550: Cycles combined baking black in some cases.Brecht Van Lommel
Now pass_filter is modified to have exactly the flags for the light components that need to be baked, based on the shader type. This simplifies the logic.
2016-02-06Cycles: Change several default values (second batch).Thomas Dinges
This change the following values: - World settings: - Use MIS: On - MIS Samples: 1 - MIS Resolution: 1024 Enabling World MIS per default won't make simple backgrounds (flat background color) slower, see previous commit. This gets disabled internally if World MIS is not actually needed.