Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 3398 / 5574

November 15, 2012, 16:34 (GMT)
Windows / Scons OSL:
* Initial support, still commented.
November 15, 2012, 15:59 (GMT)
Image thread safe improvements

This commit makes BKE_image_acquire_ibuf referencing result, which means once
some area requested for image buffer, it'll be guaranteed this buffer wouldn't
be freed by image signal.

To de-reference buffer BKE_image_release_ibuf should now always be used.

To make referencing working correct we can not rely on result of
image_get_ibuf_threadsafe called outside from thread lock. This is so because
we need to guarantee getting image buffer from list of loaded buffers and it's
referencing happens atomic. Without lock here it is possible that between call
of image_get_ibuf_threadsafe and referencing the buffer IMA_SIGNAL_FREE would
be called. Image signal handling too is blocking now to prevent such a
situation.

Threads are locking by spinlock, which are faster than mutexes. There were some
slowdown reports in the past about render slowdown when using OSX on Xeon CPU.
It shouldn't happen with spin locks, but more tests on different hardware would
be really welcome. So far can not see speed regressions on own computers.

This commit also removes BKE_image_get_ibuf, because it was not so intuitive
when get_ibuf and acquire_ibuf should be used.

Thanks to Ton and Brecht for discussion/review :)
November 15, 2012, 15:37 (GMT)
Cycles: ambient occlusion now takes per-BSDF normals into account.
November 15, 2012, 14:08 (GMT)
Fix #33183: cycles bump mapping was not executed with only an AO node in a material.
November 15, 2012, 13:26 (GMT)
Correction to 32bit buildslaves

November 15, 2012, 13:24 (GMT)
code cleanup: move local math functions into math_geom.c, math_vector.c, no functional changes.
November 15, 2012, 13:11 (GMT)
OSL Scons rules

Initial support of OSL builds using SCons build system. Only tested on Linux now.
No changes to configuration files themselves -- for now check how it's configured
for linux buildbot (it was already horror to make all this changes and verify them,
changes to linux-config.py could easily be done later).

Currently WITH_BF_STATICOSL and WITH_BF_STATICLLVM are more like rudiments because
linking against oslexec requires special trick with --whole-archive. We woul either
need to find a way dealing with this oslexec less hackish or drop STATICOSL and
STATICLLVM flags. Will keep dropping this flags for until we have "final" build
rules for OSL.

Still can not make 32bit linux rendering with OSL -- blender simply crashes when
starting rendering. So for time being this issues are solving disabled OSL for
32bit build slaves.

November 15, 2012, 13:10 (GMT)
Z sampling for nodes backdrop
As it turned out, the node space was the only place we have the option to sample the backdrop buffer RGB, but not the zed.
This code is copied from image space.

Now one can use the viewer node and sample the depth while looking at the color buffer (so Map Range Node works even better)
Patch written during BlenderPRO 2012, Brasília ;)
(reviewed by Lukas Toenne)
November 15, 2012, 06:10 (GMT)
fix [#33179] Can't delete centered edge loop if x-mirror is activated
November 15, 2012, 06:02 (GMT)
fix for 3d text input failing for non utf8 input.
November 15, 2012, 02:11 (GMT)
fix for deleting lines hanging the text editor when no markers are used, presence of markers still hangs.

also compiler warnings and some style edits.
November 15, 2012, 02:05 (GMT)
Fix 'polygon eating' problem in bevel (bug #33141)
which was due to almost-parallel lines.
November 14, 2012, 23:20 (GMT)
looks like we need those libs as well to compile with static ffmpeg on fedora (by why in hell librt???)...
November 14, 2012, 23:10 (GMT)
Patch [#31006] Text editor undo buffer rework.
November 14, 2012, 22:45 (GMT)
Fix OSL build error on linux.
November 14, 2012, 22:15 (GMT)
fix range map node clipping when max < min
(useful for flipping the values inside the node)
November 14, 2012, 21:57 (GMT)
Fixes, mostly for RPM (tested on fedora17):
*Better handling of optional libs for ffmpeg, and is now able to check and give user additional link libs for ffmpeg.
*Added two helpers (only used by RPM for now) to:
**check whether a version number is greater or equal than another one, and...
**check whether a version number is "included" into another one (eg 3.3.2 is included into more general 3.3).
*Added date-time as target when building our own boost.
*Removed apt-get upgrade action for DEB (let the user decide when he wants to globally upgrade its system!).
November 14, 2012, 19:53 (GMT)
Map Range Node (tiles)
this node allows for more control for normalization of the mapped input range.

Made during BlenderPRO 2012 - Brasilia, Brazil :)
Idea and testing: Daniel Salazar
Implementation: yours truly
Reviewed by Lukas Toenne and Sergey Sharybin
November 14, 2012, 17:18 (GMT)
Cycles OSL: windows build fixes.

November 14, 2012, 14:47 (GMT)
fix [#33169] Interface destroyed after Text Object Edit
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021