Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-28Cleanup: redundant struct declarationsCampbell Barton
2015-03-21Cleanup: constify scene/modifiersCampbell Barton
2014-01-30Fix T38403: Laplacian smooth on instanced objects leads to crash.Lukas Tönne
The laplacian modifiers (smooth and deform) use the OpenNL library, which is not threadsafe due to the use of a global context variable. Ideally this would be changed so that an explicit context can be created for every caller of the OpenNL functions, but since OpenNL's most recent version is from 2010 this is unlikely to happen. As a workaround for now just use a mutex to prevent conflicting OpenNL calls. Eventually OpenNL can be replaced by eigen or ceres.
2013-12-26Threaded object update and EvaluationContextSergey Sharybin
Summary: Made objects update happening from multiple threads. It is a task-based scheduling system which uses current dependency graph for spawning new tasks. This means threading happens on object level, but the system is flexible enough for higher granularity. Technical details: - Uses task scheduler which was recently committed to trunk (that one which Brecht ported from Cycles). - Added two utility functions to dependency graph: * DAG_threaded_update_begin, which is called to initialize threaded objects update. It will also schedule root DAG node to the queue, hence starting evaluation process. Initialization will calculate how much parents are to be evaluation before current DAG node can be scheduled. This value is used by task threads for faster detecting which nodes might be scheduled. * DAG_threaded_update_handle_node_updated which is called from task thread function when node was fully handled. This function decreases num_pending_parents of node children and schedules children with zero valency. As it might have become clear, task thread receives DAG nodes and decides which callback to call for it. Currently only BKE_object_handle_update is called for object nodes. In the future it'll call node->callback() from Ali's new DAG. - This required adding some workarounds to the render pipeline. Mainly to stop using get_object_dm() from modifiers' apply callback. Such a call was only a workaround for dependency graph glitch when rendering scene with, say, boolean modifiers before displaying this scene. Such change moves workaround from one place to another, so overall hackentropy remains the same. - Added paradigm of EvaluaitonContext. Currently it's more like just a more reliable replacement for G.is_rendering which fails in some circumstances. Future idea of this context is to also store all the local data needed for objects evaluation such as local time, Copy-on-Write data and so. There're two types of EvaluationContext: * Context used for viewport updated and owned by Main. In the future this context might be easily moved to Window or Screen to allo per-window/per-screen local time. * Context used by render engines to evaluate objects for render purposes. Render engine is an owner of this context. This context is passed to all object update routines. Reviewers: brecht, campbellbarton Reviewed By: brecht CC: lukastoenne Differential Revision: https://developer.blender.org/D94
2013-10-20Code cleanup: de-duplicate implementation of get_texture_valueSergey Sharybin
Expect to be no functional changes :)
2013-07-16fix own regression [#36154] Simple deform modifier doesn't recalculate normalsCampbell Barton
get_cddm and get_dm are called within modifiers so they wont ensure normals are valid, added an arg to optionally ensure valid normals.
2013-07-15Fix #36058: Displace Modifier errors using a baked Image and displace baking ↵Sergey Sharybin
inconsistency between 2.67/2.68RC and previous versions This was in fact really nasty bug, caused by multitex_nodes function using global variable R (which is a copy of current renderer). this variable is not initialized to anything meaningful for until first rendering (preview or final) happened. Since multitex_nodes might be used outside of render pipeline, made it so whether CM is on or off as an argument to functions multitex_ext_safe and multitex_ext. Now multitex_nodes() is only shall be used for stuff happening from render pipeline! Also needed to make some changes to other places, so all the usages of texture sampling knows for the fact whether CM is on or off. And one more change is related on behavior of dispalcement, wave, warp, weightvg modifiers and smoke. They'll be always using CM off since texture is used for influence, not for color. It's rather bigger patch, but it's mostly straightforward changes, which we really need to be done. Reviewed by Brecht, thanks!
2012-10-22add vertex group option to decimate modifier, handy if you want to pin some ↵Campbell Barton
parts of the geometry.
2012-04-10Fix #30882: using an image sequence in the displace modifier did not updateBrecht Van Lommel
properly in animation rendering.
2012-02-27Code Cleanup:Campbell Barton
* made bmesh_structure.h function names more consistant. * remove unused code in bmesh_structure.c * removed 'Edge Flip' operator (missing from bmesh but looked into trunk feature and dont think its worth keeping). * tagged some BMESH_TODO's
2012-02-18svn merge ^/trunk/blender -r44189:44204Campbell Barton
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2011-11-29svn merge ^/trunk/blender -r42245:42261Campbell Barton
2011-11-29remove header text:Campbell Barton
"The Blender Foundation also sells licenses for use in proprietary software under the Blender Licens" also remove NaN references from files that have been added since blender went opensource.
2011-11-11svn merge -r41722:41723 ^/trunk/blenderCampbell Barton
2011-10-28Merge with trunk r41342Miika Hamalainen
2011-10-24svn merge ^/trunk/blender -r41226:41227 .Campbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-14Dynamic Paint:Miika Hamalainen
* Fix: Wave "timescale" also changed simulation behavior. Now different timescale values will lead to nearly identical results, just slower or faster. * Added "Displace Factor" setting for vertex displace surfaces. You can use it to adjust final displace strength or use negative values to paint bumps. * Added clamp/map value to wave image sequence output settings. * RNA description tweaking. * General code tweaking.
2011-07-26svn merge -r38400:38500 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
2011-07-26svn merge -r38200:38300 ↵Campbell Barton
https://svn.blender.org/svnroot/bf-blender/trunk/blender, source/blender/gpu/intern/gpu_buffers.c updated from trunk and re-made edits to use getTessFace* functions.
2011-07-18Missing struct keyword in function declaration causes compiler error with ↵Lukas Toenne
cmake/gcc.
2011-07-11Fix #27930: many modifiers crashed when used on a lattice with a vertex group.Brecht Van Lommel
2011-05-09=bmesh= merge from trunk at r36529Joseph Eagar
2011-05-01warp modifier, added in the render branch for durian.Campbell Barton
simple modifier, almost like a hook, except it can deform with 2 object source -> target, has option to preserve rotation and use different falloff types.
2011-02-25doxygendoxygen: blender/modifiers tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-13many functions in blender are not marked static but should be.Campbell Barton
most local modifier,GPU,ImBuf and Interface functions are now static. also fixed an error were the fluid modifier definition and the header didnt have the same number of args.
2010-12-04Maintenance, Campbell Barton
- remove some redundant declarations - changed VertexTangent and Path structs to avoid compiler alignment padding.
2010-10-14add UNUSED() to modifiers, also removed some unused args.Campbell Barton
2010-08-11Update address in license block.Guillermo S. Romero
2010-04-25re-arrange modifier and blenkernel to overcome some linking problems that ↵Campbell Barton
stopped modifiers being able to build when using some blender-kernel defined stuff
2010-04-12SVN maintenance.Guillermo S. Romero
2010-04-12[#14437] Modifier Stack RefactorCampbell Barton
patch by Ben Batt (artificer) Updated patch for 6 or so modifiers added since the patch was written. - tested with CMake and SCons - fixed one error were flags were being added to the fluids type. - remove BKE_simple_deform.h, simple_deform.c, move functions into MOD_simpledeform.c since there were problems with circular deps. - moved some fluid and boolean functions used by modifiers too.