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
2018-05-04Constraint: Shrink Warp: Replace `bvhtree_from_mesh_looptri` with` ↵Germano
bvhtree_from_mesh_get`. The value of epsilon was never used to create this bvhtree because whenever we activate this constraint, a bvhtree with parameter epsilon 0.0 was created and cached.
2016-03-07Shrink Wrap modifier: invert vgroup optionCampbell Barton
D1839 from @Orgold
2015-03-28Cleanup: redundant struct declarationsCampbell Barton
2014-08-01Cleanup: Move SpaceTransform helpers from `BKE_shrinkwrap` to `BLI_math_matrix`.Bastien Montagne
2014-08-01Cleanup: Move `object_get_derived_final` from BKE_shrinkwrap to BKE_DerivedMeshBastien Montagne
Note this func needs some love, but this will be for later (should never have been in shrinkwrap code!).
2014-03-20Code cleanup: use boolsCampbell Barton
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-09-07shrink-wrap constraint, improve and remove some limitations.Campbell Barton
- ability to change the space the axis is projected in (so you can choose worldspace or -space, was always local-space before). - support projecting on a negative axis, without this some very simple clamping is not possible if the direction happened not to be positive. - add distance limit (same as modifier), without this single meshes surrounding an object would make the constraint impossible to use in some cases (it would snap to the wrong side). note: this removes the ability to project on multiple axes at once but this option only added up directions and didnt project on multiple axes as you might expect.
2012-12-23style cleanup: wrap long lines (>200)Campbell Barton
2012-09-06code cleanup: capitalize defines.Campbell Barton
2012-06-13code cleanup: use const float's where possible and specify vector size.Campbell Barton
2012-05-13code cleanup: header cleanup and remove some duplicate defines.Campbell Barton
2012-03-18spelling cleanupCampbell Barton
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-10fix bad svn ID tagsCampbell Barton
2011-10-10header cleanup (no functional changes)Campbell Barton
2011-04-29spelling corrections.Campbell Barton
2011-02-18doxygen: blenkernel under core as module.Nathan Letwory
2010-12-17Fix #25272: shrinkwrap with dependency cycle could lead to eternalBrecht Van Lommel
loop and increasing memory usage. Modifiers should never call mesh_get_derived_final or similar, only use ob->derivedFinal if it exists, if the dependencies are set correct and there are no cycles, it will be there.
2010-04-12- use more inline math funcitons where possibleCampbell Barton
- swapped in less verbose math functons - modifier include cleanup
2010-02-12correct fsf addressCampbell Barton
2009-08-30just some comment fixesTom Musgrove
2009-04-202.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender ↵Brecht Van Lommel
-r19323:HEAD Notes: * blenderbuttons and ICON_SNAP_PEEL_OBJECT were not merged.
2009-01-042.5Ton Roosendaal
Think global, act local! The old favorite G.scene gone! Man... that took almost 2 days. Also removed G.curscreen and G.edbo. Not everything could get solved; here's some notes. - modifiers now store current scene in ModifierData. This is not meant for permanent, but it can probably stick there until we cleaned the anim system and depsgraph to cope better with timing issues. - Game engine G.scene should become an argument for staring it. Didn't solve this yet. - Texture nodes should get scene cfra, but the current implementation is too tightly wrapped to do it easily.
2008-11-04Simple warning fixesAndre Susano Pinto
2008-11-04Added Lattice vgroup support to shrinkwrap and simple deform modifier.Andre Susano Pinto
2008-08-13Fixed a typoAndre Susano Pinto
I was using the word "kept" (past tense) instead of "keep" (basic form). I hope my english teachter dont sees this commit xD
2008-08-13*Added documentation mainly at shrinkwrap.cAndre Susano Pinto
*removed commented code about the dropped shrinkwrap options *Removed references to "cut plane", "limitMesh".. its now called "auxiliar target" *Added option to shrinkwrap over an selected axis *"Normal projection" mode is now called "projection" since it can now project over "normal, and any combination X, Y, Z"
2008-08-07Moved bvhtree_from_mesh api to its own filesAndre Susano Pinto
BKE_bvhutils.h and intern/bvhutils.c
2008-08-04Made shrinkwrap variables be initialized when declaredAndre Susano Pinto
2008-08-02svn merge -r 15688:15908 ↵Andre Susano Pinto
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2008-07-25Converted shrinkwrap to a DeformOnly modifierAndre Susano Pinto
*the options "remove faces", "merge" points were removed *made shrinkwrap work with CVs (curves and nurbs surfaces) *cleanup shrinkwrap code.. (removed bruteforces and raytree methods)
2008-07-22*BVHTreeFromMesh api changed.. it now stores all information like defaults ↵Andre Susano Pinto
callbacks to raycast and nearest surface (just to make it easier to use) *Fixed button size of "Above surface"
2008-07-19Following the same optimization as bvh raycast:Andre Susano Pinto
*Made nearest surface also use "quad" bvh tree (instead of splitting quads in 2 bvh nodes). Again that leaded to improvements in build and query time. *BLI_bvhtree_find_nearest api is now following the same concept as BLI_bvhtree_ray_cast removed code relative to bvhtree_from_mesh_tris.
2008-07-19*Added "kept" mesh above surface option on shrinkwrap to nearest surfaceAndre Susano Pinto
changed a few code relative to project over normal mode (to try to kept code generic and more independent of modifier itself)
2008-06-21Added cut-plane option.Andre Susano Pinto
Its now possible to project 2 planes over a model and get a cloth.. Tought it still has a few issues.. related with distance to kept from mesh.
2008-06-17Added merge option to shrinkwrap when using projection mode (bruteforce for now)Andre Susano Pinto
Changed code to remove faces (now quad faces that got one vertice projected are turned on tri) Merge option is still not very usefull since shrinkwrap does not yet moves unprojected vertices
2008-05-07Normal projection:Andre Susano Pinto
+added option to remove faces where all vertices got unprojected Nearest surface point +15% faster closest point on point-tri function (archived by projecting the point on tri-plane and solving the problem on 2D) (its still using bruteforce on triangles.. I'll add the right data structure later)
2008-05-03Added control over distance to kept form target meshAndre Susano Pinto
Quad bug was fixed by splitting the quads that are feed to RayTree
2008-04-30Changed a bit of code structure to make method optimization easierAndre Susano Pinto
2008-04-25Shrinkwrap skeleton codeAndre Susano Pinto
+vertex weights supported +target object now saves to file: load/save works :) for now simple moves objects vertexs to the nearest vertexs on target object (so that I can test if its working correctly with the modifier API)