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
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-19fix for string wrap backface culling not working when one of the objects was ↵Campbell Barton
rotated. also skip calculating the dot product if its not needed.
2011-02-13fix for warnings from Sparse static source code checker, mostly BKE/BLI and ↵Campbell Barton
python functions. - use NULL rather then 0 where possible (makes code & function calls more readable IMHO). - set static variables and functions (exposed some unused vars/funcs). - use func(void) rather then func() for definitions.
2011-02-08Change in behavior to shrinkwrap modifier's offset value with negative enabled.Campbell Barton
- negative ray casts would invert the offset direction. this meant if positive and negative were enabled at once and the mesh was slightly inside & outside the object it wrapped, the offset would be applied in opposite directions. This way the offset is always along the vertex normal. - allow negative offset from RNA, could be useful and no benefit to disable.
2011-02-08fix [#25801] Shrinkwrap Offset problems with Project mode.Campbell Barton
The positive result from the previous ray-cast is used again, inadvertently negating the offset from the first hit (acts as if no offset is applied).
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
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-11-05minor c90 compat edits. (no functional changes).Campbell Barton
2010-11-03use c90 compatible static initializers.Campbell Barton
2010-10-31initialize structs to zero rather then using memset().Campbell Barton
2010-09-22Fix for [#21718] Shrinkwrap's "Project" mode with offset gives wrong results.Janne Karhu
* normal offset not taken properly into account * wrong usage of BVHTree (epsilon != radius) caused massive slowdowns in calculations, for example just opening test file took about 30 s on my machine, after fix about 0.5 s :)
2010-08-16- remove unused includes IMB_*, BIF_* & MEM_*Campbell Barton
- remove MEM_guardedalloc.h from header files (include directly)
2010-06-07Fix #22487: Shrinkwrap ignores preceding deform modifiersSergey Sharybin
ShrinkwrapCalcData->vert contains verts from derivedMesh this coordinated are deformed by vertexCos only for normal projection (to get correct normals) for other cases this field contains undeformed dm's coordinates and vertexCos should be used
2010-03-21removed unused includes, except for physics and particle related filesCampbell Barton
2010-02-12correct fsf addressCampbell Barton
2010-01-26weight panel editing now supports mirroringCampbell Barton
- use mirror when the option is enabled in editmode. - fliped group names are used when they exist. - only the setting that is edited will be applied to the mirrored verts group. - copy value is applied to all mirrored verts of the selection. - normalize normalizes all vgroups and mirrors. utility functions defvert_sync and defvert_sync_mapped, similar to defvert_copy but does not remove existing groups and optionally creates groups as needed. defvert_sync_mapped uses a an int array for mapping the flipped values.
2010-01-26rename defgroup functions to be more consistant.Campbell Barton
* no functional changes *
2009-11-10Math LibBrecht Van Lommel
* Convert all code to use new functions. * Branch maintainers may want to skip this commit, and run this conversion script instead, if they use a lot of math functions in new code: http://www.pasteall.org/9052/python
2009-08-30just some comment fixesTom Musgrove
2009-06-092.50:Brecht Van Lommel
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19820:HEAD Notes: * Game and sequencer RNA, and sequencer header are now out of date a bit after changes in trunk. * I didn't know how to port these bugfixes, most likely they are not needed anymore. * Fix "duplicate strip" always increase the user count for ipo. * IPO pinning on sequencer strips was lost during Undo.
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-04-15Merging Shrinkwrap Constraint!Andre Susano Pinto
+bvhtree cache (if the derived model doenst gets destroyed then the same BVHtree can be used) this was needed to allow shrinkwrap constraint to be usable. It has been ready for a long time.. but only got merged now, for 2.49.
2009-04-11as per discussion with ton, the editmesh accessors now liveJoseph Eagar
in blenkernel.
2009-03-30editmesh accessor functions. most editmesh access now goes through:Joseph Eagar
EditMesh *EM_GetEditMesh(Mesh *me); void EM_EndEditMesh(Mesh *me, EditMesh *em); as discussed on the mailling list, this is to facilitate migration to bmesh. next step is to merge this this to the bmesh branch. this was done in the 2.5 branch to prevent too great a divergance. also, made makesdna/makesrna work on cygwin/msvc2008/scons.
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.
2009-01-022.5Ton Roosendaal
From the anti-globalization department: G.obedit terminated! Wherever possible, use CTX_data_edit_object(C) to get this now. It's stored in scene now, and the screen context has it defined.
2008-12-312.5Ton Roosendaal
So, editmode mesh is back! :) At the moment only TABkey works and mouse select, 1 vertex at a time. More will follow of course. Note for the devs: - G.editMesh has been removed, be careful with old code. - EditMesh now is property of Mesh itself Although it means unlimited editmodes, for migration purposes we better stick to 1 "obedit" per scene, which is in Context too - G.obedit will get removed soon, so use CTX_data_edit_object(C) Or if you can't, just scene->obedit for now - Also removed the CTX_data_edit_mesh(), this has no meaning anymore. EditMesh is not context senstitive anymore, only the edit-object for time being is. - Martin: I've already tucked some EditMesh pointer in T and removed all G.editMesh there.
2008-11-04Added Lattice vgroup support to shrinkwrap and simple deform modifier.Andre Susano Pinto
2008-10-22Patch from Timothy BaldridgeNathan Letwory
* add irix6 to GHOST windowing system (same as linux2 et al) * fix faulty return lines in shrinkwrap.c
2008-09-13Particle collisions upgrade:Janne Karhu
- Particle now use the deflector objects collision modifier data to collide with deflectors and as a result can now use the velocity of the colliding object for more realistic collisions. - Dynamic rotations are also quite a bit more realistic and are related to the friction setting of the deflector (to get any dynamic rotations there has to be some friction). This is largely due to the separate handling of rolling friction (approximated to be 1% of normal sliding friction). - Collisions should be a bit faster on complex deflectors due to the tree structure used by the collision modifier. - Collision should also generally be a bit more accurate. To be noted: Only the average velocity of individual deflector faces is used, so collisions with rotating or deforming objects can't be handled accurately - this would require much more complex calculations. Subdividing the deflector object surface to smaller faces can help with this as the individual face velocities become more linear.
2008-08-22Removed cast warnings from shrinkwrap.c and BLI_kdopbvh.cAndre Susano Pinto
Only unused functions and openmp warnings left on those.
2008-08-22Merged shrinkwrap modifier from soc-2008-jaguarandiAndre Susano Pinto
2008-08-14Added subsurface levels option to normal projection.Andre Susano Pinto
Now when doing normal projeciton is possible to ask it to project along the normals that the vertex would have if it was subsurfaced... this gives "better" projections on low polys. Point of this commit is to add the feature request from Eclectiel http://blenderartists.org/forum/showpost.php?p=1181531&postcount=9 workflow as Eclectiel wanted is now possible: to archieve a nice low-res retopology that aproximates a high-res mesh when subsurfaced: 1 - make base low-poly retopo 2 - apply a shrinkwrap with projection along normal.. and with SS level = N (where N>0) 3 - add a Subsurface with level N 4 - run bretch's script (ss_fit)
2008-08-14Fixed problem of "lack of normal information"Andre Susano Pinto
2008-08-13svn merge -r 15988:16077 ↵Andre Susano Pinto
https://svn.blender.org/svnroot/bf-blender/trunk/blender To have the 50% faster nearest_surface point. Changed mesh_faces_nearest_point to return the face normal instead of collision normal
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-13Fixed compile for windowsAndre Susano Pinto
2008-08-13fixed a bug related with "cullfaces" option on shrinkwrapAndre Susano Pinto
enabled openmp during the tree queries (before it was only enabled during tree building)
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-07Added several comments to BLI_kdopbvhAndre Susano Pinto
Changed BENCH to print both wall-clock/real time and cpu time
2008-08-06Fixed non_recursive BVHbuild with openmpAndre Susano Pinto
CHanged the BENCH functions to use: gettimeofday (wall time) instead of clock (cpu time) This was to test if the openmp was working right.
2008-08-04Made shrinkwrap variables be initialized when declaredAndre Susano Pinto
2008-08-03added openmp support for bvhtree build (max processes = tree_type)Andre Susano Pinto
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-22Fixed a bug relative to editmode.. Andre Susano Pinto
now its calling CDDM_calc_normals when receiving a mesh to deform, since in edit mode the mesh doenst has normals calculated
2008-07-21Made shrinkwrap modifier work when target or cutPlane are in editmode.Andre Susano Pinto
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.