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-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
2016-05-17Code refactor: add some array utility methods, fix leak in assignment operator.Brecht Van Lommel
2016-05-17Fix CUDA MEMCPY condition, it should only copy 3D, 2D or 1D.Thomas Dinges
Found by Brecht, thanks!
2016-05-17Cycles / Requested Features: Volume was missing in logging print.Thomas Dinges
2016-05-16Cycles: Cleanup after recent refactorSergey Sharybin
Wrong indentation, wrong spacing.
2016-05-13Fix T48421: AO pass broken, only works when AO in cycles is enabledSergey Sharybin
2016-05-13Cycles: 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-05-12Cycles: 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-12Fix array bounds compile warning.Thomas Dinges
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-09CMake: Fix compilation error when toolkit gives empty resultSergey Sharybin
Should we also check whether toolkit exist perhaps?
2016-05-09Cleanup: Avoid duplicative defines for CPU textures, use the ones from ↵Thomas Dinges
util_texture.h Also includes some further byte -> byte4 renaming, missed that in last commit.
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
2016-05-08Code cleanup: tweaks to image manager code found while looking into previous ↵Brecht Van Lommel
bug.
2016-05-08Fix T48377: Cycles crash removing float image texture node during viewport ↵Brecht Van Lommel
render.
2016-05-08Cycles: Fix two small memory leaks and deduplicate table freeingLukas Stockner
This commit makes remove_table skip the freeing if the offset is already set to invalid - or, if it wasn't, set it to invalid after freeing. That's what the current code was already doing in the Manager classes, this change allows them to just call remove without the additional code. Also, two potential memory leaks where new tables were always allocated without freeing the old ones are fixed. Reviewers: sergey, dingto, brecht Differential Revision: https://developer.blender.org/D1974
2016-05-08Cycles: Cleanup: Swap order of the RNG-state-initializing for-loopsLukas Stockner
Swap the for-loops in the RenderBuffer reset code to follow the convention of looping over y in the outer loop. The improved cache performance won't really be noticable here, but it's nicer if it follows the usual style.
2016-05-07Cleanup: Remove unneded (void) line, we don't have ifdefs here anymore.Thomas Dinges
2016-05-07Fix T48368: Cycles mix RGB constant folding bug after recent refactor.Brecht Van Lommel
2016-05-07Fix cycles-xml with OSL support after changes inroduced in ↵Martijn Berger
1422f0dd1697d7b671a7b447fd58db7dfe775821
2016-05-07Some fixes for CUDA runtime compile:Thomas Dinges
* When Baking wasn't used we got an error. * On top of Volume Nodes (NODES_FEATURE_VOLUME), we now also check if we need volume sampling code, so we can disable that as well and save some further compilation time.
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.