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
path: root/intern
AgeCommit message (Collapse)Author
2016-11-28Fix T50065: Audaspace: some values of the lower limit of Factory.limit ↵Joerg Mueller
causes the factory not to play Backport of upstream audaspace bugfix (ddd9a4d).
2016-11-25Fix T50104, Race condition in SVMShaderManager::device_update_shaderlazydodo
2016-11-24Cycles: Avoid divisions by zero in volume sampling codeSergey Sharybin
Was giving huge artifacts in the barber shop file here in the studio, Maybe not fully optimal solution, but committing it for now to have closer look later.
2016-11-23Fix T50100: Cycles SeparateRGBNode Red socket defined wrongSergey Sharybin
Spotted by David (bocs), thanks!
2016-11-23Cycles: Fix strict compilation warningsSergey Sharybin
2016-11-23Fix Cycles device backwards compatibility error if device type is unavailable.Brecht Van Lommel
2016-11-23Fix spelling in Cycles distance culling description.Brecht Van Lommel
2016-11-22Cycles: Fix strict compilation warningsSergey Sharybin
Should be no functional changes.
2016-11-22Fix T50034: Blender changes processor affinity unauthorizedSergey Sharybin
2016-11-22Cycles: Fix re-definition of some functions on x32 archSergey Sharybin
2016-11-22Cycles: Another attempt to fix compilation on 32bit LinuxSergey Sharybin
2016-11-22Cycles: Attempt to fix 32bit buildbot builds after recent commitSergey Sharybin
2016-11-22Cycles: Implement texture size limit simplify optionSergey Sharybin
Main intention is to give some quick way to control scene's memory usage by clamping textures which are too big. This is really handy on the early production stages when you first create really nice looking hi-res textures and only when it all works and approved start investing time on optimizing your scene. This is a new option in Scene Simplify panel and it acts as following: when texture size is bigger than the given value it'll be scaled down by half for until it fits into given limit. There are various possible improvements, such as: - Use threaded scaling using our own task manager. This is actually one of the main reasons why image resize is manually-implemented instead of using OIIO's resize. Other reason here is that API seems limited to construct 3D texture description easily. - Vectorization of uchar4/float4/half4 textures. - Use something smarter than box filter. Was playing with some other filters, but not sure they are really better: they kind of causes more fuzzy edges. Even with such a TODOs in the code the option is already quite useful. Reviewers: brecht Reviewed By: brecht Subscribers: jtheninja, Blendify, gregzaal, venomgfx Differential Revision: https://developer.blender.org/D2362
2016-11-21Cycles: Attempt to fix compilation error on ppc64elSergey Sharybin
There is some define conflict between system headers and clew, so delay include of clew.h as much as possible.] This is something which needed to be done in the code before the refactor, hopefully such change will still work.
2016-11-20Cycles: Don't shadow loop variableMai Lavelle
2016-11-20Cycles: add basic backwards compatibility for device selection, move to ↵Brecht Van Lommel
System tab. For the multi-GPU case users still have to reconfigure the devices they want to use. Based on patch from Lukas Stockner. Differential Revision: https://developer.blender.org/D2347
2016-11-20Cycles: refactor culling code into utility class.Brecht Van Lommel
2016-11-20Cycles: distance culling for objects.Carlo Andreacchio
This can be used together with camera culling to keep nearby objects visible in reflections, using a minimum distance within which objects are visible. It is also useful to cull small objects far from the camera. Reviewed By: brecht Differential Revision: https://developer.blender.org/D2332
2016-11-20GHOST/X11: Incorrect WM_STATE accessCampbell Barton
This worked by accident because of struct padding, treat state as a CARD32 as documented. Matches wine-x11 usage.
2016-11-18Cycles: Different noise seed for stereoscopic rendering (Fix #T50024)Dalai Felinto
Patch by Sergey Sharybin.
2016-11-17Fix T50001: auto tile size addon broken after Cycles GPU device changes.Brecht Van Lommel
Adds a get_num_gpu_devices() utility function for the addon to use.
2016-11-16Cycles: Fix different noise pattern from fix in T49838:Sergey Sharybin
No need to hash subframe == 0.
2016-11-15FIX T49899: Add EIGEN_MAKE_ALIGNED_OPERATOR_NEW to classes that use eigen's ↵lazydodo
data types , to force aligned on 16 byte boundaries.
2016-11-15Atomics: Add some extra utility functionsSergey Sharybin
Also fixed semantic of fetch-and-add in assembler implementation, it seemed to not match the naming.
2016-11-15Atomics: Make naming more obvious about which value is being returnedSergey Sharybin
2016-11-14Cycles: De-duplicate image loading functionsSergey Sharybin
The code was templated already, so don't see big reason to have 3 versions of templated functions. It was giving some extra code to maintain and in fact already had divergency for support of huge image resolution (missing size_t cast in byte image loading). There should be no changes visible by artists.
2016-11-12Fix T49904: Cycles standalone missing default generated texture coordinates.Brecht Van Lommel
2016-11-12Fix Cycles OSL compilation based on modified time not working.Brecht Van Lommel
2016-11-12Fix Cycles standalone not finding CPU device after recent changes.Brecht Van Lommel
2016-11-12Fix T49985: cycles standalone XML missing distant lights.Brecht Van Lommel
2016-11-12Fix T49985: cycles standalone using wrong socket names for XML reading.Brecht Van Lommel
2016-11-11Cycles: Add comments to endif directivesMai Lavelle
`kernel_path.h` and `kernel_path_branched.h` have a lot of conditional code and it was kind of hard to tell what code belonged to which directive. Should be easier to read now.
2016-11-08Atomics: Add 32 bit version of fetch and AND/ORSergey Sharybin
2016-11-08Fix T49838: Noise randomization for frame should be done per interframes as wellSergey Sharybin
Add subframe to the animated seed hash calculation. Should be no difference for the regular files, only for cases when scene is rendered from sequencer with a speed effect, which is not really a common thing.
2016-11-08Cycles: Only use new light sample threshold for new filesSergey Sharybin
This is a late follow-up commit to the light sample threshold changes which caused difference in rendering all existing .blend files which is not something we are happy about: it is fine to use new optimized defaults for new files, but existing ones should always be rendering in the same way as they used to be. Sorry for the inconveniece, but such thing should have been done to begin with. If this setting was modified it will not be reset to zero. Now all render tests should be passing again. P.S. Also really annoying to bump subversion for such reasons, but currently we don't have better way to achieve what we want.
2016-11-07Fix compilation error when CUDA toolkit is not installedSergey Sharybin
After CUDA dynload changes having CUDA toolkit became required in order to compile Cycles. This only happened due to wrong default value to the option.
2016-11-07Cycles: Remove device settings from performance tabLukas Stockner
This was included in the commit by accident, it doesn't belong there.
2016-11-07Cycles: Refactor Device selection to allow individual GPU compute device ↵Lukas Stockner
selection Previously, it was only possible to choose a single GPU or all of that type (CUDA or OpenCL). Now, a toggle button is displayed for every device. These settings are tied to the PCI Bus ID of the devices, so they're consistent across hardware addition and removal (but not when swapping/moving cards). From the code perspective, the more important change is that now, the compute device properties are stored in the Addon preferences of the Cycles addon, instead of directly in the User Preferences. This allows for a cleaner implementation, removing the Cycles C API functions that were called by the RNA code to specify the enum items. Note that this change is neither backwards- nor forwards-compatible, but since it's only a User Preference no existing files are broken. Reviewers: #cycles, brecht Reviewed By: #cycles, brecht Subscribers: brecht, juicyfruit, mib2berlin, Blendify Differential Revision: https://developer.blender.org/D2338
2016-11-06Cycles: Fix T49952: Bad MIS sampling of backgrounds with single bright pixelsLukas Stockner
With this fix, using a MIS map resolution equal to the image size for closest imterpolation or twice the size for linear interpolation gets rid of all fireflies. Previously, a much higher resolution was needed to get acceptable noise levels.
2016-11-04cycles, cuDeviceComputeCapability is deprecated as of cuda 5.0Martijn Berger
2016-11-03Cycles: Fix missing underscore in geom_object.hLukas Stockner
2016-11-03Cycles: Fix OpenCL build error caused by light termination commitLukas Stockner
2016-11-03Cycles: Fix T49901: OpenCL build error after recent light texture coordinate ↵Lukas Stockner
commit Basically, the problem here was that the transform that's used to bring texture coordinates to world space is either fetched while setting up the shader (with Object Motion is enabled) or fetched when needed (otherwise). That helps to save ShaderData memory on OpenCL when Object Motion isn't needed. Now, if OM is enabled, the Lamp transform can just be stored inside the ShaderData as well. The original commit just assumed it is. However, when it's not (on OpenCL by default, for example), there is no easy way to fetch it when needed, since the ShaderData doesn't store the Lamp index. So, for now the lamps just don't support local texture coordinates anymore when Object Motion is disabled. To fix and support this properly, one of the following could be done: - Just always pre-fetch the transform. Downside: Memory Usage increases when not using OM on OpenCL - Add a variable to ShaderData that stores the Lamp ID to allow fetching it when needed - Store the Lamp ID inside prim or object. Problem: Cycles currently checks these for whether an object was hit - these checks would need to be changed. - Enable OM whenever a Texture Coordinate's Normal output is used. Downside: Might not actually be needed.
2016-11-02Libmv: Update tests to make tests pass after recent Ceres updateSergey Sharybin
Just a precision issue, difference is around 1e-7. Should be fine to simply update expected value.
2016-11-02Cycles standalone, compile fix UINT_MAX is not defined in device_cuda.cppMartijn Berger
2016-10-31Cycles: Deduplicate AO calculationLukas Stockner
No functional changes.
2016-10-30Cycles: Fix OpenCL compilation with the new brick textureLukas Stockner
2016-10-30Cycles: Style Fix: Light sampling threshold descriptionLukas Stockner
2016-10-30Cycles: Initialize the RNG state from the kernel instead of the hostLukas Stockner
This allows to save a memory copy, which will be particularly useful for network rendering. Reviewers: sergey, brecht, dingto, juicyfruit, maiself Differential Revision: https://developer.blender.org/D2323
2016-10-30Cycles: Add optional probabilistic termination of light samples based on ↵Lukas Stockner
their expected contribution In scenes with many lights, some of them might have a very small contribution to some pixels, but the shadow rays are traced anyways. To avoid that, this patch adds probabilistic termination to light samples - if the contribution before checking for shadowing is below a user-defined threshold, the sample will be discarded with probability (1 - (contribution / threshold)) and otherwise kept, but weighted more to remain unbiased. This is the same approach that's also used in path termination based on length. Note that the rendering remains unbiased with this option, it just adds a bit of noise - but if the setting is used moderately, the speedup gained easily outweighs the additional noise. Reviewers: #cycles Subscribers: sergey, brecht Differential Revision: https://developer.blender.org/D2217