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
path: root/intern
AgeCommit message (Collapse)Author
2014-09-07Comment out SVM fresnel_conductor() function for now, still unused.Thomas Dinges
2014-09-07Cycles / OSL: Add a conductive fresnel shader template.Thomas Dinges
This adds a fresnel conductive OSL preset to the Text Editor. Based on a patch by Lukas Stockner. Differential revision: https://developer.blender.org/D145 See the differential for details.
2014-09-07No need for try/except in D766Campbell Barton
2014-09-07Cycles: Several fixes for Presets.Thomas Dinges
* Fix caustic properties, was not updated. * Remove wrong items, leftovers from panel splitting. * Add missing items. Even if the bundled presets do not set those, a user expects that all properties inside the panel are taken into account, when adding a new preset.
2014-09-07Cycles: Fix Caustic tooltips.Thomas Dinges
Now that the option has been reversed, the tooltips should be changed too. Thanks to David Black, for bringing this up!
2014-09-06Fix T41709: Bump not rendered correctly behind transparency using Branched ↵Sergey Sharybin
Path Tracing
2014-09-06Cycles: Workaround cuda 6.5 compiler bug with sm_50Sergey Sharybin
2014-09-06Cycles: Fix for the BSDF evaluation initSergey Sharybin
2014-09-05Cycles: Split caustics option, to allow separate control for Reflection and ↵Thomas Dinges
Refraction caustics. This way artists can only disable/enable refraction or reflection caustics. See Cycles logs for an example: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.72/Cycles Differential revision: https://developer.blender.org/D766
2014-09-05Cycles: Initial support for volume ray visibility.Thomas Dinges
This adds a new "Volume Scatter" option to the "Ray Visibility" panels and can be used to e.g. exclude lamps from having an influence on the volume. See release logs for an example: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.72/Cycles Differential revision: https://developer.blender.org/D771
2014-09-04Fix wrong track of the memory when doing device vector resize before freeing itSergey Sharybin
This is rather legit case which happens i.e. when having persistent images enabled and session is updating the lookup tables. Now device_memory keeps track of amount of memory being allocated on the device, which makes freeing using the proper allocated size, not the CPU side buffer size.
2014-09-04Cleanup: Code deduplication for similar passes.Thomas Dinges
2014-09-03Fix T41693: Volumes get brightened with extra volume samples on GPU + BPTSergey Sharybin
2014-09-03Cleanup: Use function call and delete obsolete comment.Thomas Dinges
2014-09-01Cycles: Rebuild BVH from scratch if loading cache failedSergey Sharybin
Before this Cycles used to try using the cache even so it knew for the fact that reading it from the disk failed. This change doesn't make it more stable if someone will try to trick Cycles and give malformed data but it solves general cases when Blender crashed during the cache write and will preserve rendering from crashing when trying to use that partial cache.
2014-09-01Cleanup: Silence compiler warning.Thomas Dinges
2014-08-31Cycles: Always assign the proper value for volume bounces.Thomas Dinges
I don't see a reason not to do this, and this also fixes update problems when 3D View rendering is running (no volume shader), and then a volume shader gets added.
2014-08-30Fix Cycles Integrator presets, not taking Volume bounces into account.Thomas Dinges
2014-08-29Cycles: Fix triangle ribbons hair in viewport and ortho cameraSergey Sharybin
There were several issues involved into triangle ribbons hair: - Even for the viewport rendering the blender scene camera was used for orientation. This made hair triangles oriented to the scene camera, not to the viewport camera. - Triangle orientation was actually supposing the camera is perspective. Triangles weren't oriented properly for the orthographic camera resulting in different hair width across it's length. This issues are solved now, but there are some related TODOs: - Rotating viewport doesn't re-orient the triangles, so after viewport navigation hair might not look correct. However, with this fix toggling viewport render (to force hair sync) makes viewport render correct. This isn't so much trivial fix, would require making BVH aware of the dynamic triangle orientation, so they get properly oriented without full hair re-sync. - Panorama camera behavior didn't change but looks like it should, however not really sure atm what's the right thing to do here.
2014-08-28Followup for the previous commit: apparently for CMake py files are hardcodedSergey Sharybin
2014-08-28Fix T41473: Cycles volume rendering is too darkSergey Sharybin
The issue was caused by the changed defaults from the Cycles side. Because of those properties being saved as an IDProp and not being saved to the file, every change to the defaults would ruin someone's day updating the values. Added a bpy.app.handler.version_update which is run after the regular do_versions() are done and could be sued by the scripts to apply versioning code on their settings. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D761
2014-08-28Fix T41601: Correlated multi-jitter with high samples "hangs"Sergey Sharybin
Issue was caused by the precision issues which made sdivm by 1 under it's actual value. We can try to do some eps magic, but from the tests on laptop and desktop doing integer division is not slower than using floats here.
2014-08-27Cleanup: remove _DEBUG define usageCampbell Barton
2014-08-27Cycles Aperture Ratio - option to produce anamorphic bokehDalai Felinto
Thanks for Aldo Zang for the help with the fix for the panorama/fisheye depth of field calculation and the overall math. Reviewed By: sergey, dingto Subscribers: juicyfruit, gregzaal, #cycles, dingto, matray Differential Revision: https://developer.blender.org/D753
2014-08-27Cleanup: intrin.h is already included via util_optimization.h.Thomas Dinges
2014-08-26Move include outside of the CCL namespaceSergey Sharybin
2014-08-26Cycles: Add an experimental CUDA kernel.Thomas Dinges
Now we build 2 .cubins per architecture (e.g. kernel_sm_21.cubin, kernel_experimental_sm_21.cubin). The experimental kernel can be used by switching to the Experimental Feature Set: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Experimental_Features This enables Subsurface Scattering and Correlated Multi Jitter Sampling on GPU, while keeping the stability and performance of the regular kernel. Differential Revision: https://developer.blender.org/D762 Patch by Sergey and myself. Developer / Builder Note: CUDA Toolkit 6.5 is highly recommended for this, also note that building the experimental kernel requires a lot of system memory (~7-8GB).
2014-08-26Cycles: Use compiler intrinsics for clz/ctz in CMJ code for MSVCSergey Sharybin
2014-08-26Cycles: Make Correlated Multi Jitter a regular feature.Thomas Dinges
It can be helpful in some cases and it works properly, so no need to hide it behind the experimental flag anymore. It's only enabled for the CPU though.
2014-08-25Cycles: Enable Volumetric Rendering on GPU.Thomas Dinges
Limitations: * Smoke/Fire rendering is *not* supported on GPU yet, that is also documented here: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Materials/Volume * Decoupled Ray Marching is also not supported yet, so no Equi-Angular and MIS sampling yet. Note for Builders and Developers: * Make sure to use the CUDA Toolkit 6.5 from now on. 6.0 might still work, but can cause slower renders.
2014-08-25Fix T41532: Some files bounce back and forth between 'packing BVH nodes' and ↵Sergey Sharybin
'Copying Transforms to Device' This was originally caused by a6ae12a where i didn't foresee unclear distinguishing between empty and non-synced meshes will give issues for the viewport. They're the same for final rendering, but for viewport we need to be accurate here.
2014-08-25Cycles: Fix wrong Volume Scattering in Branched Path integrator, when ↵Thomas Dinges
building without Decoupled Ray Marching. The wrong throughput was used here.
2014-08-25Cleanup: Remove unused variable in kernel_path_volume_bounce().Thomas Dinges
2014-08-24Cycles: Avoid redundant call to volume_stack_is_heterogeneous() for Distance ↵Thomas Dinges
Sampling.
2014-08-24Cycles: Avoid call to volume_stack_sampling_method() on GPU, Decoupled is ↵Thomas Dinges
required for Equi-Angular/MIS.
2014-08-24Cycles: Remove Volume Nodes GPU warning and gray out Sampling Method button ↵Thomas Dinges
when using GPU.
2014-08-22Fix T41541: Cuda renders objects in black with MIS enabled in world settingThomas Dinges
Issue introduced in 8d3cc431d7fdcc9f3243cc24dfdcb94124be0993, parameter mismatch.
2014-08-22Cycles: DPX is saved in the sRGB space and need to be converted to linearSergey Sharybin
This at least applies to DPX saved from within blender, which is 1st prio to support working reliably.
2014-08-22Cycles: Fix wrong image update tagging, float vs. byte imagesSergey Sharybin
2014-08-22Cycles: Drop support for CUDA 5.0 Toolkit, only 6.0 and 6.5 (recommended) ↵Thomas Dinges
are supported now.
2014-08-21Fix T41267: Wrong light distribution with when having objects with motion blurSergey Sharybin
2014-08-21CleanupCampbell Barton
2014-08-21Further cleanup for defines:Thomas Dinges
* Merge Texture defines * Remove Normal Map define.
2014-08-21Cleanup: Remove __ANISOTROPIC__ define.Thomas Dinges
That was only needed in the beginning, when we did not had support for tangents. It's time to clean some of the defines up, it's getting a bit too much.
2014-08-21Code refactor: Split __VOLUME__ defines in Cycles.Thomas Dinges
* __VOLUME__ is basic volume support with Emission and Absorption. * __VOLUME_SCATTER__ enables volume Scattering support. * __VOLUME_DECOUPLED__ enables Decoupled Ray Marching.
2014-08-21Cycles: Further tweak for Decoupled Ray MarchingThomas Dinges
Avoid some if checks when probalistic_scatter is false. Differential Revision: https://developer.blender.org/D743
2014-08-19Fix T40962: Ashikhmen Shirley shader firefliesSergey Sharybin
2014-08-19Fix T41471 Cycles Bake: Setting small tile size results in wrong bake with ↵Dalai Felinto
stripes rather than the expected noise pattern This problem was introduced in 983cbafd1877f8dbaae60b064a14e27b5b640f18 Basically the issue is that we were not getting a unique index in the baking routine for the RNG (random number generator). Reviewers: sergey Differential Revision: https://developer.blender.org/D749
2014-08-18Fix T39630: Mouse Wheel doesn't detect Multi Window FocusSergey Sharybin
2014-08-18Fix T41474: Second renderlayer doesnt render if first one has 'Use Surfaces' ↵Sergey Sharybin
disabled