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
2014-12-25Cleanup: Fix Cycles Apache header.Thomas Dinges
This was already mixed a bit, but the dot belongs there.
2014-11-12Cycles: Prevent NaN and inf in area lamp sampling caused by precision issuesSergey Sharybin
This doesn't have noticeable affect on the render times, but avoids possible numerical issues.
2014-11-08Cycles: Remove dead branch for Distant lamps, ls->t is always FLT_MAX here.Thomas Dinges
2014-11-08Cleanup: cycles whitespaceCampbell Barton
2014-11-06Cycles: Add "Max Bounce" control for lampsThomas Dinges
With this setting, we can limit the influence of a lamp to a certain amount of bounces. 0 = Only direct light contribution 1 = 1 light bounce ... Differential revision: https://developer.blender.org/D860 You can find an example render in the release logs: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.73/Cycles
2014-11-01Cleanup: Remove unused light function.Thomas Dinges
2014-10-16Cycles: Implement an area preserving parameterization sampling for area lampsSergey Sharybin
Replace old code for area lamps which was more like incorrect with more correct one using the following paper as a reference: Carlos Urena et al. An Area-Preserving Parametrization for Spherical Rectangles. https://www.solidangle.com/research/egsr2013_spherical_rectangle.pdf Implementation is straight from the paper, currently the rectangle constants are calculated for each of the samples. Ideally we need to pre-calculate them. Some comparison images are available there http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.73/Cycles Reviewers: brecht, juicyfruit Subscribers: dingto, ton Differential Revision: https://developer.blender.org/D823
2014-08-14Cleanup: typos and extra brackets.Thomas Dinges
2014-08-14Cycles: Avoid intermediate function when we sample all lamps.Thomas Dinges
2014-08-13Fix T41219: Cycles backface detection doesn't work properlySergey Sharybin
Root of the issue goes back to the on-fly normals commit and the latest fix for it wasn't actually correct. I've mixed two fixes in there. So the idea here goes back to storing negative scaled object flag and flip runtime-calculated normal if this flag is set, which is pretty much the same as the original fix for the issue from me. The issue with motion blur wasn't caused by the rumtime normals patch and it had issues before, because it already did runtime normals calculation. Now made it so motion triangles takes the negative scale flag into account. This actually makes code more clean imo and avoids rather confusing flipping code in mesh.cpp.
2014-07-13Fix T40987: Distant Lamps have no influence on Volumes.Thomas Dinges
Differential Revision: https://developer.blender.org/D639
2014-06-14Cycles: volume light samplingBrecht Van Lommel
* Volume multiple importace sampling support to combine equiangular and distance sampling, for both homogeneous and heterogeneous volumes. * Branched path "Sample All Direct Lights" and "Sample All Indirect Lights" now apply to volumes as well as surfaces. Implementation note: For simplicity this is all done with decoupled ray marching, the only case we do not use decoupled is for distance only sampling with one light sample. The homogeneous case should still compile on the GPU because it only requires fixed size storage, but the heterogeneous case will be trickier to get working.
2014-05-01Cycles: MIS for lamps now loops over all lamps instead of picking one.Brecht Van Lommel
Probably will not be noticed in most scenes. This helps reduce noise when you have multiple lamps with MIS enabled, at the cost of some performance, but from testing some scenes this seems better.
2014-03-29Cycles code refactor: replace magic ~0 values in the code with defines.Brecht Van Lommel
2014-03-29Cycles code refactor: move more geometry code into per primitive files.Brecht Van Lommel
2014-03-09Code Cleanup for __HAIR__ defines.Thomas Dinges
2014-02-07Fix T36979: wrong render of textured mesh lights with multiple importance ↵Brecht Van Lommel
sampling.
2013-11-18Cycles: change __device and similar qualifiers to ccl_device in kernel code.Brecht Van Lommel
This to avoids build conflicts with libc++ on FreeBSD, these __ prefixed values are reserved for compilers. I apologize to anyone who has patches or branches and has to go through the pain of merging this change, it may be easiest to do these same replacements in your code and then apply/merge the patch. Ref T37477.
2013-08-18Cycles: relicense GNU GPL source code to Apache version 2.0.Brecht Van Lommel
More information in this post: http://code.blender.org/ Thanks to all contributes for giving their permission!
2013-08-04Cycles: Thomas Dinges
* Forgot to rename some SSS pass strings. * Some typo fixes.
2013-07-18* Fix a typo in code. Thomas Dinges
2013-06-07Cycles: ray visibility options now work for lamps and mesh lights, with and ↵Brecht Van Lommel
without multiple importance sampling, so you can disable them for diffuse/glossy/transmission. The Light Path node here is still weak and does not give this info. To make that work we'd need to evaluate the shader multiple times which is slow and we can't detect well enough when it is actually needed.
2013-06-07Code cleanup: avoid some warnings due to implicit uint/int/float/double ↵Brecht Van Lommel
conversion.
2013-06-04Cycles:Thomas Dinges
* Revert r57203 (len() renaming) There seems to be a problem with nVidia OpenCL after this and I haven't figured out the real cause yet. Better to selectively enable native length() later, after figuring out what's wrong. This fixes [#35612].
2013-06-03Cycles / Math functions:Thomas Dinges
* Rename some math functions: len -> length len_squared -> length_squared normalize_len -> normalize_length * This way OpenCL uses its inbuilt length() function, rather than our own. The other two functions have been renamed for consistency. * Tested CPU, CUDA and OpenCL compile, should be no functional changes.
2013-05-15Fix cycles CUDA error with world multiple importance sampling, after recent ↵Brecht Van Lommel
OpenCL fixes.
2013-05-14Cycles :Thomas Dinges
* Use is_zero(a) rather than dot(a, a) == 0, saves some calculations.
2013-05-12Cycles / Math:Thomas Dinges
* Add M_2PI_F and M_4PI_F constants and use them inside the codebase.
2013-05-09Cycles OpenCL: fix other build issues when enabling more features.Brecht Van Lommel
2013-05-09Cycles OpenCL: a few fixes to get things compiling after kernel changes,Brecht Van Lommel
for Apple OpenCL on OS X 10.8 and simple AO render. Also environment variable CYCLES_OPENCL_TEST can now be set to CPU, GPU, ACCELERATOR, DEFAULT or ALL values to test particuler devices.
2013-02-12Attempted fix for issue with latest CUDA kernel for 32 bit windows/linux/mac,Brecht Van Lommel
there seems to be some sort of compiler bug in CUDA toolkit 4.2, uninlining a few functions seems to avoid it.
2013-02-01Fix an issue with the new cycles lamp MIS option not working correct withBrecht Van Lommel
multiple lamps.
2013-01-30Cycles: make multiple importance sampling for lamps an option per lamp now,Brecht Van Lommel
disabled by default for backwards compatibility. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Integrator
2013-01-14Fix #33868: cycles sample as lamp for world background not rendering with theBrecht Van Lommel
correct intensity on the GPU.
2013-01-10Fix #33821: cycles background intensity fix had uninitialized memory usageBrecht Van Lommel
for area lights.
2013-01-10Fix too bright result in background multiple importance after recent changes.Brecht Van Lommel
2013-01-10Cycles: multiple importance sampling for lamps, which helps reduce noise forBrecht Van Lommel
big lamps and sharp glossy reflections. This was already supported for mesh lights and the background, so lamps should do it too. This is not for free and it's a bit slower than I hoped even though there is no extra BVH ray intersection. I'll try to optimize it more later. * Area lights look a bit different now, they had the wrong shape before. * Also fixes a sampling issue in the non-progressive integrator. * Only enabled for the CPU, will test on the GPU later. * An option to disable this will be added for situations where it does not help. Same time comparison before/after: http://www.pasteall.org/pic/show.php?id=43313 http://www.pasteall.org/pic/show.php?id=43314
2013-01-03Fix CUDA build error after last commit, and remove some comments.Brecht Van Lommel
2013-01-03Cycles Hair: refactoring to store curves with the index of the first key and theBrecht Van Lommel
number of keys in the curve, rather than curve segments with the indices of two keys. ShaderData.segment now stores the segment number in the curve.
2013-01-03Cycles Hair: refactoring to support generic attributes for hair curves. ThereBrecht Van Lommel
should be no functional changes yet. UV, tangent and intercept are now stored as attributes, with the intention to add more like multiple uv's, vertex colors, generated coordinates and motion vectors later. Things got a bit messy due to having both triangle and curve data in the same mesh data structure, which also gives us two sets of attributes. This will get cleaned up when we split the mesh class.
2012-12-28New featureStuart Broadfoot
Patch [#33445] - Experimental Cycles Hair Rendering (CPU only) This patch allows hair data to be exported to cycles and introduces a new line segment primitive to render with. The UI appears under the particle tab and there is a new hair info node available. It is only available under the experimental feature set and for cpu rendering.
2012-11-26Fix: cycles light sampling crash, happens on rare occasions due to floatBrecht Van Lommel
rounding errors.
2012-10-18Attempts to fix CUDA issues on sm 2.0 cards, still no luck getting motion blurBrecht Van Lommel
working, but this should make it not crash. Also fix for wrong shutter time, should have been shorter.
2012-10-16Cycles: fix some update issues with camera motion blur, and do some more workBrecht Van Lommel
for getting object motion blur ready.
2012-06-13Cycles: first step for implementation of non-progressive sampler that handlesBrecht Van Lommel
direct and indirect lighting differently. Rather than picking one light for each point on the path, it now loops over all lights for direct lighting. For indirect lighting it still picks a random light each time. It gives control over the number of AA samples, and the number of Diffuse, Glossy, Transmission, AO, Mesh Light, Background and Lamp samples for each AA sample. This helps tuning render performance/noise and tends to give less noise for renders dominated by direct lighting. This sampling mode only works on the CPU, and still needs proper tile rendering to show progress (will follow tommorrow or so), because each AA sample can be quite slow now and so the delay between each update wil be too long.
2012-06-09style cleanup: block commentsCampbell Barton
2012-06-07Cycles: small code fix for disabled code.Brecht Van Lommel
2012-06-04Cycles: fix spot lamp emitting light in two directions.Brecht Van Lommel
2012-06-04Cycles: spot lamp support.Brecht Van Lommel
2012-05-13Cycles: OpenCL image texture support, fix an attribute node issue and refactorBrecht Van Lommel
feature enabling #defines a bit.