Blender Git Loki

Kaikki Blender Git kommitit.

Page: 5891 / 8462

June 30, 2013, 16:20 (GMT)
Patch [#35897] install_deps: add OpenEXR to ldconfig by Gavin Howard, thanks.
June 30, 2013, 13:35 (GMT)
Fix for
* [#35922] RGB Input Node doesn't work properly

June 30, 2013, 11:56 (GMT)
revert own fix for adding nodes with (DPI != 72), the fix doesn't work for OSX retina displays.
June 30, 2013, 11:07 (GMT)
Fix sample color operator sampling brush colour. Temporarily turn brush
display off while the operator is running.
June 30, 2013, 09:55 (GMT)
Optimizations for image paint undo stack for drag dot/anchored strokes

* Skip copy of undo tile to temorary buffer when restoring. Gives a nice
speedup.
* When we restore the image from undo tiles, make tiles invalid. On undo
push end, invalid tiles get deleted. This solves saving too many tiles
in the case where user could happilly drag the dot all around the image.
June 30, 2013, 08:29 (GMT)
Moving the material level of detail switch to avoid problems with the material panel.
June 29, 2013, 12:13 (GMT)
Refactor:
* Draw pressure is handled in stroke level.
* Anchored brush drawing is correctly handled outside sculpt mode too.
June 29, 2013, 11:42 (GMT)
Merge from trunk, r57616 through r57877.
June 29, 2013, 11:08 (GMT)
Drag dot strokes for image painting.

This was mostly working with undo code.

There is a tradeoff between doing undo traversal for images vs undo
initialiatio time:

The more area the user paints on, the more undo tiles are added to the
system. That makes restoring of the image slower after each step.
A way to optimize this is to completely delete the undo tiles after each
step. This also will make the undo steps use less memory.

However given that for a realistic, non-user-testing use case, the dabs
will be localized, better optimize the initialization case. In
projective texturing, which is the most performance hungry, indeed this
helps with performance, provided the use case is sane. I left the
clearing code ifdefed out just in case.

Also exposed anchored stroke options. They work with texture coordinates
well but not with paint brush size yet.
June 29, 2013, 11:02 (GMT)
Fix more swapped descriptions for mouse X/Y position properties.
June 29, 2013, 10:59 (GMT)
Fix swapped descriptions for window X/Y position properties.
June 29, 2013, 10:52 (GMT)
Fix scons/windows build error, missing pthreads include in blenfont for mutex.
June 29, 2013, 10:09 (GMT)
re-arrange '--help' output into more useful sections (added debug, python).
also minor style cleanup
Revision b70c844 by Gaia Clary (master)
June 29, 2013, 08:41 (GMT)
fixed a compiler warning message in vs 2008
Revision 23d3c64 by Gaia Clary (master)
June 29, 2013, 08:38 (GMT)
fixed Blender crash, but unclear when this situation can happen
June 29, 2013, 07:00 (GMT)
Merged revisions 57538-57869 from trunk/blender
June 28, 2013, 23:58 (GMT)
Merge trunk -r57861 into soc-2013-paint
June 28, 2013, 23:49 (GMT)
Sampling for image painting:

Modify the algorithm so that in 3d viewport, it first attempts to sample
the color from the texture assigned to the picked face, if any. This
solves the issue of getting a darker colour than the one requested,
usually due to viewport shading.
June 28, 2013, 23:38 (GMT)
=== OpenVDB 1.1.1 added ===

Necessary CMakeLists.txt files edited and created, and core OpenVDB files added to extern/openvdb.

Although probably platform-specific, I needed to add macro definitions to externopenvdbinternalopenvdbmathCoord.h and externopenvdbinternalopenvdbioCompression.h for everything to compile on VS2008. Will revisit this at a more appropriate time.

A more detailed description of the process will be available here: http://wiki.blender.org/index.php/User:Jehuty/GSoC_2013/Discussions/Compiling_OpenVDB
June 28, 2013, 21:58 (GMT)
Towards threaded object update

This commit contains changes related on running function
BKE_object_handle_update_ex from multiple threads in order
to increase scene update time when having multiple
independent groups of objects.

Currently this required changes to two areas:

- scene.c, where scene_update_tagged_recursive is now using
threads for updating the object

There're some tricks to prevent threads from being spawned
when it's not needed:

* Threading will only happen if there're more than one CPU
core.

* Threading will happen only if there're more than single
object which needed to be updated.

There's currently one crappy part of the change: which is
freeing object caches (derivedFinal, derivedDeform and so)
from main thread. This is so because in case VBO are used
freeing DM is not thread safe. This is because DrawObject
used global array. Would look into possibility of making
that code safe later.

There're also currently some ifdef-ed debug-only code, which
helps a lot troubleshooting whether everything is working
fine. This code looks a bit ugly now, will either drop it
later or make it more cleat.

And one more thing: threaded update is CURRENTLY DISABLED.
This is because of some thread-unsafe issues discovered
while was working on this patch. Namely:

* I have once a crash in Curve module. Wasn't been able
to reproduce the crash, but could thing about some
unsafe code there.

* Virtual modifier list is not thread-safe (it uses static
variables).

* Armature modifier is also doesn't seem to be thread safe
because of storing some temporary runtime data in actual
armature.

All this issues are to be solved next.

- depsgraph.c, where i've added a function which gives list
of groups, each group contains objects and dependency is
only allowed between objects inside one group.

This is needed to make scheduling of objects easier, which
means update threads will operate on groups, and will handle
objects one-by-one inside group. Different threads will
operate on different groups.

Currently such groups will be generated on every update.
Actually, on every run of scene_update_objects_threaded which
only happens if there're objects marked for update. In the
future we could consider storing such groups in graph itself,
which will help saving CPU power on building such groups.
But this is something to be discussed with Joshua first.

P.S. If you really want to test threaded update, you'll
need to replace:

#undef USE_THREADED_UPDATE

with:

#define USE_THREADED_UPDATE
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021