Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4438 / 8462

April 21, 2016, 07:46 (GMT)
Moved code for modifier evaluation out of DerivedMesh.c.

These files contained a confusing mix of DM code (for manipulating DMs
and various utility functions relating to these types), and the code
for evaluating object modifier stacks. These are two very distinct
areas and putting them in a single huge file doesn't promote code
clarity at all.

This commit only moves code, but does not alter any of it. This is
important for log continuity, so history of specific functions can be
clearly traced back!
April 21, 2016, 02:43 (GMT)
Cleanup: math lib use w/ walk mode
April 20, 2016, 18:51 (GMT)
Mesh Deform Modifier - leave bind settings visible after binding

The 'precision' and 'dynamic' settings for binding are now always visible.
The settings that can not be edited after binding are disabled (not inactive).

I find it useful to see with what settings a mesh was bound, in case
the file is not mine or if I simply lost track of it.
April 20, 2016, 16:17 (GMT)
Cycles: Multi-thread object transform update

Simple idea, use threads when dealing with "Copying Transformations to device"
scene update step. Only do it if there's enough objects in the scene.

Hopefully only brings less synchronization time and doesn't break anything.

From tests on my desktop this brings down transform update time from 58sec to
11sec on victor_cpu.blend scene from out benchmark.
April 20, 2016, 15:11 (GMT)
Actually hook async job of asset updating!
April 20, 2016, 15:08 (GMT)
Add 'ensure_uuids' callback to API, fix some flags in RNA code.
April 20, 2016, 14:45 (GMT)
Merge branch 'master' into temp_depsgraph_split_ubereval
April 20, 2016, 14:44 (GMT)
Make opening .blend file use new async 'check asset updates' operator.

Nothing much exciting really, just not blocking anymore.
April 20, 2016, 14:25 (GMT)
Merge branch 'master' into temp_remove_particles
April 20, 2016, 14:19 (GMT)
Cycles: Stop rendering when bad_alloc happens

This is an attempt to gracefully handle out-of-memory events
and stop rendering with an error message instead of a crash.

It uses bad_alloc exception, and usually i'm not really fond
of exceptions, but for such limited use for errors from which
we can't recover it should be fine.

Ideally we'll need to stop full Cycles Session, so viewport
render and persistent images frees all the memory, but that
we can support later, since it'll mainly related on telling
Blender what to do.

General rules are:

- Use as less exception handles as possible, try to find a
most geenric pace where to handle those.

For example, ccl::Session.

- Threads needs own handling, exception trap from one thread
will not catch exceptions from other threads.

That's why BVH build needs own thing.

Reviewers: brecht, juicyfruit, dingto, lukasstockner97

Differential Revision: https://developer.blender.org/D1898
April 20, 2016, 13:49 (GMT)
Cycles: Throw bad_alloc exception when custom allocators failed to allocate memory

This mimics behavior of default allocators in STL and allows all the routines
to catch out-of-memory exceptions and hopefully recover from that situation/
April 20, 2016, 13:21 (GMT)
Cycles: Use threads to sort reference arrays when searching for split

This commits implements threaded sorting of references when looking for
object spatial split. It mainly useful when doing initial binning, which
happens from main thread.

Gives nice speedup of BVH build for Bunny.blend: 36sec vs. 55sec for
the Rabbit mesh BVH build.

On more complex scenes the speedup is probably minimal, but still nice
to have more instant rendering for simplier scenes.

Some further tests with production scenes would be interesting.

Reviewers: juicyfruit, dingto, lukasstockner97, brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D1928
April 20, 2016, 13:03 (GMT)
Cycles: Avoid reference copy
April 20, 2016, 13:02 (GMT)
Fix T46903: Missing Render Border Menu items

While other borders are more like a toggle, it is an intrinsic behavior
of those operators. Render Border is intrinsicly split into two operators
and trying to expose it as a toggle will end up with rather confusing
situation when shortcut listed in the menu changes depending on the
context.
April 20, 2016, 12:42 (GMT)
Fix T47794: Point density sometime seems stretched when rendered on GPU
April 20, 2016, 11:49 (GMT)
Fix T48162: GPU render gives wrong results in certain volume setups

ideally this part of code should be de-duplicated across __VOLUME_INTERSECT_ALL
and regular code.
April 20, 2016, 10:34 (GMT)
Fix unused function warning.
April 20, 2016, 10:29 (GMT)
Fix T47812: GPU renders have warmer colors than CPU renders

Seems was a mistake in f2c54df, volume attributes are not supposed to
have repeated texture type.
April 20, 2016, 09:59 (GMT)
Removed particle sync code from Cycles.

Note that this only removes the actual dependencies of Cycles on the
particle code in Blender, but not the internal "particle" definition
or the curve type handling inside Cycles. These structures may be in need
of some improvement themselves, but that is out of scope here.
April 20, 2016, 08:36 (GMT)
Update bundled openjpeg from 1.5.0 to 1.5.2

Solves following issues:

- Quite reasonable amount of paranoid warnings were solved by an upstream
- Upstream seems to have all fixes needed for FreeBSD and OSX already
- Brings all fixes and such from upstream
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021