Blender Git Commits

Blender Git "fracture_modifier-master" branch commits.

Page: 40 / 129

January 20, 2017, 10:26 (GMT)
Fix T50116: Light threshold broke branched path tracer

In fact, the issue was caused by light threshold being too high for
certain scenes. Lowered it down to 0.01.
January 20, 2017, 10:26 (GMT)
Cycles: Refactor Progress system to provide better estimates

The Progress system in Cycles had two limitations so far:
- It just counted tiles, but ignored their size. For example, when rendering a 600x500 image with 512x512 tiles, the right 88x500 tile would count for 50% of the progress, although it only covers 15% of the image.
- Scene update time was incorrectly counted as rendering time - therefore, the remaining time started very long and gradually decreased.

This patch fixes both problems:
First of all, the Progress now has a function to ignore time spans, and that is used to ignore scene update time.
The larger change is the tile size: Instead of counting samples per tile, so that the final value is num_samples*num_tiles, the code now counts every sample for every pixel, so that the final value is num_samples*num_pixels.

Along with that, some unused variables were removed from the Progress and Session classes.

Reviewers: brecht, sergey, #cycles

Subscribers: brecht, candreacchio, sergey

Differential Revision: https://developer.blender.org/D2214
January 20, 2017, 10:26 (GMT)
Cycles: Implement AVX2 path for curve intersection functions

Gives little performance improvement on Linux and gives up to 2%
speedup on koro.blend on Windows.

Inspired by Maxym Dmytrychenko, thanks!
January 20, 2017, 10:26 (GMT)
Fix T50075: Assert during debug render of hair_geom_transmission.blend
January 20, 2017, 10:26 (GMT)
Cycles: Pass extra array size argument to builtin image pixels functions

This is a way to avoid possible memory corruption when render threads works
in parallel with UI thread.

Not guarantees complete safe, but makes things easier to check anyway.
January 20, 2017, 10:26 (GMT)
Cycles: Fix strict compilation warnings
January 20, 2017, 10:26 (GMT)
Cycles: Avoid divisions by zero in volume sampling code

Was giving huge artifacts in the barber shop file here in the studio,

Maybe not fully optimal solution, but committing it for now to have
closer look later.
January 20, 2017, 10:26 (GMT)
Fix T50100: Cycles SeparateRGBNode Red socket defined wrong

Spotted by David (bocs), thanks!
January 20, 2017, 10:26 (GMT)
Fix T50104, Race condition in SVMShaderManager::device_update_shader
January 20, 2017, 10:26 (GMT)
Cycles: Fix strict compilation warnings

Should be no functional changes.
January 20, 2017, 10:26 (GMT)
Cycles: Fix re-definition of some functions on x32 arch
January 20, 2017, 10:26 (GMT)
Cycles: Another attempt to fix compilation on 32bit Linux
January 20, 2017, 10:26 (GMT)
Fix T50034: Blender changes processor affinity unauthorized
January 20, 2017, 10:26 (GMT)
Fix Cycles device backwards compatibility error if device type is unavailable.
January 20, 2017, 10:26 (GMT)
Fix spelling in Cycles distance culling description.
January 20, 2017, 10:26 (GMT)
Cycles: add basic backwards compatibility for device selection, move to System tab.

For the multi-GPU case users still have to reconfigure the devices they want to use.

Based on patch from Lukas Stockner.

Differential Revision: https://developer.blender.org/D2347
January 20, 2017, 10:26 (GMT)
Cycles: Implement texture size limit simplify option

Main intention is to give some quick way to control scene's memory
usage by clamping textures which are too big. This is really handy
on the early production stages when you first create really nice
looking hi-res textures and only when it all works and approved
start investing time on optimizing your scene.

This is a new option in Scene Simplify panel and it acts as
following: when texture size is bigger than the given value it'll
be scaled down by half for until it fits into given limit.

There are various possible improvements, such as:

- Use threaded scaling using our own task manager.

This is actually one of the main reasons why image resize is
manually-implemented instead of using OIIO's resize. Other
reason here is that API seems limited to construct 3D texture
description easily.

- Vectorization of uchar4/float4/half4 textures.

- Use something smarter than box filter.

Was playing with some other filters, but not sure they are
really better: they kind of causes more fuzzy edges.

Even with such a TODOs in the code the option is already quite
useful.

Reviewers: brecht

Reviewed By: brecht

Subscribers: jtheninja, Blendify, gregzaal, venomgfx

Differential Revision: https://developer.blender.org/D2362
January 20, 2017, 10:26 (GMT)
Cycles: Don't shadow loop variable
January 20, 2017, 10:26 (GMT)
Cycles: Attempt to fix compilation error on ppc64el

There is some define conflict between system headers and clew,
so delay include of clew.h as much as possible.]

This is something which needed to be done in the code before
the refactor, hopefully such change will still work.
January 20, 2017, 10:26 (GMT)
Cycles: Attempt to fix 32bit buildbot builds after recent commit
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021