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-29Code refactor: add separate RGB to BW node and rename some sockets.Brecht Van Lommel
2016-05-29Code refactor: minor node and node type utility functions and changes.Brecht Van Lommel
2016-05-29Fix debug mode assert in subd code after recent refactoring.Brecht Van Lommel
2016-05-28Code refactor: nodify object and mesh, but not used for XML yet.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2016
2016-05-28Code refactor: modify mesh storage to use arrays rather than vectors, ↵Brecht Van Lommel
separate some arrays. Differential Revision: https://developer.blender.org/D2016
2016-05-28Code refactor: make ShaderNode match Node a bit more, reusing types and enums.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2016
2016-05-28Code refactor: nodify Cycles camera and fix some mistakes in XML node read.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2016
2016-05-28Fix T48526: Cycles viewport render incorrectly influenced by pixel aspect ratio.Brecht Van Lommel
This reverts 72592cfb, needs more refactoring to do that cleanup.
2016-05-28Cleanup: Further tweaks for consistency and simplifications.Thomas Dinges
Now I can start adding half float without adding even bigger mess to all these functions. ;)
2016-05-28Cleanup: Simplify and de-duplicate assignements in the ImageManager constructor.Thomas Dinges
2016-05-27Cleanup: Shorten texture variables, tex and image was kinda redundant.Thomas Dinges
Also make prefix consistent, so it starts with either TEX_NUM or TEX_START, followed by texture type and architecture.
2016-05-27Cycles: Simplify code around debug stats in BVH traversingSergey Sharybin
2016-05-25Fix T48514: Cycles toon glossy BSDF not respecting reflective caustics option.Brecht Van Lommel
2016-05-25Cycles CUDA: reduce branched path stack memory by sharing indirect ShaderData.Brecht Van Lommel
Saves about 15% for the branched path kernel.
2016-05-25Cycles: Yet another fix for textures limitSergey Sharybin
2016-05-24Cycles: Fix wrong cuda textures limitsSergey Sharybin
2016-05-24Cycles: Fix wrong render results when using multiple OpenCL devicesSergey Sharybin
2016-05-24Fix T48508: Cycles Regression / CrashSergey Sharybin
2016-05-24Fix T48486: Not enough precision in Volume Sampling Step Size inputSergey Sharybin
Volumes might be small, makes sense to use more precision here.
2016-05-23Cycles CUDA: reduce stack memory by reusing ShaderData.Brecht Van Lommel
57% less for path and 48% less for branched path.
2016-05-23Cycles: Fix wrong closure counter in feature adaptive kernelSergey Sharybin
Some closures were missing from calculation, leading to an array under-allocation, presumable causing memory corruption issues with emission shaders on OpenCL and was causing issues with Volume 3D textures with CUDA. The issue was identified by Thomas Dinges, the patch is different from the original D2006. See the brief discussion there. Current approach is similar (or the same) as Brecht suggested.
2016-05-23Fix T48334: Cycles standalone xml import of uv coordinatesSergey Sharybin
In Cycle standalone, the xml import of uv's is done in a way that a vertex could only have one unique uv coordinate. In practice it is most of the time not the case. Patch by Laurent Boiron, thanks!
2016-05-23Fixed a rare case of NaN in CyclesStefan Werner
This fixes a rare case where NaNs could exist inside Cycles. When certain invalid meshes were passed in, Cycles would try too normalize a zero length normal during its setup stage. While it does check against division by zero, it still returns a zero length normal and passes it on to the path tracing kernel. The kernel then operates under the assumption that normals are valid, and in the case of such a zero length normal, would eventually create NaNs that propagate through and result in black pixels. Reviewers: #cycles Subscribers: brecht, sergey Projects: #cycles Differential Revision: https://developer.blender.org/D2008
2016-05-23Cycles: Fix missing feature reported by the Volume nodeSergey Sharybin
2016-05-23Cycles: Fix missing volumes support for feature-adaptive viewport renderSergey Sharybin
2016-05-23Cleanup: Deduplicate image loading functions using templates.Thomas Dinges
2016-05-22Cleanup: Use short condition style.Thomas Dinges
2016-05-22Fix Cycles warning in release builds.Brecht Van Lommel
2016-05-22Fix Cycles compile errors with GCC due to double promotion as errors.Brecht Van Lommel
2016-05-22Cleanup: 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-05-22Code refactor: nodify Cycles shader and lights.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2016
2016-05-22Code refactor: nodify Cycles background and film.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2016
2016-05-22Code refactor: nodify Cycles integrator.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2016
2016-05-22Code refactor: add generic Cycles XML node read and write functions.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2016
2016-05-22Code refactor: add generic Cycles node infrastructure.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2016
2016-05-20Cycles: Fix long compile time with MSVC.Thomas Dinges
Compile time per kernel increased alot after recent image commits, re-shuffle some code to fix this. Patch by "LazyDodo". Differential Revision: https://developer.blender.org/D2012
2016-05-20Fix T48472: issue in array refactor, causing performance regression in BVH ↵Brecht Van Lommel
build.
2016-05-19Cycles: Add XML parsing of MappingNodes to Cycles StandaloneLukas Stockner
Reviewers: dingto, sergey Differential Revision: https://developer.blender.org/D2009
2016-05-19Cycles / CUDA: Don't use bundled kernel if Adaptive is enforced by the user.Thomas Dinges
2016-05-19Cycles: Add support for bindless textures.Thomas Dinges
This adds support for CUDA Texture objects (also known as Bindless textures) for Kepler GPUs (Geforce 6xx and above). This is used for all 2D/3D textures, data still uses arrays as before. User benefits: * No more limits of image textures on Kepler. We had 5 float4 and 145 byte4 slots there before, now we have 1024 float4 and 1024 byte4. This can be extended further if we need to (just change the define). * Single channel textures slots (byte and float) are now supported on Kepler as well (1024 slots for each type). ToDo / Issues: * 3D textures don't work yet, at least don't show up during render. I have no idea whats wrong yet. * Dynamically allocate bindless_mapping array? I hope Fermi still works fine, but that should be tested on a Fermi card before pushing to master. Part of my GSoC 2016. Reviewers: sergey, #cycles, brecht Subscribers: swerner, jtheninja, brecht, sergey Differential Revision: https://developer.blender.org/D1999
2016-05-18Fix T47727: Weird bake results with non integer color valuesSergey Sharybin
2016-05-18Cycles: Fix compilation error of CUDA kernels after recent volume commitSergey Sharybin
Apparently the code path with malloc() was enabled for CUDA.
2016-05-18Cycles: 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-05-18Cycles: Reduce amount of malloc() calls from the kernelSergey Sharybin
This commit makes it so malloc() is only happening once per volume and once per transparent shadow query (per thread), improving scalability of the code to multiple CPU cores. Hard to measure this with a low-bottom i7 here currently, but from quick tests seems volume sampling gave about 3-5% speedup. The idea is to store allocated memory in kernel globals, which are per thread on CPU already. Reviewers: dingto, juicyfruit, lukasstockner97, maiself, brecht Reviewed By: brecht Subscribers: Blendify, nutel Differential Revision: https://developer.blender.org/D1996
2016-05-18Cycles: Explicitly mark arguments as unusedSergey Sharybin
2016-05-18Fix issue in with multiple importance sampling in recent code refactor.Brecht Van Lommel
2016-05-18Cleanup code style inconsistency in last commits.Brecht Van Lommel
2016-05-17Fix C++11 build issues on OS X, remove references to outdated libs.Brecht Van Lommel
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