Blender Git Commits

Blender Git "master" branch commits.

Page: 2211 / 5574

February 13, 2017, 23:35 (GMT)
OpenGL immediate mode: drawarmature.c (cont)

All (except for stick and wire) are now rendered using batch or immediate API.
Using simple front facing lighting for now, waiting for gpu_basic_shader.c to be recoded.
February 13, 2017, 23:35 (GMT)
OpenGL immediate mode: fix inverted normal in sphere batch
February 13, 2017, 23:35 (GMT)
OpenGL immediate mode: added gpuRotate3f to GPU_matrix
February 13, 2017, 23:35 (GMT)
OpenGL immediate mode: Replacement for gluCylinder
February 13, 2017, 17:24 (GMT)
Cycles: Optimize sorting of transparent intersections on CUDA
February 13, 2017, 17:22 (GMT)
Cycles: Fix wrong transparent shadows with CUDA

Was a bug in recent optimization commit.
February 13, 2017, 17:10 (GMT)
Immediate Mode: timeline cached frames

This involved some refactoring. The original code was relying on a cache of pre-allocated arrays which in turn were still re-populated every redraw loop.

We now ditch those arrays, and make the draw "on the fly".

Part of T49043

@merwin can you just check if you foresee any performance impact with this approach?
February 13, 2017, 15:32 (GMT)
Cycles: Fix wrong shading on GPU when background has NaN pixels and MIS enabled

Quite simple fix for now which only deals with this case. Maybe we want to do
some "clipping" on image load time so regular textures wouldn't give NaN as
well.
February 13, 2017, 15:25 (GMT)
Cycles: Use fast math without finite optimization

This allows us to use faster math and still have reliable
isnan/isfinite tests.

Only do it for host side, kernels stays unchanged.

Thanks Lukas Stockner for the tip!
February 13, 2017, 11:41 (GMT)
Immediate Mode: curve draw stroke

How to test this drawing: create and edit a curve and press shift + drag your mouse (or tablet). The Curve needs a Bevel Depth > 0.0.

Note: The ideal solution would be to use a different shader, that takes
no lighting. However according to Cl�ment Foucault there is an assert preventing the same batch to
me used with different attributes (or something like that). Il wait
until the end of such resolution before revisiting this. That said, it
is working fine.

Part of T49043

Differential Revision: https://developer.blender.org/D2501
February 13, 2017, 11:00 (GMT)
Fix T50655: Pointiness is too slow to calculate

Optimize vertex de-duplication the same way as we do doe Remove Doubles.
February 13, 2017, 10:16 (GMT)
Outliner: allow for renaming of collection and small touch ups in the
code

Note: Master Collection should not be renamable, but also, it should be marked as MasterCollection (with an icon probably)
February 13, 2017, 09:40 (GMT)
Cycles: Use Cycles-side mesh instead of C++ RNA

Those are now matching and it's faster to skip C++ RNA to
calculate pointiness.
February 13, 2017, 09:02 (GMT)
F-Curve normalization: Do proper curve min/max instead of handle min/max

Would be cool to find some way to cache the results.
February 12, 2017, 23:25 (GMT)
Layers: Per-Collection edit mode parsing

Note: we are now merging all the collection engines (mode and render), which eventually may get slow. But as stated before, this is to expose the functionality, while waiting for proper depsgraph integrated solution.
February 12, 2017, 19:47 (GMT)
Layers: Per-Collection edit mode settings

I didn't manage to get the proper object context in the collection
properties editor. That said I got it working for now in a temporary way
since this will change once we get workspaces anyways

(see changes in buttons_context.c and
rna_scene.c::rna_LayerCollection_mode_settings_get)

I still need to handle the merging of the settings. I will find a
provisory solution while we wait for depsgraph.

(also layer_collection_create_mode_settings_object and layer_collection_create_mode_settings_edit could probably be elsewhere - under draw/engines likely)
Revision b104057 by Mike Erwin
February 12, 2017, 06:56 (GMT)
OpenGL: enable program point size for keyframes

Allows vertex shader to determine how large to rasterize each point sprite. Forgot to do this before.
Revision 09bfc37 by Mike Erwin
February 12, 2017, 06:30 (GMT)
OpenGL: convert NLA editor to new imm mode

Plus plenty of C99 cleanup.

Part of T49043. Needs more testing, I don't really use the NLA editor.
February 11, 2017, 21:24 (GMT)
Cycles: Don't use built-in API for image sequences in preview mode

Our Python API is not ready for such things at all. Better be slower
but more correct for until we improve our API.
February 11, 2017, 21:19 (GMT)
Image: Fix non-deterministic behavior of image sequence loading

The issue was caused by usage of non-initialized image user, which
could have different settings, causing some random image being loaded
or not loaded at all.

This caused non-deterministic behavior of Cycles image loading because
it was querying image information from several places.

This fixes crash reported in T50616, but it's not a complete fix
because preview rendering in material is wrong (same wrong as in
2.78a release).
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021