Blender Git Commits

Blender Git "master" branch commits.

Page: 1862 / 5574

March 1, 2018, 06:13 (GMT)
DRW: add ability to lock states from changing

Selection code relies on being able to set the depth functions
however passes have their own depth settings.

Add DRW_state_lock to ignore passes settings for particular flags.

This fixes occlusion queries cycling through objects under the cursor.
March 1, 2018, 05:45 (GMT)
Merge branch 'master' into blender2.8
March 1, 2018, 05:43 (GMT)
GPU_select: remove unused finalize function

Changed 2.8x code so this is no longer needed.
March 1, 2018, 05:37 (GMT)
Fix T54190: Occlusion query select failed

By default select wasn't picking the nearest object,
this could have been fixed by not clearing the depth buffer,
but calling GPU_select_(begin/end) without the binded frame-buffer
caused issues for depth-picking. So move GPU_select begin/end to a
callback.

This also has the advantage that only needs to populate the engines once
to draw two passes.

Note that cycling through objects fails with occlusion queries still,
will fix shortly.
March 1, 2018, 02:53 (GMT)
DRW: Initial implementation of Frustum culling.

This is very efficient and add a pretty low overhead (0.1ms of drawing time for 10K objects passing through all tests, on my i3-4100M).
The like the rest of the DRWCallState, test is "cached" until the view matrices changes.
March 1, 2018, 02:53 (GMT)
Clay: Make use of optimized DRW_shgroup_call_object_add.
March 1, 2018, 02:53 (GMT)
DRW: DRWCallState: Fix matflag being overwritten by other engines.
March 1, 2018, 02:53 (GMT)
DRW: Codestyle: Remove DRWCallHeader and DRWCallGenerate
March 1, 2018, 02:53 (GMT)
DRW: Reuse DRWCallState for the same object.

This enables caching the matrices and reducing redraw time of the same object which is particulary important for eevee.
March 1, 2018, 02:53 (GMT)
DRW: Merge calls_generate pool with calls pool & add DRWCallState pool.
March 1, 2018, 02:53 (GMT)
DRW: Fix warnings in Release Build.
March 1, 2018, 00:22 (GMT)
WorkSpace: show/hode opt-out support for addons

In some cases it doesn't make sense for add-ons to be listed for hiding.
Especially for import/export which use minimal UI space.

This adds `bl_info["use_owner"]` to add-ons,
currently defaulting to True for all non Import-Export add-ons.
March 1, 2018, 00:21 (GMT)
Cycles: don't count volume boundaries as transparent bounces.

This is more important now that we will have tigther volume bounds that
we hit multiple times. It also avoids some noise due to RR previously
affecting these surfaces, which shouldn't have been the case and should
eventually be fixed for transparent BSDFs as well.

For non-volume scenes I found no performance impact on NVIDIA or AMD.
For volume scenes the noise decrease and fixed artifacts are worth the
little extra render time, when there is any.
February 28, 2018, 20:34 (GMT)
Merge branch 'master' into blender2.8
February 28, 2018, 20:31 (GMT)
Cycles: change principled BSDF default distribution and SSS.

* Use a subsurface color equal to the base color, and give the subsurface
radius skin like values by default. This is how the parameter should
typically be used.
* Use GGX by default, multiscatter GGX is still quite noisy and has some
fireflies so let's keep it optional for now.
February 28, 2018, 19:11 (GMT)
Cycles: principled absorption color now has more effect at lower values.
February 28, 2018, 16:55 (GMT)
Point cache: Pass EvaluationContext for all the related functions

Now the only missing bit seems to be in Cycles to pass depsgraph to
builtin_image_float_pixels().

Ideally we could get evaluation context instead of using depsgraph + settings.
But for the other rna EvaluationContext functions this is how we are doing.

Reviewers: sergey, brecht

Differential Revision: https://developer.blender.org/D3087
Revision 4a892ad by Gaia Clary
February 28, 2018, 16:29 (GMT)
merge from master (needed to fix collada headerfiles which have been modified in master and in blender2.8 slightly different)
February 28, 2018, 16:13 (GMT)
Fix T52685, part II: Add option to strip numbers from flipped bone names again.

While doing so with Bone_R.001, Bone_R.003, Bone_R.003 etc. is doomed to
issues, doing that on duplicates of actually correctly named bones can
be handy, and safe.

So adding back as an option (was removed in rB702bc5ba26d5).
Revision e73fe77 by Gaia Clary
February 28, 2018, 16:10 (GMT)
collada: EvaluationContext is now feeded into the class instances of AnimationExporter and DocumentExporter on creation. Also skipped the const qualifier for now because BKE_scene_graph_update_for_newframe() needs it to be not const
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021