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
2012-04-29style cleanup: whitespace / commasCampbell Barton
2012-04-01Fix for is_orthogonal check which in fact was checking for orthonormal matrix.Sergey Sharybin
Separated it into two functions so now it'll be clear if check happens for orthonormal or just orthogonal.
2012-03-25style cleanup: issues missed last commitCampbell Barton
2012-03-25style cleanup: conform to style guide - mostly operator whitespace changesCampbell Barton
2012-03-24style cleanup: pep8, indentationCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-08Fix ##30455: Orthographic grid alignment jumps/shifts when zoomingSergey Sharybin
Issue was caused by precision errors with floats. Made internal grid drawing stuff using doubles and also added some functions to multiply double vector by float matrix which also makes all intermediate calculation in doubles.
2012-03-04style cleanup / comment formatting for bli/bke/bmeshCampbell Barton
2012-03-02style cleanupCampbell Barton
- spelling - turns out we had tessellation spelt wrong all over. - use \directive for doxy (not @directive) - remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
2012-02-27style cleanup (mostly whitespace)Campbell Barton
2012-01-26Fix orthogonality check for mat3 and mat4Sv. Lockal
2011-12-19Merging r42648 through r42722 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-16Math lib: matrix multiplication order fix for two functions that wereBrecht Van Lommel
inconsistent with similar functions & math notation: mul_m4_m4m4(R, B, A) => mult_m4_m4m4(R, A, B) mul_m3_m3m4(R, B, A) => mult_m3_m3m4(R, A, B) For branch maintainers, it should be relatively simple to fix things manually, it's also possible run this script after merging to do automatic replacement: http://www.pasteall.org/27459/python
2011-12-15Object tracking: object with object solver constraint is now parented to ↵Sergey Sharybin
scene's camera Made Object Solver operator parent object to scene's camera. Behavior is pretty much familiar to Child Of constraint -- it stores inverted transformation matrix which gives constant offset in parent's space. Current files would open incorrect, to make object aligned well again, just press "Set Inverse" button in Object Solver constraint. Fixed orientation operators so now they should work in all cases. Also changed behavior of Set Origin operator which now sets origin to the median point of all selected tracks/
2011-12-04add a new object member to store the dsize, since with my recent commit ↵Campbell Barton
broke forward compatibility. now the new values are copied into 'dscale' and existing ones remain. this is annoying since now we have dsize and dscale, will look into a way to deprecate struct members next.
2011-11-11quiet -Wdouble-promotion warningsCampbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-09-12use vector size and const args where possible (no functional change)Campbell Barton
2011-09-06Merged the particles-2010 branch with node improvements into trunk.Lukas Toenne
This branch adds mostly organizational improvements to the node system by renaming the node folders and files. A couple of internal features have been added too. Detailed information can be found on the wiki page: http://wiki.blender.org/index.php/User:Phonybone/Particles2010
2011-08-31typo fix: end of lines ;; --> ;Campbell Barton
2011-05-20rename mul_project_m4_v4 to mul_project_m4_v3.Campbell Barton
2011-03-27math lib and UV project: floats were being implicitly promoted to doubles, ↵Campbell Barton
adjust to use floats.
2011-02-27doxygen: blender/blenlib tagged.Nathan Letwory
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-31Todo issue: sculpting on deformed meshSergey Sharybin
Used a crazyspace approach (like in edit mode), but only modifiers with deformMatricies are allowed atm (currently shapekeys and armature modifiers only). All the rest modifiers had an warning message that they aren't applied because of sculpt mode. Deformation of multires is also unsupported. With all this restictions users will always see the actual "layer" (or maybe mesh state would be more correct word) they are sculpting on. Internal changes: - All modifiers could have deformMatricies callback (the same as deformMatriciesEM but for non-edit mode usage) - Added function to build crazyspace for sculpting (sculpt_get_deform_matrices), but it could be generalized for usage in other painting modes (particle edit mode, i.e) Todo: - Implement crazyspace correction to support all kinds of deformation modifiers - Maybe deformation of multires isn't so difficult? - And maybe we could avoid extra bad-level-stub for ED_sculpt_modifiers_changed without code duplicating?
2011-01-08remove unused code & variables.Campbell Barton
2011-01-06print_m3/m4 didnt use const char *, which gave an errror with passing ↵Campbell Barton
strings & pedantic warnings. also minor rename in bvh export
2010-11-22- blend_m3_m3m3 and blend_m4_m4m4 now support matrices with negative scales.Campbell Barton
- python/mathutils api matrix.lerp(other, factor) - new function mat3_to_rot_size(), like mat4_to_loc_rot_size but with no location.
2010-11-16fix for fix, r33086.Campbell Barton
- incorrect range check broke ZYX euler rotations, use MIN/MAX constants so this doesn't happen again. - BGE Armature PyAPI also wasn't using correct min/max with rotation modes. - clamp on file read rather then when calling the rotation functions, so developers don't use invalid args without realizing it. - added assert() checks for debug builds so invalid axis constants don't slip through.
2010-11-02fix for compiling with the c90 standard, support for non-static variable ↵Campbell Barton
initializers is a c99 feature.
2010-10-30fix for own mistake with mat4_to_loc_rot_size(), flipping the scale on ↵Campbell Barton
negative matrix isn't correct.
2010-10-27dont use const for matrix arg, since it needs to be cast in most cases.Campbell Barton
2010-10-26move matrix decomposition out of object.c into BLI_math_matrix function: ↵Campbell Barton
mat4_to_loc_rot_size(), use this now for pchan_apply_mat4() to support negative scale, visual keying now uses compatible eulers. also added access to this in python's mathutils.Matrix() loc, quat, scale = matrix.decompose()
2010-10-22Fix for snapping pose bones with axis-angle rotation.Campbell Barton
- armature_mat_pose_to_bone() was missing axis-angle check. - added loc_axisangle_size_to_mat4() for completeness. - use 'const' prefix where possible in math rotation functions.
2010-10-18enable DEBUG define in CMake and scons, also change booleans debug option to ↵Campbell Barton
BOP_DEBUG, which was used inconsistently, and had to add a define for superlu.
2010-10-18bugfix [#24291] Error parenting a child with any negative scaling coordinateCampbell Barton
the bug was in object_apply_mat4(), caused by applying a non-normalized matrix to the rotation. Blender 2.4x also had this problem, surprising nobody noticed!.
2010-09-15Two small bugfixes:Joshua Leung
- A property used in an 'active' poll for UI code in the NLA Editor was missed during the RNA renaming madness, leading to error prints in the console - For matrix blending code, 'fsize' arrays were being declared wrong size (4 elements long instead of 3).
2010-08-15use more BLI math functions.Campbell Barton
2010-07-26[#23008] Wrong numbers in Edge LengthCampbell Barton
- tooltips didnt say how to get global values. - save a vector addition per vertex when drawing stats by using mul_mat3_m4_v3() instead of mul_m4_v3()
2010-06-22Merge a few small blenlib changes from the render25 branch:Brecht Van Lommel
* define for missing hypotf on msvc. * svd_m4 and pseudoinverse_m4_m4 functions. * small tweak to perlin noise, use static function instead of macro. * BLI_linklist_find and BLI_linklist_insert_after functions. * MALWAYS_INLINE define to force inlining.
2010-04-15Merge various small changes from render branch:Brecht Van Lommel
* Division by zero fix for TNT SVD code. * Sound fix, in case ffmpeg decode fails, don't use the samples. * Fix for incorrect bounds of transformed objects in new raytracing code. * Gave memory arena's a name used for allocations for easier memory usage debugging. * Dupligroup no_draw option was using layers but not restrict view/render setting. (not a bugfix exactly but would do display list context switching while drawing for no reason). * Fix objects instanced on hair particles not giving consistent results when the object is transformed. * New math functions: madd_v4_v4fl, len_squared_v3v3, interp_v4_v4v4v4, mul_v4_m4v4, SH and form factor functions, box_minmax_bounds_m4. * mul_m4_m4m4 and mul_m3_m3m3 now accept the same pointers for multiple arguments. * endjob callback for WM jobs system. * Geometry node uv/color layer now has search list/autocomplete. * Various small buildsystem tweaks, not strictly needed yet in trunk.
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-03-22rotate_m4 was using degrees rather then radians.Campbell Barton
2010-03-20remove unused includes for blenlib, left ifdef's for non linux os's alone.Campbell Barton
2010-02-12correct fsf addressCampbell Barton
2010-01-30utility functions is_negative_m3 & is_negative_m4, added python Mathutils ↵Campbell Barton
access Matrix.is_negative renamed Mathutils attribute wrapped -> is_wrapped
2009-11-28Math Lib: merging over some changes from the sculpt branch:Brecht Van Lommel
* swap v2/v3 * multiply-and-add (madd) v3 * inline v3 short/float conversion * mul_v3_m3v3
2009-11-10Math LibBrecht Van Lommel
* Fix remaining issues before conversion. * Inline various vector functions, currently enabled for all platforms. I expect this to work in GCC/MSVC at least, if other platforms don't support it, #ifdef's can be added.
2009-11-10Math Lib ReorganizationBrecht Van Lommel
* New header and source files. * Still need a few tweaks before switching code to use them.