Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2446 / 5574

January 3, 2016, 13:28 (GMT)
Fix T47008: OSL Memory Corruption (Use after free)

The issue was caused by OSL using TLS which is required to be freed before the
Cycles session is freed. This is quite tricky to do in Cycles because different
render session are sharing the same task scheduler, so when one session is being
freed TLS might need to be active still.

In order to solve this, we are now doing JIT optimization ahead of the time
which ensures either TLS of JIT is freed before the render on multi-core system
or freed on OSLRenderSession destroy on single-core system.

This might increase synchronization time due to JIT of unused function, but
that we can solve later with some smart idea,
January 3, 2016, 12:24 (GMT)
Improve system info tip
January 2, 2016, 23:26 (GMT)
Get rid of yet another instance of DM_DRAW_OPTION_NO_MCOL

Logic here is weird. Generally, textured drawing overrides
material color unless material uses object color instead?
It doesn't make sense, material color is a material color
whatever the circumstance.

Repeating: idea as always is to push all those options out of per-
polygon callbacks and make decisions such as color enable in the higher
level functions.
January 2, 2016, 22:22 (GMT)
Get rid of three needless instances of DM_DRAW_OPTION_NO_MCOL.

It would be good to get rid of this entirely, ideally decision
about mcols can be taken at material level and not done per face. More
work needs to be done for that to work though.
January 2, 2016, 18:55 (GMT)
GPU buffers: Add update functionality for existing buffers.

Only used for color for now, but we need this for any kind of buffer
updates actually.

This should get rid of some allocation/deallocation, making
vertex painting a bit faster.
January 2, 2016, 08:17 (GMT)
Fix compilation error on Windows
January 2, 2016, 00:15 (GMT)
Cycles: Force bottom-to-top tile order for viewport rendering

This commit overrides the user's choice of tile order in the case of viewport rendering and always uses bottom-to-top instead.
This was already done until the TileManager redesign, but since it removed the distinction between viewport and regular rendering
in the manager, the viewport was now also using the selected order. Since this requires sorting of the generated tiles,
it slows down rendering a bit. With the forced bottom-to-top order, this sorting step can now be avoided again.

Since the tile order is invisible anyways for viewport rendering, this commit won't have any impact on users (apart from a slight speedup).
January 1, 2016, 22:25 (GMT)
Cycles: Add Saw option to the wave texture

This commit adds "Bands Saw" and "Rings Saw" to the options for the Wave texture node in Cycles, behaving similar to the Saw option in BI textures.
Requested by @cekuhnen on BA.

Reviewers: dingto, sergey

Subscribers: cekuhnen

Differential Revision: https://developer.blender.org/D1699
January 1, 2016, 20:27 (GMT)
Sculpt: OMP -> BLI_task, step I.

This gives usual nice boost in parallelized sections themselves, on global sculpting stroke
it's a bit hard to say, seems like we have an average 5% speedup, but it varies a lot...

Note that this area is only parallelized when you have a big brush over dense geometry, otherwise
there's no change at all.

As a side note, this commit also factorizes code here, three times nearly the same code, tst...
January 1, 2016, 19:31 (GMT)
make.bat: only configure once
January 1, 2016, 17:05 (GMT)
Fix OSL compilation, cannot assign vector to color.
January 1, 2016, 15:30 (GMT)
make.bat: add 'clean' command
January 1, 2016, 14:42 (GMT)
make.bat: detect MSVC location

Now this can run from any command line (without having to be launched from MSVC Command Prompt)
January 1, 2016, 10:26 (GMT)
make.bat: sanity checks w/ useful error messages
January 1, 2016, 07:47 (GMT)
make.bat correct name for cycles target
January 1, 2016, 05:05 (GMT)
Fix for make.bat

Build install target and config path was wrong.

Also use less verbose output and enable multiprocess builds.
December 31, 2015, 18:44 (GMT)
Add helper make.bat file for ms-windows builders

See --help for options (currently still quite basic)
December 31, 2015, 15:44 (GMT)
Cycles: Implement rolling shutter effect

This is an attempt to emulate real CMOS cameras which reads sensor by scanlines
and hence different scanlines are sampled at a different moment in time, which
causes so called rolling shutter effect. This effect will, for example, make
vertical straight lines being curved when doing horizontal camera pan.

This is controlled by the Shutter Type option in the Motion Blur panel.

Additionally, since scanline sampling is not instantaneous it's possible to have
motion blur on top of rolling shutter.

This is controlled by the Rolling Shutter Time slider which controls balance
between pure rolling shutter effect and pure motion blur effect.

Reviewers: brecht, juicyfruit, dingto, keir

Differential Revision: https://developer.blender.org/D1624
December 31, 2015, 15:40 (GMT)
Fix T46915: Non-intuitive behavior of Vector Curve Mapping node

Vector mapping node was doing some weird mapping of both original and mapped
coordinates. Mapping of original coordinates was caused by the clamping nature
of the LUT generated from the node. Mapping of the mapped value again was quite
totally obscure -- one needed to constantly keep in mind that actual value will
be scaled up and moved down.

This commit makes it so values in the vector curve mapping are always absolute.
In fact, it is now behaving quite the same as RGB curve mapping node and the
code could be de-duplicated. Keeping the code duplicated for a bit so it's more
clear what exact parts of the node changed.

Reviewers: brecht

Subscribers: bassamk

Differential Revision: https://developer.blender.org/D1672
December 31, 2015, 13:57 (GMT)
Fix T47046: Exporting Max and Maya keymap throws RNA warnings in console.

Totally harmless, but let's silence this bpyrna warning in case enum_items
is a DummyRNA_NULL_items, which is by definition empty...
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021