Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2461 / 5574

December 6, 2015, 18:35 (GMT)
OpenGL: use simple shader for texture drawing in a few places.

Differential Revision: https://developer.blender.org/D1645
December 6, 2015, 18:35 (GMT)
OpenGL: isolate fixed function lighting in simple shader code.

Differential Revision: https://developer.blender.org/D1645
December 6, 2015, 18:35 (GMT)
OpenGL: use simple shader for armatures.

Differential Revision: https://developer.blender.org/D1645
December 6, 2015, 18:35 (GMT)
OpenGL: move two sided lighting check into GPU material code.

Differential Revision: https://developer.blender.org/D1645
December 6, 2015, 18:35 (GMT)
OpenGL: pass flag to indicate of drawMappedFaces needs to use normals.

Differential Revision: https://developer.blender.org/D1645
December 6, 2015, 17:59 (GMT)
Switch Ocean modifier's geometry generation from OMP to BLI_task.

Compared to previous revision, this gives 20% speedup on the whole modifier evaluation!

Wondering a bit how improvement can be so impressive here, would have expected very
small increases given how simple is the code here... Maybe it's the fact we get rid
of many additional OMP threads (tests are done with ten Ocean mod evaluated in parallel)?
December 6, 2015, 16:52 (GMT)
Fix T46929: error exporting Key configuration.
December 6, 2015, 16:37 (GMT)
Switch from OMP to BLI_task in BKE's part of Ocean simulation.

Not much to say, gives about 8% to 9% speedup in ocean simulation.
December 6, 2015, 11:04 (GMT)
install_deps.sh: Fix typos in scons instructions.

Luckily we'll soon get rid of that insane dual build system maintenance...

Anyway, thanks to Leo Koppel (lack) for the report and patch.
December 6, 2015, 10:35 (GMT)
PyAPI: add optional filter argument to KDTree.find
December 6, 2015, 10:29 (GMT)
BKI_kdtree: add a find that takes filter callback

Useful when we need to selectively ignore nodes.
December 6, 2015, 05:19 (GMT)
Cleanup: formatting (PyArg_ParseTuple)
December 6, 2015, 04:57 (GMT)
Cleanup: kdtree, redundant root node handling

For range checks we can put the root not in the stack.
December 6, 2015, 00:22 (GMT)
Fix generate UV's adding extra layers

Adding a new meshes when there were no faces would always add a new uv-layer.
December 5, 2015, 20:21 (GMT)
Cycles: Implement extrapolation for RGB curves

Previously RGB Curves node will clamp input to 0..1 which is rather useless
when one wants to use HDR image textures and do bit of correction on them.

Now kernel code supports extrapolation of baked LUT based on first/last two
table points and performs linear extrapolation.

The only tricky part is to guess the range to bake the LUT for. Currently
it's using simple approach -- minmax of the input curves. While this behaves
ok for the simple cases it's easy to trick the system up causing incorrect
results.

Not sure we can solve those issues in a general case and since the new code
is giving more expected results it's not that bad actually. In the worst
case artist migh always create explicit point to make sure LUT is created
for the needed HDR range.

Reviewers: brecht, juicyfruit

Subscribers: sebastian_k

Differential Revision: https://developer.blender.org/D1658
December 4, 2015, 23:48 (GMT)
Fix (unreported) Newly added grid's vertices not being selected.

`bmo_create_grid_exec` was not tagging created vertices with `MARK_VERT`, which seems
mandatory to get them selected? This sounds a bit hacky/odd to me, but that's what
all other primitive funcs do...
December 4, 2015, 23:17 (GMT)
Fix OSL shaders building with some versions of that lib.

This must have happened months ago, but as I did not `make clean` any build folder since then,
so only noted that today.

Issue is same as dirty patch we have to apply to ODL sources before building it in install_deps.sh - for
some mysterious reason, it has become impossible to compoile .osl files into .oso ones without
giving explicit output file name (otherwise it just produces `.oso` file - utterly stupid and useless).

We could probably fix that in own OSL source, but think being explicit here does not hurt anyway, so...
Let's go the easy way.
December 4, 2015, 22:49 (GMT)
Fix T37879: Default UV generation for mesh primitives.

Adds default-generated UVs to mesh primitives (cone, cylinder, icosphere, uvsphere, cube, circle, grid)
when they are added to the scene, since some of them can be pretty awkward to unwrap manually.

Original patch: Liam Mitchell (CommanderCorianderSalamander).
Main review work: Campbell Barton (campbellbarton).
Finalization, fixes and cleanup: Bastien Montagne (mont29).

Reviewers: mont29, #mesh_modeling, campbellbarton

Reviewed By: mont29, campbellbarton

Subscribers: lkruel, campbellbarton, michaelknubben, kevindietrich

Maniphest Tasks: T37879

Differential Revision: https://developer.blender.org/D481
December 4, 2015, 16:24 (GMT)
Fix (unreported) bad LI_ID usercount when linking a new lib.

Library datablocks shall have a zero user count in Blender currently...
Revision 50f17db by Lukas Toenne
December 4, 2015, 16:14 (GMT)
Fix for too small array of function pointers in node RNA registration.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021