Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2254 / 5574

November 7, 2016, 11:09 (GMT)
Depsgraph: Do not rely on indirectly included cstring

Also add comment why exactly cstring is needed.
November 7, 2016, 10:04 (GMT)
Proxy: Construct pchan hash when syncing armature proxy

This makes bone lookup much faster (by avoiding liner string lookup)
and speeds up depsgraph construction time on file open.
November 7, 2016, 10:04 (GMT)
Despgraph: Optimize cycles detection algorithm

The idea is simple: when falling back to one of the nodes which was partially
handled we "resume" checking outgoing relations from the index which we stopped.

This gives about 15-20% depsgraph construction time save.
November 7, 2016, 10:04 (GMT)
Depsgraph: Speedup initial rig build time

We don't need to sort bone channels, it's all taken care about
by the depsgraph itself.

Gives up to 30% initial rig construction time speedup.
November 7, 2016, 10:04 (GMT)
Depsgraph: Move key implementation from header to dedicated file
November 7, 2016, 10:04 (GMT)
Depsgraph: Move class implementation from header to implementation files

This is more proper way to go:

- Avoids re-compilation of all dependent files when implementation changes
without changed API,

- Linker should have much simpler time now de-duplicating and getting rid
of redundant implementations.
November 7, 2016, 10:04 (GMT)
Depsgraph: Fully switch from string to const char*

This brings up to 10-20% depsgraph build time improvement in the layout
files from the studio repository.
November 7, 2016, 10:04 (GMT)
Depsgraph: Add extra name tag for operation nodes

The idea here is to address issue that name on it's own is not
always unique: for example, when adding driver operations the
name used for nodes is the RNA path (and multiple drivers can
write to different array indices of the path). Basically, now
it's possible to pass extra integer value to distinguish
operations in such cases.

So now we've already switched from sprintf() to construct unique
operation name to pass RNA path and array index.

There should be no functional changes yet, but this work is
required for further work about replacing string with const
char*.
November 7, 2016, 10:04 (GMT)
Depsgraph: Cleanup, operation has name, not description

Hopefully should make things more clear here.
November 7, 2016, 10:04 (GMT)
Depsgraph: Remove unused function

A residue from times where we thought to do partial graph updates,
which we are not committing any time soon.
November 7, 2016, 10:04 (GMT)
Depsgraph: Use const char for component API
November 7, 2016, 10:04 (GMT)
Depsgraph: Remove some includes which seems unused
November 7, 2016, 10:04 (GMT)
Depsgraph: Use const char instead of string in part of drivers construction
November 7, 2016, 10:04 (GMT)
Depsgraph: Switch away form string to const char* for node names

There is no real reason to have nodes storing heap-allocated name
and description. Doing this increases amount of allocations during
dependency graph building, which usually means somewhat slowness.

We're temporarily loosing some eyecandy in the graphviz visualizer,
but those we can bring back as a part of graphiz dump (which happens
much less often than depsgraph build).

This will happen in multiple commits for the ease of bisect in the
future just in case this causes any regression. This commit contains
ID creation API changes.
November 7, 2016, 10:04 (GMT)
Depsgraph: Remove prototype of unused and non-implemented method
November 7, 2016, 09:59 (GMT)
Expose Bullet rotational spring settings in the UI.

Bullet spring constraint already supports rotational springs, but
they are not exposed in blender UI, likely due to a simple oversight.
Supporting them is as simple as adding a few DNA/RNA properties
with appropriate UI and passing them on to Bullet.

Reviewers: sergof

Reviewed By: sergof

Differential Revision: https://developer.blender.org/D2331
November 7, 2016, 02:19 (GMT)
Cycles: Refactor Device selection to allow individual GPU compute device selection

Previously, it was only possible to choose a single GPU or all of that type (CUDA or OpenCL).
Now, a toggle button is displayed for every device.
These settings are tied to the PCI Bus ID of the devices, so they're consistent across hardware addition and removal (but not when swapping/moving cards).

From the code perspective, the more important change is that now, the compute device properties are stored in the Addon preferences of the Cycles addon, instead of directly in the User Preferences.
This allows for a cleaner implementation, removing the Cycles C API functions that were called by the RNA code to specify the enum items.

Note that this change is neither backwards- nor forwards-compatible, but since it's only a User Preference no existing files are broken.

Reviewers: #cycles, brecht

Reviewed By: #cycles, brecht

Subscribers: brecht, juicyfruit, mib2berlin, Blendify

Differential Revision: https://developer.blender.org/D2338
November 6, 2016, 19:34 (GMT)
Cycles: Fix T49952: Bad MIS sampling of backgrounds with single bright pixels

With this fix, using a MIS map resolution equal to the image size for closest imterpolation or twice the size for linear interpolation gets rid of all fireflies.
Previously, a much higher resolution was needed to get acceptable noise levels.
November 5, 2016, 20:04 (GMT)
MSVC Runtime copy : Remove erroneously left in diagnostic message from CMakeLists.txt
Revision 93dbd81 by Mike Erwin
November 5, 2016, 20:03 (GMT)
Gawain: manage batch API's current shader program + uniform funcs

Typical pattern:
Batch_set_program
Batch_Uniform(s)
Batch_draw
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021