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
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-18Cycles: Subsurface ScatteringBrecht Van Lommel
New features: * Bump mapping now works with SSS * Texture Blur factor for SSS, see the documentation for details: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#Subsurface_Scattering Work in progress for feedback: Initial implementation of the "BSSRDF Importance Sampling" paper, which uses a different importance sampling method. It gives better quality results in many ways, with the availability of both Cubic and Gaussian falloff functions, but also tends to be more noisy when using the progressive integrator and does not give great results with some geometry. It works quite well for the non-progressive integrator and is often less noisy there. This code may still change a lot, so unless you're testing it may be best to stick to the Compatible falloff function. Skin test render and file that takes advantage of the gaussian falloff: http://www.pasteall.org/pic/show.php?id=57661 http://www.pasteall.org/pic/show.php?id=57662 http://www.pasteall.org/blend/23501
2013-08-18Updates for the Cycle Hair UI. With the following changesStuart Broadfoot
- Removed the cycles subdivision and interpolation of hairkeys. - Removed the parent settings. - Removed all of the advanced settings and presets. - This simplifies the UI to a few settings for the primitive type and a shape mode.
2013-08-14Cycles:Thomas Dinges
* Remove an unneeded return in shader_bsdf_eval(), function is void. * if / else if tweak in shader_bsdf_ao().
2013-08-14include order change for osl, fixes gcc compile error - undefined uintptr_tCampbell Barton
2013-08-13Code cleanup:Thomas Dinges
* Some typo fixes.
2013-08-11Code cleanup / Cycles:Thomas Dinges
* Remove unused "PathThroughput" variable. * Don't compile unused voronoi code, we only use Distance Squared atm. * Various typo and comment fixes.
2013-08-11Code cleanup / Cycles:Thomas Dinges
* Rename "curve_kernel_data" to just "curve", to avoid redundant naming.
2013-08-10Code cleanup / Cycles:Thomas Dinges
* Remove code for the unused Wave texture variations. We have quite some unused code in the texture area, I guess it doesn't harm to clean a bit up here. We can always get the code back from SVN if we need something.
2013-08-10Cycles:Thomas Dinges
* GPU kernel can now be compiled without __NON_PROGRESSIVE__ again, was broken after my last commit. Also add a check for have_error(), in case the GPU kernel comes without Non-Progressive, to avoid a crash. * Don't compile progressive kernel twice on CPU, if __NON_PROGRESSIVE__ would be disabled there.
2013-08-09Cycles / Non-Progressive integrator:Thomas Dinges
* Non-Progressive integrator is now available on the GPU (CUDA, sm_20 and above). Implementation details: * kernel_path_trace() has been split up into two functions: kernel_path_trace_non_progressive() and kernel_path_trace_progressive(). * We compile two CUDA kernel entry functions (in kernel.cu) for the two integrators, they are still inside one .cubin file but due to the kernel separation there should be no performance problem. I tested with the BMW file on my Geforce 540M and the render times were the same for 100 samples (1.57 min in my case). This is part of my GSoC project, SVN merge of r59032 + manual merge of UI changes for this from my branch.
2013-08-07minor edits to float/double conversion suggested by DingToCampbell Barton
2013-08-06cycles builds with -Wdouble-promotion again.Campbell Barton
2013-08-05Cycles OSL: image texture lookup optimization, acquire the per thread handleBrecht Van Lommel
for texture system in advance. Patch by Martijn Berger, with some tweaks. There was about a 10% performance improvement on OS X in my tests with the images.blend test file. This may be less on other platforms because OS X has particularly slow mutex locks.
2013-08-05Code cleanup / Cycles:Thomas Dinges
* Various string and comment fixes.
2013-08-04Cycles / OpenCL:Thomas Dinges
* Was broken after Blackbody merge, forgot to rename a struct...
2013-08-04Cycles: Thomas Dinges
* Forgot to rename some SSS pass strings. * Some typo fixes.
2013-08-03Cycles / SSS:Thomas Dinges
* Render Passes are now available for Subsurface Scattering (Direct, Indirect and Color pass). This is part of my GSoC project, SVN merge of r58587, r58828 and r58835.
2013-08-01Code cleanup, use bools here. Forgot to change that. Thomas Dinges
2013-08-01Cycles / HSV Separator and Combine node:Thomas Dinges
* Added nodes to separate and combine hsv colors. Part of my GSoC 2013 project, SVN merge of r57981.
2013-08-01Cycles / Vector Transform node:Thomas Dinges
* Add a note to convert a Vector, Point or Normal between World <=> Camera <=> Object coordinate space. Documentation: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Vector_Transform Part of my GSoC 2013 project, SVN merge of r57599, r57670, r57918, r57919, r58245 and r58775.
2013-08-01Cycles / Blackbody to RGB node:Thomas Dinges
* Added a node to convert a temperature in Kelvin to an RGB color. This can be used e.g. for lights, to easily find the right color temperature. = Some common temperatures = Candle light: 1500 Kelvin Sunset/Sunrise: 1850 Kelvin Studio lamps: 3200 Kelvin Horizon daylight: 5000 Kelvin Documentation: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Blackbody Thanks to Philipp Oeser (lichtwerk), who essentially contributed to this with a patch! :) This is part of my GSoC 2013 project. SVN merge of r57424, r57487, r57507, r57525, r58253 and r58774
2013-08-01Cycles / Ray Depth:Thomas Dinges
* Added a Ray Depth output to the Light Path node, which gives the user access to the current bounce. This can be used to limit the maximum ray bounce on a per shader basis. Another use case is to restrict light influence with this, to have a lamp only contribute to the direct lighting. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Light_Path This is part of my GSoC 2013 project. SVN merge of r58091 and r58772 from soc-2013-dingto.
2013-07-30Cycles / Non-Progressive integrator:Thomas Dinges
* Avoid check for !LABEL_TRANSPARENT in "kernel_path_non_progressive_lighting", transparency is either handled in the outer loop or in the "kernel_path_indirect" function, but not here.
2013-07-30Cycles:Thomas Dinges
* Increase the maximum amount of closures per shader from 16 to 64, so more complex closure trees can be rendered. I measured performance on CPU and GPU (Geforce 540M) and couldn't find a performance impact, but if someone encounters a noticeable impact on his system, please report.
2013-07-23Cycles / CMJ:Thomas Dinges
* path_rng_2D() was missing an else branch for the sobol case after fix in r57383.
2013-07-18* Fix a typo in code. Thomas Dinges
2013-07-10Fix #36053: slow GPU render with panorama camera + depth of field.Brecht Van Lommel
2013-07-04Cycles:Thomas Dinges
* Added 2 new nodes to combine and separate HSV colors. Screenshot: http://www.pasteall.org/pic/show.php?id=54828
2013-07-02Cycles / Vector Transform Node:Thomas Dinges
* After some more thinking, solved the remaining ToDos. :) * Added is_object check to check if we have a valid object. * If we operate on the world, and try to convert from/to object space, we now assume world space instead, same as OSL.
2013-07-02Cycles / Vector Transform Node:Thomas Dinges
* Implementation of the node for SVM. This covers all possible transformations: World <> Object <> Camera space. As far as I can tell, it also works fine with Motion Blur enabled. ToDo: * SVM differs from OSL, when the node is used on the world.
2013-07-01Merged revision(s) 57828-57907 from trunk/blender into soc-2013-dingtoThomas Dinges
2013-06-28Fix #35896: cycles crash with OSL image textures and viewport + preview renderBrecht Van Lommel
running at the same time.
2013-06-27Merged revision(s) 57768-57827 from trunk/blender into soc-2013-dingtoThomas Dinges
2013-06-27Cycles / Ramp closures:Thomas Dinges
* Fix crash with negative values in Phong Ramp, and add some checks to survive INF and NAN values. Patch by Brecht and myself.
2013-06-27Cycles:Thomas Dinges
* Assure SSE2 intrinsics are also used on SSE3 CPUs and x86.
2013-06-27Code cleanup: cyclesBrecht Van Lommel
* Reshuffle SSE #ifdefs to try to avoid compilation errors enabling SSE on 32 bit. * Remove CUDA kernel launch size exception on Mac, is not needed. * Make OSL file compilation quiet like c/cpp files.
2013-06-27* Comment out change from r57790 to fix compilation for now. Thomas Dinges
2013-06-27Cycles / Brick texture:Thomas Dinges
* Avoid some unneeded int castings, they were only needed in the original Texture Nodes implementation as custom1 and custom2 were shorts.
2013-06-27Cycles / SSE2:Thomas Dinges
* kernel_sse2 was built without actual SSE2 intrinsics on x86 systems.
2013-06-23Merged revision(s) 57587-57670 from trunk/blender into soc-2013-dingtoThomas Dinges
2013-06-23Cycles / Vector Transform Node:Thomas Dinges
* Implementation of Vector Transform Node into Cycles. * OSL backend is done, SVM needs the matrices still.
2013-06-22style cleanupCampbell Barton
2013-06-21Fix #35812: cycles image texture node not doing proper alpha handling of PNGBrecht Van Lommel
images with open shading language enabled.
2013-06-21Cycles OpenCL: make displacement and world importance sampling work.Brecht Van Lommel
2013-06-21Fix #35804: NVidia OpenCL render issue after sampler changes, workaround ↵Brecht Van Lommel
what looks like a compiler bug.
2013-06-20Cycles / GPU Image Textures:Thomas Dinges
* On nvidia Kepler GPUs (sm_30 and above), there are now 145 byte images available, instead of 95. We could extend this to about 200 if needed. Could not test this, as I don't have a Kepler GPU, so feedback on this would be appreciated. Thanks to Brecht for review and some fixes. :)
2013-06-20Cycles: update build configurations to include CUDA sm_35 architecture. When ↵Brecht Van Lommel
using a compiler older than CUDA 5.0 it will give a warning and skip this architecture.
2013-06-20Merged revision(s) 57499-57586 from trunk/blender into soc-2013-dingtoThomas Dinges
2013-06-19Cycles: optimized SSE BVH traversal now also works with SSE2 CPUs, so all theBrecht Van Lommel
way back to Pentium 4, using a slightly less efficient instruction. Also ensure /Ox is used for Visual Studio for RelWithDebInfo builds.