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
2013-05-26BLI_math rename functions:Campbell Barton
- mult_m4_m4m4 -> mul_m4_m4m4 - mult_m3_m3m4 -> mul_m3_m3m4 these temporary names were used to avoid problems when argument order was switched.
2013-05-08add matrix multiply for projection that outputs 2d values.Campbell Barton
2013-04-18Support object scale for mesh display options. (currently only uniform scale ↵Campbell Barton
for thickness test)
2013-04-16Blender Internal Render in viewportTon Roosendaal
Because of our release soon, feature has been added behind the Debug Menu. CTRL+ALT+D and set it to -1. Or commandline --debug-value -1. When debug set to -1, you can put the viewport to 'render' mode, just like for Cycles. Notes for testers: (and please no bugs in tracker for this :) - It renders without AA, MBlur, Panorama, Sequence, Composite - Only active render layer gets rendered. Select another layer will re-render. - But yes: it works for FreeStyle renders! - Also does great for local view. - BI is not well suited for incremental renders on view changes. This only works for non-raytrace scenes, or zoom in ortho or camera mode, or for Material changes. In most cases a full re-render is being done. - ESC works to stop the preview render. - Borders render as well. (CTRL+B) - Force a refresh with arrow key left/right. A lot of settings don't trigger re-render yet. Tech notes: - FreeStyle is adding a lot of temp objects/meshes in the Main database. This caused DepsGraph to trigger changes (and redraws). I've prepended the names for these temp objects with char number 27 (ESC), and made these names be ignored for tag update checking. - Fixed some bugs that were noticable with such excessive re-renders, like for opening file window, quit during renders.
2013-02-12Old bug fix: Uv smart stitch failed to detect angle if islands wereAntony Riakiotakis
rotated close to 180 degrees and there were edges both below and above the 180 degree threshhold. Separating and averaging the negative and positive angles seems to solve the issue making the tool a bit more robust ;)
2013-02-09code cleanup: use const for matrix functions vector args.Campbell Barton
2013-01-29skip calculating the normal for each face when triangulating, all callers ↵Campbell Barton
make sure its valid. also remove some commented code (more then one generation of bmesh old).
2013-01-23math: Add functions to decompose transformation matricesSergej Reich
mat4_decompose() is similar to mat4_to_loc_rot_size() but returns rotation as quaternion. mat4_to_loc_quat() just returns location and rotation without size.
2012-12-15Fix #33497: seting object scale to 0 on one axis made moving verts in edit modeBrecht Van Lommel
impossible. In this case matrix inversion failed and didn't give a useful result. Now it falls back to a pseudoinverse in that case, so that moving along the other axes still works. There may be other places that can benefit from this, but this is a place where it has no significant performance impact, doing this in general for e.g. bone matrices could be quite slow.
2012-12-11define the size of matrix args for both rows/cols.Campbell Barton
2012-11-09style cleanup: indentationCampbell Barton
2012-11-07fix [#33106] Decimate modifier/collapse give bad resultCampbell Barton
FLT_EPSILON was too small to use when checking if the edge collapse result is an error. add invert_m3_m3_ex(), invert_m3_ex() functiosn which take an epsilon to check the determinant, saves calculating it twice per edge collapse.
2012-10-29py api: add mathutils.Matrix adjugate(d) methods, also add adjoint_m2_m2() ↵Campbell Barton
to BLI_math_matrix
2012-05-13code cleanup: header cleanup and remove some duplicate defines.Campbell Barton
2012-05-01Fix #31193: Normals don't have any Z componentSergey Sharybin
Issue was caused by heavily non-uniform scale applied on object. Run scale correction on face and vertex normals draw if there's non-uniform scale.
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-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-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
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-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-05-20rename mul_project_m4_v4 to mul_project_m4_v3.Campbell Barton
2011-02-18doxygen: add blenlib under core as module.Nathan Letwory
2011-01-15remove/comment unused defines.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-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-22Add some missing const'sNathan Letwory
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-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-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.