Blender Git Commits

Blender Git "master" branch commits.

Page: 2190 / 5574

Revision 8d98362 by Luca Rood
March 9, 2017, 04:00 (GMT)
OpenGL immediate mode: graph_draw.c

This also fixes a little bug, which caused `draw_fcurve_samples` to
never be called, and thus sampled curve range boundaries were not drawn.

Part of T49043
March 9, 2017, 02:21 (GMT)
OpenGL: drawobject.c (cont)
March 9, 2017, 00:30 (GMT)
Edit Mesh overlay: Ported Display Normals option
March 9, 2017, 00:30 (GMT)
Edit Mesh overlay: remove sizeNormal from ubo.
March 9, 2017, 00:30 (GMT)
Draw Manager: structural change

All engines are now called by the draw manager. Engines are separate entities that cannot interfer with each others.
Also separated draw_mode_pass.c into the mode engines.
March 8, 2017, 22:35 (GMT)
Layers: move LayerCollection

This is to be used from the Outliner, when dragging and dropping
collections from the Active Render Layer

It also includes a cleanup on the outliner so it calls the new
functions. Note: the outliner still needs fix to allow all the
functionality here exposed.

But this will be tackled by Julian Eisel later.
March 8, 2017, 22:35 (GMT)
Layers: move SceneCollection

This is to be used from the Outliner, when dragging and dropping.
It does not include moving LayerCollection (from Active Render Layer)
March 8, 2017, 22:35 (GMT)
New util function: BLI_listbases_swaplinks
March 8, 2017, 22:25 (GMT)
3D View: use cache for armature select
Revision c837bd5 by Mai Lavelle
March 8, 2017, 21:44 (GMT)
Cycles: Fix CUDA build error for some compilers

Needed to include `util_types.h` before using `uint`.
March 8, 2017, 19:22 (GMT)
3D View: new nethod of opengl selection

Intended to replace legacy GL_SELECT, without the limitations of
sample queries which can't access depth information.

This commit adds VIEW3D_SELECT_PICK_NEAREST and VIEW3D_SELECT_PICK_ALL
which access the depth buffers to detect whats under the pointer,
so initial selection is always the closest item.

The performance of this method depends a lot on the OpenGL
implementations glReadPixels.

Since reading depth can be slow, buffers are cached for object picking
so selecting re-uses depth data, performing 1 draw instead of 3
(for 24, 18, 10 px regions, picking with many items under the pointer).

Occlusion queries draw twice when picking nearest,
so worst case 6x draw calls per selection.

Even with these improvements occlusion queries is faster on AMD hardware.

Depth selection is disabled by default, toggle option under select method.
May enable by default if this works well on different hardware.

Reviewed as D2543
March 8, 2017, 14:56 (GMT)
Fix T50849: Transparent background produces artifacts in this compositing setup

The issue was caused by sometimes negative color returned by the filter node.

Seems to be caused by precision issues. Don't see any reason why we would want
negative colors in output. Those only causing issues later on.
March 8, 2017, 13:59 (GMT)
OpenGl: Converted more of drawobject.c
March 8, 2017, 12:57 (GMT)
Cycles: Make it more obvious message which initialization failed
March 8, 2017, 12:38 (GMT)
Fix T49603: Blender/Cycles 2.78 CUDA error on Jetson-TX1~

Patch by Bruno d'Arcangeli (@arcangeli), thanks!
March 8, 2017, 12:23 (GMT)
OpenGL Select: integer rect for passing region
March 8, 2017, 12:23 (GMT)
Cleanup: replace short -> int for selection hits
March 8, 2017, 12:23 (GMT)
Rename BLI_rct*_init_pt_size -> radius
March 8, 2017, 11:45 (GMT)
Cycles: Use 1-based line number for #line directives

AMD CPU platform was complaining about #line 0 directives in the code.
March 8, 2017, 11:33 (GMT)
Cycles: Log which device kernels are being loaded for
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021