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-09-28Commented and tagged some unused vars, added some var init (gcc warnings...)Bastien Montagne
2011-09-28whitespace edits, make formatting for functions consustent at least within ↵Campbell Barton
the file.
2011-09-16Fix #28663: All "unit" properties show a value of 0 (on WinXP&MinGW&scons)Sergey Sharybin
Initially problem was caused by updated version of mingw-runtime which changed behavior of snprintf and vsnprintf so %lf isn't anymore valid for doubles. According to manpages, %f is a correct format for snprintf for doubles.
2011-09-12replace VECCOPY -> copy_v3_v3, added copy_v*_v*_short too for typesafe ↵Campbell Barton
copying, some parts of the code are copying float -> short normals without scaling. fix coming next.
2011-09-01spaces -> tabs (configure you're editors right!)Campbell Barton
2011-08-31typo fix: end of lines ;; --> ;Campbell Barton
2011-05-02build system changes to eltopo, re-applied.Campbell Barton
2011-05-02=trunk=Joseph Eagar
Recommitted eltopo collision code (but disabled by default) with Genscher's permission. To use, you need to install liblapack and libblas
2011-04-21converted more mixed tab/space indentations to tabs. only whitespace changes.Campbell Barton
2011-04-12revert Joseph Eagar's eltopo commits r36073, 36075 (& some minor edits)Campbell Barton
discussed with Janne, Ton, Nathan and we agreed this kind of change at least needs discussion with module owners. Its also too close to release to be making these kinds of changes. commands used: # reverse merge svn merge -r36073:36072 . # for some reason this gave a lot of property changes svn revert `svn st | grep "^ M" | awk '{print $2}'` # reverse merging didn't work here, removing while dir. svn rm extern/eltopo/ # manually fixed conflict in # ./source/blenderplayer/CMakeLists.txt # # also manually removed 2 lines from # ./CMakeLists.txt
2011-04-10=cloth collisions=Joseph Eagar
Plugged the eltopo library into the cloth solver. I was playing with it earlier, and it's so easy to use I decided to quickly put it in (trunk's) cloth. See http://www.cs.ubc.ca/labs/imager/tr/2009/eltopo/eltopo.html . The authors are on the bleeding edge of continuous collision detection (one of them did ILM's cloth sim). I don't really have to time to plug it into softbody, particles, bullet, fluid, etc, but doing so would be pretty straightforward. I'll leave that up to someone else. To use, turn on USE_ELTOPO (in cmake) or WITH_BF_ELTOPO in scons.
2011-02-27doxygen: blender/blenkernel tagged.Nathan Letwory
2011-02-23Clean up headers a bit more.Guillermo S. Romero
2011-02-14made most variables which are only used in a single file and not defined in ↵Campbell Barton
header static for blenlib, blenkernel and editors.
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-01-13remove/comment unused varsCampbell Barton
also removed unnecessary NULL checks (where the pointer was used later without checking).
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-17no functional changes: SETLOOPER macro assumed a scene was defined called ↵Campbell Barton
'sce' used to loop over, now make this an argument, helps to make it clear what's going on.
2010-10-22fix warningsCampbell Barton
2010-10-21/WX enabled for MSVC in CMake too.Nathan Letwory
Warning fixes.
2010-10-16most unused arg warnings corrected.Campbell Barton
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating). - mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-08-15use more BLI math functions.Campbell Barton
2010-08-10header re-shuffle, some headers contained unneeded refereces to other ↵Campbell Barton
headers, better include inline with the C files that need them
2010-07-20- correct some spelling errors.Campbell Barton
- remove FreeCamera struct (wasnt used) - remove world color alpha values (not used anywhre).
2010-06-18Changes to scene updating with set scenes.Campbell Barton
The most useful effect of this is that set scenes can take the simplify settings from the current scene (render team doesnt have to worry about animators simplify settings). details... - updating on frame change now passes the parent scene to object update function. (this was alredy happening for updating tagged objects) - set scenes objects update first so scenes can depend on set objects however this only happened at once level, now set scenes are updated recursively, so deepest level is updated first. - collision objects used to only look through the current scene, now set objects are included.
2010-05-25Merge back a few cloth solver fixes from the render branch:Brecht Van Lommel
* Disable openmp for dot product, this gives different results each time due to non-commutative floating point add. * Disable openmp with few vertices, the extra thread overhead only slows things down then. * Replace the hack that would divide stepsPerFrame and then set it back, now it simply uses the timescale in the collision function. This was incorrect because stepsPerFrame is an int, but we don't want this to be rounded. * Extra out of bounds check for hair velocity smoothing grid.
2010-03-27Fix #21700: particles do not collide with linked objects.Brecht Van Lommel
2010-03-26Cloth simulation can now use a group to specify which objectsBrecht Van Lommel
to collide with, in addition to the effectors group. (commit 27746 by Brecht from render25 branch)
2010-02-24hair was running collision functions (copy to/from collision arrays), even ↵Campbell Barton
when collision could not be done.
2010-02-12correct fsf addressCampbell Barton
2010-02-08Warning fixes, one actual bug found in sequencer sound wave drawing. AlsoBrecht Van Lommel
changed some malloc to MEM_mallocN while trying to track down a memory leak.
2009-11-11* Fixing various compiler warnings under scons+mingw. Mostly unused ↵Joshua Leung
variables and functions. * Added missing lib-linking code for Grease Pencil in nodetrees * Uncommented some code for curve shapekeys
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-10-01Unified effector functionality for particles, cloth and softbodyJanne Karhu
* Unified scene wide gravity (currently in scene buttons) instead of each simulation having it's own gravity. * Weight parameters for all effectors and an effector group setting. * Every effector can use noise. * Most effectors have "shapes" point, plane, surface, every point. - "Point" is most like the old effectors and uses the effector location as the effector point. - "Plane" uses the closest point on effectors local xy-plane as the effector point. - "Surface" uses the closest point on an effector object's surface as the effector point. - "Every Point" uses every point in a mesh effector object as an effector point. - The falloff is calculated from this point, so for example with "surface" shape and "use only negative z axis" it's possible to apply force only "inside" the effector object. * Spherical effector is now renamed as "force" as it's no longer just spherical. * New effector parameter "flow", which makes the effector act as surrounding air velocity, so the resulting force is proportional to the velocity difference of the point and "air velocity". For example a wind field with flow=1.0 results in proper non-accelerating wind. * New effector fields "turbulence", which creates nice random flow paths, and "drag", which slows the points down. * Much improved vortex field. * Effectors can now effect particle rotation as well as location. * Use full, or only positive/negative z-axis to apply force (note. the z-axis is the surface normal in the case of effector shape "surface") * New "force field" submenu in add menu, which adds an empty with the chosen effector (curve object for corve guides). * Other dynamics should be quite easy to add to the effector system too if wanted. * "Unified" doesn't mean that force fields give the exact same results for particles, softbody & cloth, since their final effect depends on many external factors, like for example the surface area of the effected faces. Code changes * Subversion bump for correct handling of global gravity. * Separate ui py file for common dynamics stuff. * Particle settings updating is flushed with it's id through DAG_id_flush_update(..). Known issues * Curve guides don't yet have all ui buttons in place, but they should work none the less. * Hair dynamics don't yet respect force fields. Other changes * Particle emission defaults now to frames 1-200 with life of 50 frames to fill the whole default timeline. * Many particles drawing related crashes fixed. * Sometimes particles didn't update on first frame properly. * Hair with object/group visualization didn't work properly. * Memory leaks with PointCacheID lists (Genscher, remember to free pidlists after use :).
2009-10-01building without bullet didnt workCampbell Barton
2009-09-22RNA: added a "factor" subtype next to "percentage", and only displayBrecht Van Lommel
% sign for percentage assuming it is between 0-100, while factor is for values 0-1. Move collision setting absorption from modifier to collision settings, was inconsistent to have it there as the only one, and made it have range 0.0-1.0 instead of 0-100.
2009-09-14use static functions where possible for some local functions.Campbell Barton
2009-08-18CMake/WarningsCampbell Barton
* WITH_GAMEENGINE and WITH_BULLET were being added to the compiler flags, only define in areas that use them. * removed C++ unix warnings by adding -Wno-invalid-offsetof -Wno-sign-compare. the py api uses invalid offsets for attributes. * removed C unix -Wnested-externs warning, these are everywhere in blender. * removed unused BGE python headers * undefine _XOPEN_SOURCE and _POSIX_C_SOURCE in the BGE, python redefines. * renamed USE_BULLET in collision.c to WITH_BULLET for consistency
2009-01-262.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender ↵Brecht Van Lommel
-r17853:HEAD
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-12-262.5: various warning fixes. There was one actual bug in a few differentBrecht Van Lommel
places, using sprintf with strings like ID names as the format string (note that this name can contain a % character).
2008-11-13Merge of trunk into blender 2.5:Brecht Van Lommel
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r12987:17416 Issues: * GHOST/X11 had conflicting changes. Some code was added in 2.5, which was later added in trunk also, but reverted partially, specifically revision 16683. I have left out this reversion in the 2.5 branch since I think it is needed there. http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16683 * Scons had various conflicting changes, I decided to go with trunk version for everything except priorities and some library renaming. * In creator.c, there were various fixes and fixes for fixes related to the -w -W and -p options. In 2.5 -w and -W is not coded yet, and -p is done differently. Since this is changed so much, and I don't think those fixes would be needed in 2.5, I've left them out. * Also in creator.c: there was code for a python bugfix where the screen was not initialized when running with -P. The code that initializes the screen there I had to disable, that can't work in 2.5 anymore but left it commented as a reminder. Further I had to disable some new function calls. using src/ and python/, as was done already in this branch, disabled function calls: * bpath.c: error reporting * BME_conversions.c: editmesh conversion functions. * SHD_dynamic: disabled almost completely, there is no python/. * KX_PythonInit.cpp and Ketsji/ build files: Mathutils is not there, disabled. * text.c: clipboard copy call. * object.c: OB_SUPPORT_MATERIAL. * DerivedMesh.c and subsurf_ccg, stipple_quarttone. Still to be done: * Go over files and functions that were moved to a different location but could still use changes that were done in trunk.
2008-10-14Collisions: CollisionModifier needs to be resetted for every loopDaniel Genrich
2008-10-14Bugfix for regression from 2.46 on cloth collisions reported by Daniel ↵Daniel Genrich
Salazar via IRC
2008-09-29[#17707] Slow Cloth BakingDaniel Genrich
2008-08-18a) Forces can be hidden by deflector object now (need to talk with jahka ↵Daniel Genrich
about particle integration - should be copy-paste) see http://dldw.de/tmp/index.php?file=w2.blend (press play button in timeline and change the absorption value ob the cube) b) fixed deflector/collision bug with continues physics c) cloth wind/forces uses masses now d) even faster collision object gathering e) have fun ;)
2008-08-03Bugfix for non working selfcollisions [no 2.47 bugfix]Daniel Genrich
2008-08-03Bugfix for weird + in the code, no idea why it compiled (yet some ↵Daniel Genrich
selfcollision bug to fix) [no 2.47 fix]
2008-07-29No long needed here (win64 cleanup)Daniel Genrich