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-06-04Fix #35614: cycles objects on mask layer in render layers were writing passesBrecht Van Lommel
such as motion/uv/normal but they should have been excluded from them.
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-06-02Code cleanup / Cycles:Thomas Dinges
* Avoid 2 int castings in hair code and fix some comments.
2013-06-01Fix for #35591:Thomas Dinges
* Cycles Mix closure could render strange effects, when the user entered a value out of the 0...1 range. This was already clamped for OSL, clamp for SVM as well.
2013-05-30Cycles:Thomas Dinges
* Move some hair width related code into a dedicated branch. * Don't calculate time/lens RNG when Motion Blur or Depth of Field are disabled
2013-05-28Cycles OpenCL: disable requirement of enabling Experimental, environment ↵Brecht Van Lommel
varibale already adds an extra step. Also list all features for OpenCL AMD to make testing easier.
2013-05-28Cycles: normal maps are now backwards compatible again after recent fix, withBrecht Van Lommel
a separate Blender Object/World Space that is compatible with Blender render baking and uses the YZ flipping convention.
2013-05-27Fix #35505: cycles object space normal mapping did not match blender internal.Brecht Van Lommel
Now it uses the same (strange) YZ flipping convention.
2013-05-27Cycles / OpenCL:Thomas Dinges
* Use advanced shading for nvidia as well, works fine on my Geforce 540M with sm_21. I tested the files from regression suite.
2013-05-27Cycles OpenCL: patch #35514 by Doug GaleBrecht Van Lommel
* Support using devices from all OpenCL platforms, so that you can use e.g. both Intel and NVidia OpenCL implementations if you have them installed. * Fix compile error due to missing fmodf after recent math node change. * Enable advanced shading for Intel OpenCL. * CYCLES_OPENCL_DEBUG environment variable for generating debug symbols so you can debug with gdb. This crashes the compiler with Intel OpenCL on Linux though. To make this work the preprocessed kernel source code is written out, as gdb needs this. * Show OpenCL compiler warnings even if the build succeeded. * Some small fixes to initialize cdDevice to NULL, add missing NULL check when creating buffer and add missing space at end of build options for Apple OpenCL. * Fix crash with multi device + opencl, now e.g. CPU + GPU render should work. I did a few tweaks to the code and also: * Fix viewport render failing sometimes with Apple CPU OpenCL, was not taking workgroup size limits into account properly. * Add compile error when advanced shading in the Blender binary and OpenCL kernel are not in sync.
2013-05-27Cycles / Passes:Thomas Dinges
* Some closures (Toon, Diffuse Ramp) were not assigned to a CLOSURE_IS_* define, which made them invisible on render passes. * Westin closures had wrong type, Sheen is Diffuse, Backscatter is Glossy.
2013-05-27Cycles / Fresnel:Thomas Dinges
* Avoid redundant assignment and use correct Normal for Ray Differentials.
2013-05-27Cycles / Hair:Thomas Dinges
* Fix a condition in the hair BVH code.
2013-05-26Cycles / OSL:Thomas Dinges
* Rename fresnel_dielectric() to fresnel_dielectric_cos() to match SVM, easier when searching code. * Also remove an old code comment in bsdf_reflection.h from Cycles branch days.
2013-05-25Cycles / Wireframe node:Thomas Dinges
* Make sure we have valid geometry data, fixes a crash with Lamp objects. Reported by lichtwerk in IRC, thanks!
2013-05-23Cycles / Toon BSDF:Thomas Dinges
* Added a toon bsdf node to Cycles. This was already available as OSL only closure, but is now available inside the SVM backed as well, for CPU and GPU rendering. * There are 2 variations available, diffuse and glossy toon, selectable via a menu inside the node. Documentation: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#Toon Example render & blend file: http://www.pasteall.org/pic/show.php?id=51970 http://www.pasteall.org/blend/21579
2013-05-21Code cleanup / Cycles:Thomas Dinges
* Use M_2PI_F in more places and do multiplication instead of division in gradient texture.
2013-05-21Code cleanup / Cycles:Thomas Dinges
* Re-use already defined Westin closure class.
2013-05-21Fix compiler warnings with westin OSL code.Brecht Van Lommel
2013-05-20Cycles / Wireframe node:Thomas Dinges
* Added a wireframe node (Input category) to get access to Mesh wireframe data. The thickness can be controlled via a "Size" parameter, and is available in world units (default) and screen pixel size. * Only the triangulated mesh is available now, quads is for later. Documentation: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Wireframe Render and Example file: http://www.pasteall.org/pic/show.php?id=51731 http://www.pasteall.org/blend/21510
2013-05-20Math Node:Thomas Dinges
* Added a Modulo operation to the math node, available in Compositor, Shader and Texture Nodes.
2013-05-20Code Cleanup / Cycles:Thomas Dinges
* Remove an unused parameter from Checker texture and correct a typo in license header.
2013-05-19Cycles:Thomas Dinges
* Fix OSL compilation for scene_intersect(), when __Hair__ was disabled.
2013-05-18Cycles / OSL:Thomas Dinges
* Added Westin Sheen and Westin Backscatter closures for testing, useful for Cloth like effects. Only available via OSL, added an example OSL shader to the Templates (Text Editor).
2013-05-18Code cleanup / Cycles:Thomas Dinges
* Simplify shaperadius() function a bit to avoid castings. * Style cleanup 1.f -> 1.0f, to follow rest of Cycles code.
2013-05-16Cycles / BSSRDF:Thomas Dinges
* Avoid one max() call for the bssrdf radius, the if condition already checks for values < BSSRDF_MIN_RADIUS.
2013-05-16code cleanup: double promotion warnings.Campbell Barton
2013-05-16* This is embarrassing...Thomas Dinges
2013-05-16Cycles:Thomas Dinges
* Revert part of r56832, if code gets more complicated, it's better to keep it more logical here.
2013-05-16Code cleanup / Cycles:Thomas Dinges
* Some simplification of closure code (Velvet and Toon).
2013-05-15Fix cycles CUDA error with world multiple importance sampling, after recent ↵Brecht Van Lommel
OpenCL fixes.
2013-05-15Cycles:Thomas Dinges
* Code cleanup, remove unused "resolution" variable from the DeviceTask class, was never used.
2013-05-14Cycles :Thomas Dinges
* Use is_zero(a) rather than dot(a, a) == 0, saves some calculations.
2013-05-12Cycles / Orthographic Camera:Thomas Dinges
* Avoid one unneeded division by 1.0f and save one variable assignment.
2013-05-12Cycles / Math:Thomas Dinges
* Add M_2PI_F and M_4PI_F constants and use them inside the codebase.
2013-05-11Fix #35306: cycles normal mapping not working with flat shading.Brecht Van Lommel
2013-05-11Cycles / Closures:Thomas Dinges
* Avoid some unnecessary re-declarations of closure data and simplify *_setup() functions a bit.
2013-05-10Cycles: bump node changes to add a Distance input that controls the overall ↵Brecht Van Lommel
displacement distance, and an Invert option to invert the bump effect.
2013-05-10Code cleanup / Cycles:Thomas Dinges
* Change some more if / else if conditions to switch / case. * Avoid an unneeded variable casting in phong_ramp closure.
2013-05-10Fix #35282: cycles color ramp set to constant interpolation did not work well.Brecht Van Lommel
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-05-09Cycles bump node: change the Strength value to work better, previously it wouldBrecht Van Lommel
give results that were either too weak or too strong, this makes it give more predictable results. The downside is that it breaks backwards compatibility but the previous behavior was almost broken.
2013-05-08Cycles / Hair rendering:Thomas Dinges
* Enable hair rendering on the GPU. Patch by Stuart Broadfoot, with small tweaks by me, to only enable it on sm_20 and above.
2013-05-08Fix #35246: cycles has no simple way to combine bump and normal mapping. NowBrecht Van Lommel
the Bump node has a Normal input, so you can chain it after a Normal Map node. Note that normal mapping always has to be done first because it is tied to the particular mesh surface and tangents.
2013-05-04Fix #35207: addition to previous fix to avoid OSL getting uninitializedBrecht Van Lommel
ray differentials for lighting, which could cause bad texture filtering artifacts or performance.
2013-05-03Fix for recent glossy BSDF fix, color ramp test file was rendering different.Brecht Van Lommel
2013-05-03Possible fix for #35198: uninitialized memory access with background multipleBrecht Van Lommel
importance sampling + OSL.
2013-05-03Fix #35160: cycles was rendering glossy BSDF's with zero roughness too roughBrecht Van Lommel
after a bugfix for precision issues with low roughness. Now it renders them as perfectly sharp which avoids the problematic calculations rather than increasing the roughness.
2013-04-29Cycles / SCons:Thomas Dinges
* Fast math compiler flag was set for Cycles, but not OSL.