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-03-10Cycles: Option to Sample all Lights in the Branched Path integrator for ↵Thomas Dinges
indirect samples This adds a new option "Sample All Lights" to the Sampling panel in Cycles (Branched Path). When enabled, Cycles will sample all the lights in the scene for the indirect samples, instead of randomly picking one. This is already happening for direct samples, now you can optionally enable it for indirect. Example file and renders: Blend file: http://www.pasteall.org/blend/27411 Random: http://www.pasteall.org/pic/show.php?id=68033 All: http://www.pasteall.org/pic/show.php?id=68034 Sampling all lights is a bit slower, but there is less variance, so it should help in situations with many lights. Patch by myself with some tweaks by Brecht. Differential Revision: https://developer.blender.org/D391
2014-03-09Code Cleanup for __HAIR__ defines.Thomas Dinges
2014-03-08Cycles: Compile fix and some cleanup for the Image interpolation commit.Thomas Dinges
2014-03-08Add support for multiple interpolation modes on cycles image texturesMartijn Berger
All textures are sampled bi-linear currently with the exception of OSL there texture sampling is fixed and set to smart bi-cubic. This patch adds user control to this setting. Added: - bits to DNA / RNA in the form of an enum for supporting multiple interpolations types - changes to the image texture node drawing code ( add enum) - to ImageManager (this needs to know to allocate second texture when interpolation type is different) - to node compiler (pass on interpolation type) - to device tex_alloc this also needs to get the concept of multiple interpolation types - implementation for doing non interpolated lookup for cuda and cpu - implementation where we pass this along to osl ( this makes OSL also do linear untill I add smartcubic to the interface / DNA/ RNA) Reviewers: brecht, dingto Reviewed By: brecht CC: dingto, venomgfx Differential Revision: https://developer.blender.org/D317
2014-03-07Cycles: Use Displacement type in OSL ShadingSystem.Thomas Dinges
Reviewed by: brecht Differential Revision: https://developer.blender.org/D386
2014-03-06Cuda use streams and async to avoid busywaitingMartijn Berger
This switches api usage for cuda towards using more of the Async calls. Updating only once every second is sufficiently cheap that I don't think it is worth doing it less often. Reviewed By: brecht Differential Revision: https://developer.blender.org/D262
2014-03-04Fix volume scatter render issue introduced by recent bugfix.Brecht Van Lommel
2014-03-02Cycles: remove ccl_align macro for GPU as unused and unsupported in OpenCLSv. Lockal
2014-03-01Fix T38900: cycles OSL crash running getmessage("trace", "geom:name", name)Brecht Van Lommel
2014-03-01Cleanup: Fix some typos in the code.Thomas Dinges
2014-02-28Fix use of uninitialized variable in some cases with scatter + emission volume.Brecht Van Lommel
2014-02-28Fix cycles wrong volume scatter value in light path node.Brecht Van Lommel
Thanks to Thomas for spotting this. Differential Revision: https://developer.blender.org/D370
2014-02-27Cycles: Fix mistake in PathRayFlag, one value was used twice.Thomas Dinges
2014-02-27Cycles: compile fix after rB7808360c5f (own mistake)Sv. Lockal
2014-02-27Cycles: fix crash in SSE hair and half-floats on x86+vc2008Sv. Lockal
MSVC 2008 ignores alignement attribute when assigning from unaligned float4 vector, returned from other function. Now Cycles uses unaligned loads instead of casts for win32 in x86 mode.
2014-02-26Fix T38710: volume render issue with transparent surfaces.Brecht Van Lommel
2014-02-25Fix missing brackets in cpuid bitfield check.Martijn Berger
concern raised by lukas_t (rBef73d547cc7c663ad180721094c81b3c81482ac3)
2014-02-25Fix T38811: Cycles particle ids are inconsistent when using multiple ↵Lukas Tönne
particle systems. Problem is that the particle systems in the cycles database are not stored in a well-defined order. This means the particle_id for dupli objects can not simply be assigned using a global running index during sync. Now the particle index is assigned locally for each particle system. When transferring particle data to the device as a single texture, the particle indices are offset based on the final order of particle systems in the database. Reviewers: brecht Reviewed By: brecht CC: Andreas80 Differential Revision: https://developer.blender.org/D352
2014-02-25Fix T38815Martijn Berger
For AVX support we need to check both OS support and CPU support.
2014-02-25Cycles Standalone: Tweak for d59f53f7b7da, use "closure color" as type name, ↵Thomas Dinges
to 100% match the OSL data type.
2014-02-25Cycles: Make CUDA aware of COMPUTE_50 (sm_50, Maxwell).Thomas Dinges
If you have a Maxwell GPU and want to test, you have to use the CUDA Toolkit 6.0(RC) and enable sm_50 in scons/cmake.
2014-02-24Tweak to T38766 fix: cycles now support setting viewport alpha for a material.Brecht Van Lommel
2014-02-24Fix T38779: cycles SSS and object scale render issue.Brecht Van Lommel
2014-02-24Support for generic OSL shader parameters in the Cycles standalone XMLLukas Tönne
reader. To make a generic OSL shader connectable to other nodes, the parameters must be declared via "input" and "output" child elements: <osl_shader name="tex" src="./osl/stripes.osl"> <input name="Stripes" type="int" /> <output name="ColorOut" type="color" /> </osl_shader> `name` must be the same as the OSL shader parameter name. `type` must be one of float, int, color, vector, point, normal, closure, string (matching cycles socket types) Beyond this the OSL script nodes then work just like all other nodes. OSL parameter sockets can be connected to other cycles nodes: <connect from="checker color" to="tex Stripes" /> <connect from="tex ColorOut" to="floor_closure color" /> They can set default values for the input sockets by attributes of the main node element: <osl_shader name="tex" src="./osl/stripes.osl" Stripes="3" > <input name="Stripes" type="int" /> <output name="ColorOut" type="color" /> </osl_shader> This system of specifying custom attributes should probably be changed, since it can easily create name conflicts and arbitrarily long elements. But that is a different issue to be solved for all nodes in general.
2014-02-21Fix cycles standalone crash on Mac OS X.Brecht Van Lommel
2014-02-21Fix T38740: multi-user metaballs not rendering in Cycles.Brecht Van Lommel
2014-02-19Cycle CUDA: revert the f1aeb2ccf4 and 84f958754 busywait fixes for now.Brecht Van Lommel
It's unclear what kind of impact they have on performance at the moment, so I rather play it safe and postpone this for 2.71. Ref T38679, Ref T38712
2014-02-19Code cleanup: styleCampbell Barton
2014-02-17this is an attempted Fix: T38679Martijn Berger
Cycles GPU Performance Regression From my testing this (what i should have done in the first place) reduces the regression a lot. Lets hope it is enough or we have to go back to busy waiting.
2014-02-15Cycles Standalone: XML wrapping of Lights and some more volume settings.Thomas Dinges
2014-02-15Cycles Standalone: Add more controls and optionsThomas Dinges
* P key, pauses the render * W/A/S/D for camera movement
2014-02-14Cycles Standalone: The camera now gets properly updated, when changing ↵Thomas Dinges
window size or using --width --height overwrites.
2014-02-14Cycles: equi-angular sampling for homogeneous volumesBrecht Van Lommel
This adds an option in the Volume Sampling panel, which helps rendering lamps inside or near volumes with less noise. It can also increase noise though and needs improvements to support MIS and heterogeneous volumes, but since it's useful in some cases already (especially world volumes) it's there now. Based on the code in the old branch by Stuart, with modifications by Thomas and Brecht. Differential Revision: https://developer.blender.org/D291
2014-02-14Cycles Standalone: Up/Down movement was inverted.Thomas Dinges
2014-02-14Cycles Standalone: Add interactive mode (I-key), to avoid accidental ↵Thomas Dinges
changes/movement. Also some code and whitespace cleanup.
2014-02-14Cycles Standalone: The camera can now be moved and rotated with LMB/RMB ↵Thomas Dinges
mouse key. ToDo: Add controls for forward/backward movement.
2014-02-13Cycles Standalone: More updates for the Node XML API.Thomas Dinges
Should be almost complete now, apart from Ramp Nodes (Color Ramp, RGB Curves...).
2014-02-13Fix issue in recent bugfix, did not work with multiple sessions (preview ↵Brecht Van Lommel
render).
2014-02-13Code cleanup: styleCampbell Barton
2014-02-13Fix T38615: cycles rendering beckmann/GGX refraction wrong with IOR equal to 1.Brecht Van Lommel
2014-02-13Fix T38332, Fix T38607: cycles render crash with motion blur.Brecht Van Lommel
It wasn't working together well with the python thread state changes after the depsgraph multithreading.
2014-02-12Cycles: Avoid unnecessary dot products in Mesh/Hair export code.Thomas Dinges
2014-02-11Cycles: mix hair minimum width code with SSE intersection codeBrecht Van Lommel
Gives 6.5% speedup for hair.blend from testsuite. This commit was previously reverted, but should work ok now. Patch by Sv. Lockal.
2014-02-11Cycles: Code refactor for Clamping/Inf Rejection, combined into 1 function. ↵Thomas Dinges
Also avoid some conditionals. Reviewed by: brecht Differential Revision: https://developer.blender.org/D310
2014-02-11Fix T38597: cycles status bar missing some updates.Brecht Van Lommel
2014-02-11Better fix for T38501: blender crashes right after adding image texture toSv. Lockal
material in cycles Buggy MSVC 2008 in 32-bit mode ignores stack align attribute for float3. Now it uses reference to __m128, which is always aligned.
2014-02-11Fix Cycles Light Passes being always enabled, own regression in Clamp commit ↵Thomas Dinges
yesterday. KernelIntegrator just doesn't have valid data at this point, so we need to go one level deeper.
2014-02-11Cycles: Clamp Direct now affects the Background too.Thomas Dinges
Reviewed by: brecht Differential Revision: https://developer.blender.org/D306
2014-02-11Cycles: Separation of Indirect and Direct clamping.Thomas Dinges
Indirect and Direct samples can now be clamped individually. This way we can clamp the indirect samples (fireflies), while keeping the direct highlights. Example render: http://www.pasteall.org/pic/show.php?id=66586 WARNING: This breaks backwards compatibility. If you had Clamping enabled in an old file, you must re-enable either Direct/Indirect clamping or both again. Reviewed by: brecht Differential Revision: https://developer.blender.org/D303
2014-02-10Fix part of T38304: cycles render problem with zero length curve segments.Brecht Van Lommel
Now these are removed from the curve.