May 19, 2016, 12:44 (GMT) |
Dynapaint: parallelize drip effect. Was not so far, because this effect is not modifying its 'own' PaintPoint, which means it's not threadsafe. Since a global lock (mutex or spinlock) would not be much efficient (we need to lock a given point pretty much all the computaion cycle), and since locking a same PaintPOint from different threads at the same time is *very* unlikely, solution here is to use an 'array of locks', one for each PaintPoint (same thing as BLI_bitmap, using atomic ops to set/clear bits). Here in own test (complex dynapaint over a huge sphere combining all dynapaint types), it gives 20% speedup of the whole dynapaint simulation! Note: maybe we'd want to move that kind of bitlock into BLI lib some day - not totally sure how, so let's keep it local for now... |
May 19, 2016, 12:44 (GMT) |
Dynapaint: fix use of normal normalization in dynamicPaint_generateBakeData(). Vertex's normal is always normalized - and its conversion from short to float should not change that! On the other hand, linear interpolation of three normals **does not give a normalized vector** (unless all three inputs are exactly the same). Also, minor optimization, avoid recomputing that interpolated normal twice for each PaintUVPoint. |
May 19, 2016, 11:14 (GMT) |
Cycles: Add support for bindless textures. This adds support for CUDA Texture objects (also known as Bindless textures) for Kepler GPUs (Geforce 6xx and above). This is used for all 2D/3D textures, data still uses arrays as before. User benefits: * No more limits of image textures on Kepler. We had 5 float4 and 145 byte4 slots there before, now we have 1024 float4 and 1024 byte4. This can be extended further if we need to (just change the define). * Single channel textures slots (byte and float) are now supported on Kepler as well (1024 slots for each type). ToDo / Issues: * 3D textures don't work yet, at least don't show up during render. I have no idea whats wrong yet. * Dynamically allocate bindless_mapping array? I hope Fermi still works fine, but that should be tested on a Fermi card before pushing to master. Part of my GSoC 2016. Reviewers: sergey, #cycles, brecht Subscribers: swerner, jtheninja, brecht, sergey Differential Revision: https://developer.blender.org/D1999 |
May 19, 2016, 10:47 (GMT) |
Adress further review comments. |
May 19, 2016, 10:21 (GMT) |
Avoid passing flat_slot to tex_alloc() as well. |
May 19, 2016, 10:10 (GMT) |
Merge remote-tracking branch 'origin/master' into gsoc2016-improved_extrusion |
May 19, 2016, 10:00 (GMT) |
Category: Improved Bezier Curve Extrusion This feature allows the user to have more control over the extrusion of Bezier curves. This is done by making possible unidirectional extrusion. On a code level, the curve.c file in blenkernel was modified to take into account these options while generating the extruded object. The feature stops working with non-zero bevel. |
Revision 1a7fdbf by Benoit Bolsee May 19, 2016, 09:59 (GMT) |
Revert "Decklink test - 2d attempt to fix atomic_ops on buildbot" This reverts commit 93d872e97d09f51e0ccf527411495d1035987061. |
Revision 93d872e by Benoit Bolsee May 19, 2016, 09:59 (GMT) |
Decklink test - 2d attempt to fix atomic_ops on buildbot |
Revision 2465e81 by Benoit Bolsee May 19, 2016, 09:57 (GMT) |
Merge remote-tracking branch 'origin/master' into experimental-build |
May 19, 2016, 09:56 (GMT) |
Merge remote-tracking branch 'origin/master' into decklink |
May 19, 2016, 09:54 (GMT) |
Try to fix atomic_ops on buildbot by moving include to top |
May 19, 2016, 09:52 (GMT) |
Pass texture arguments and return values as dual values. Currently only the value part is actually accessed. Using dual values allows the node graph to handle input/output arguments are single a single llvm::Value instance. |
May 19, 2016, 09:41 (GMT) |
Don't pass flat_slot to tex_free(), handle this inside the device. |
May 19, 2016, 09:11 (GMT) |
Ignore vertex color when doing texture paint It was totally useless to multiply diffuse color with the vertex color when doing texture painting. It was masking actual texture and only was forcing artists to create an empty vertex color layer to work this around. |
Revision fff6e7a by Benoit Bolsee May 19, 2016, 08:40 (GMT) |
Revert "Decklink test build - try atomic_ops fix" This reverts commit e2ee5694063184acd7eac2b881be97361ff091f0. |
Revision e2ee569 by Benoit Bolsee May 19, 2016, 08:39 (GMT) |
Decklink test build - try atomic_ops fix |
May 19, 2016, 02:09 (GMT) |
Adress review comments. |
May 19, 2016, 00:59 (GMT) |
Little tweaks for ifdefs. |
May 19, 2016, 00:42 (GMT) |
Fixes for Fermi. |
|
|
|


Master Commits
MiikaHweb | 2003-2021