Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-03-12 | HSL color wheel implementation. | Antony Riakiotakis | |
This is a standard Hue - Saturation - Lightness model (see for instance entry on wikipedia here: https://en.wikipedia.org/wiki/HSL_and_HSV) Note though the difference between HSV and HSL saturation, which are not the same. The advantage of having this color selection scheme is that artists can select shades and tints of a color easily by using the lightness slider. Also colors are arranged on (approximated) perceived lightness on the color wheel. Beware, Old files opened with this preference saved will crash! Reviewers: sergey, brecht, campbellbarton Differential Revision: https://developer.blender.org/D385 | |||
2014-03-12 | Code cleanup: redundant normalize in bmbvh ray cast | Campbell Barton | |
2014-03-09 | BLI Rect: utility function to transform a point using 2 rect's | Campbell Barton | |
2014-03-02 | Fix T38873: Crashing on undo of ocean modifier. | Bastien Montagne | |
Issue of this bug is that most part of fftw is not thread safe, only compute-intensive fftw_execute & co are. Since smoke was affected by this issue as well, a global fftw mutex was added to BLI_threads. Audaspace also uses fftw in one of its readers (AUD_BandPassReader.cpp), but this is not an issue currently since this code is disabled in CMake/scons files. There was another threading issue with smoke, we need to copy dm used by emit_from_derivedmesh(), as it is modified by this func. Reviewers: sergey, brecht Reviewed By: brecht CC: brecht Differential Revision: https://developer.blender.org/D374 | |||
2014-03-01 | Fix for some unlikely memory leaks, remove redundant checks | Campbell Barton | |
2014-03-01 | Code cleanup: correct abs use and quiet warnings | Campbell Barton | |
2014-02-28 | Revert own changes to CLAMP and CLAMPIS, caused T38875 | Campbell Barton | |
2014-02-27 | Fix T38858: Crazy spaces was unpredictable with co-linear edges | Campbell Barton | |
2014-02-19 | MSVC: improve warnings for scons and cmake | Campbell Barton | |
Some int/float conversion warnings were disabled by buildsystems but re-enabled by BLI_winstuff.h, the warnigns relate to conversions not considered issues on other systems so better just quiet them. | |||
2014-02-19 | Code cleanup: style | Campbell Barton | |
2014-02-17 | Compile Attrs: add ATTR_RETURNS_NONNULL | Campbell Barton | |
2014-02-17 | Fix for issue in mask overlap with no splines in the mask. | Campbell Barton | |
2014-02-17 | Fix for rare crash in recent mask option to check overlaps | Campbell Barton | |
2014-02-16 | MSVC: add errors for BLI_strict_flags.h | Campbell Barton | |
2014-02-15 | Compile fix for 004decc1d940... | Thomas Dinges | |
2014-02-15 | Code cleanup: warnings | Campbell Barton | |
2014-02-14 | Code clearnup: warnings | Campbell Barton | |
2014-02-14 | workaround for building with mingw32 | Campbell Barton | |
2014-02-13 | Rework carve integration into boolean modifier | Sergey Sharybin | |
Goal of this commit is to support NGons for boolean modifier (currently mesh is being tessellated before performing boolean operation) and also solve the limitation of loosing edge custom data layers after boolean operation is performed. Main idea is to make it so boolean modifier uses Carve library directly via it's C-API, avoiding BSP intermediate level which was doubling amount of memory needed for the operation and which also used quite reasonable amount of overhead time. Perhaps memory usage and CPU usage are the same after all the features are implemented but we've got support now: - ORIGINDEX for all the geometry - Interpolation of edge custom data (seams, crease) - NGons support Triangulation rule is changed now as well, so now non-flat polygons are not being merged back after Carve work. This is so because it's not so trivial to support for NGons and having different behavior for quads and NGons is even more creepy. Reviewers: lukastoenne, campbellbarton Differential Revision: https://developer.blender.org/D274 | |||
2014-02-13 | Mask: add option to detect self intersections | Campbell Barton | |
2014-02-13 | Scanfill: add user-flags for edges and verts, useful elsewhere. | Campbell Barton | |
2014-02-13 | Scanfill: name flags better and comment unused SF_EDGE_BOUNDARY flag. | Campbell Barton | |
2014-02-13 | ListBase: add attributes to api functions | Campbell Barton | |
2014-02-13 | ListBase: add BLI_sortlist_r api function, remove check for NULL callback | Campbell Barton | |
2014-02-13 | Mask: option not to treat overlapping curves as holes | Campbell Barton | |
2014-02-12 | NDOF: fix for negative colors and flickering hue when picking with HSVCUBE | Campbell Barton | |
2014-02-10 | UI: panel tabs, use simple color interpolation that ignores alpha | Campbell Barton | |
2014-02-09 | OSX/scons: allow for compiling with clang-openmp-3.4 | Jens Verwiebe | |
See: http://clang-omp.github.io + fix a longstanding bad include in darwin-config | |||
2014-02-08 | some systems didnt define NULL | Campbell Barton | |
2014-02-07 | ListBase API: add utility api funcs for clearing and checking empty | Campbell Barton | |
2014-02-05 | Scanfill: use poly_nr as an index rather then index + 1 | Campbell Barton | |
2014-02-05 | Scanfill: avoid converting int<>intptr_t for displist indices | Campbell Barton | |
2014-02-05 | Scanfill: malloc arrays and zero init members | Campbell Barton | |
2014-02-04 | Code cleanup: remove scdata from ScanFillContext | Campbell Barton | |
2014-02-04 | Scanfill: optimize filling curves, text, masks - skip calculating holes | Campbell Barton | |
Support for tagging polygon numbers when adding scanfill data, saves having to calculate connectivity afterwards (which can take approx half overall scanfill time for complex curves). | |||
2014-02-04 | Scanfill: minor optimization, comment unused code, avoid vert loop | Campbell Barton | |
2014-02-04 | Code cleanup: removed unnecessary #defines causing re-definition warnings | Andrea Weikert | |
Fixing warnings in own recent commit | |||
2014-02-04 | Code cleanup: declarations for removed functions | Campbell Barton | |
2014-02-03 | Scanfill: skip checks for loose edges when they can't occur | Campbell Barton | |
Only editmesh needs this, text, curves, masks - can all skip this check | |||
2014-02-03 | Code cleanup: replace while -> for loops | Campbell Barton | |
2014-02-03 | Add include for FreeBSD and clang | Campbell Barton | |
2014-02-03 | Code cleanup: use bools where possible | Campbell Barton | |
2014-02-02 | Code cleanup: suffix vars to make obvious they are squared | Campbell Barton | |
2014-02-02 | Fix: Compile error due to missing #define for MSVC9 (VisualC++ 2008) | Andrea Weikert | |
Added some relevant #defines copied from extern\libmv\third_party\msinttypes to BLI_sys_types.h so they can be used in blenlib. Made smallhash.c use the BLI_sys_types.h include rather than including <stdint.h> directly | |||
2014-02-02 | Add include needed for clang, quiet warning | Campbell Barton | |
2014-02-02 | Smallhash: add reserve option to avoid resizing when size is known | Campbell Barton | |
2014-02-02 | Smallhash: fixes/improvements | Campbell Barton | |
- use magic numbers based on uintptr max, not uint max, to avoid possible collisions with real pointer values on 64bit systems. - comment BLI_smallhash_remove for now, its not used. - added smallhash_val_is_used replacing ELEM() checks - updated docs | |||
2014-02-01 | Smallhash: optimizations | Campbell Barton | |
- remove static array used only for copying (use alloca on resize) - set SMSTACKSIZE to one of the values in 'hashsizes' since the full available size was never used. - ensure ~1.5x as many buckets as entries, was 3x which caused malloc's quite early on. | |||
2014-02-01 | Code cleanup: use length squared where possible | Campbell Barton | |
2014-02-01 | Math lib: simplify size_to_mat4 and use in b_bone_spline_setup | Campbell Barton | |