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-08Cycles: Fixes for recent refactorSergey Sharybin
- add_vertex() can be called from split_vertex() which does not guarantee to have properly pre-allocate arrays. - Need to check whether Cycles is compiled with OSL in XML reader.
2016-06-08Cycles: Add human readable sizes to debug outputMai Lavelle
Some of these values can get quite large and are hard to read, adding this makes it easy to read them at a glance. Reviewed By: sergey Differential Revision: https://developer.blender.org/D2039
2016-06-08Fix broken Cycles curve motion radius after recent refactor, and fix warnings.Brecht Van Lommel
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: minor node and node type utility functions and changes.Brecht Van Lommel
2016-06-08Code refactor: nodify object and mesh, but not used for XML yet.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2016
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-08Cleanup: 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-06-08Cleanup: Simplify and de-duplicate assignements in the ImageManager constructor.Thomas Dinges
2016-06-08Cleanup: 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-06-08Cycles: Yet another fix for textures limitSergey Sharybin
2016-06-08Cycles: Fix wrong cuda textures limitsSergey Sharybin
2016-06-08Cycles: Fix wrong render results when using multiple OpenCL devicesSergey Sharybin
2016-06-08Cycles: 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-06-08Fixed 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-06-08Cycles: Fix missing feature reported by the Volume nodeSergey Sharybin
2016-06-08Cycles: Fix missing volumes support for feature-adaptive viewport renderSergey Sharybin
2016-06-08Cleanup: Deduplicate image loading functions using templates.Thomas Dinges
2016-06-08Cleanup: Use short condition style.Thomas Dinges
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 shader and lights.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2016
2016-06-08Code refactor: nodify Cycles background and film.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2016
2016-06-08Code refactor: nodify Cycles integrator.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: Add XML parsing of MappingNodes to Cycles StandaloneLukas Stockner
Reviewers: dingto, sergey Differential Revision: https://developer.blender.org/D2009
2016-06-08Cycles: 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-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-08Cycles: Explicitly mark arguments as unusedSergey Sharybin
2016-06-08Fix issue in with multiple importance sampling in recent code refactor.Brecht Van Lommel
2016-06-08Cleanup code style inconsistency in last commits.Brecht Van Lommel
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-06-08Cycles: Cleanup after recent refactorSergey Sharybin
Wrong indentation, wrong spacing.
2016-06-08Fix T48421: AO pass broken, only works when AO in cycles is enabledSergey Sharybin
2016-06-08Cycles: Scale debug pass with number of samplesSergey Sharybin
This way it's easier to compare different renders together without worrying about scale too much.
2016-06-08Cycles: Add support for single channel byte textures.Thomas Dinges
This way, we also save 3/4th of memory for single channel byte textures (e.g. Bump Maps). Note: In order for this to work, the texture *must* have 1 channel only. In Gimp you can e.g. do that via the menu: Image -> Mode -> Grayscale
2016-05-12Cleanup: Fix typo.Thomas Dinges
2016-05-11Cleanup: Remove outdated comment and add new one about slot IDs.Thomas Dinges
2016-05-11Cycles: Add support for single channel float textures on CPU.Thomas Dinges
Until now, single channel textures were packed into a float4, wasting 3 floats per pixel. Memory usage of such textures is now reduced by 3/4. Voxel Attributes such as density, flame and heat benefit from this, but also Bumpmaps with one channel. This commit also includes some cleanup and code deduplication for image loading. Example Smoke render from Cosmos Laundromat: http://www.pasteall.org/pic/show.php?id=102972 Memory here went down from ~600MB to ~300MB. Reviewers: #cycles, brecht Differential Revision: https://developer.blender.org/D1981
2016-05-11Cycles: Use explicit qualifier for single-argument constructorsSergey Sharybin
Almost in all cases we want such constructors to be explicit, there are exceptions but only in few places.
2016-05-10Cycles: Add support for float4 textures on OpenCL.Thomas Dinges
Title says it all, this adds OpenCL float4 texture support. There is a bug in the code still, I get a "Out of ressources error" on nvidia hardware here, not sure whats wrong yet. Will investigate further, but maybe someone else has an idea. :) Reviewers: #cycles, brecht Subscribers: brecht, candreacchio Differential Revision: https://developer.blender.org/D1983
2016-05-09Cleanup: More byte -> byte4 renaming for consistency.Thomas Dinges
2016-05-08Fix T48380: fix for recent image manager code cleanup.Brecht Van Lommel
2016-05-08Code cleanup: use special type instead of node names.Brecht Van Lommel