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
2016-04-14Remove redundant abs ray/line point functionsCampbell Barton
2016-04-14Math Lib: ray_point_factor_v3 functionsCampbell Barton
Gives a bit better precision than creating a line in some cases, use for ED_view3d_win_to_3d.
2016-04-10Docs: comment on line-sphere intersectionCampbell Barton
2016-03-29Fix error in ghash/gset_ensure_p_exCampbell Barton
The key is needed in the case the ghash resizes. Caused regression T47984.
2016-03-24Fix BLI_strncasestr use with a single characterCampbell Barton
2016-03-23UI: multi word filtering in search menuCampbell Barton
D1080 by @rockets, with own improvements to tests
2016-03-19BLI_kdopbvh: Pass center to to range callbackCampbell Barton
Useful when BLI_bvhtree_range_query callback calculates a new position to measure from.
2016-03-14Cleanup: style/spellingCampbell Barton
2016-03-11Minor improvement to last commitCampbell Barton
Sign is known in this case, no need to check for either direction.
2016-03-11Math Lib: less complex convex quad checkCampbell Barton
2016-03-09Cleanup: style, spellingCampbell Barton
2016-03-05Cleanup: quiet -Wcomma, cast to void where neededCampbell Barton
2016-03-03Add utility macro to work with thread local storageSergey Sharybin
2016-03-02GHash: BLI_ghash_ensure_p_ex now takes a pointer-to-key argCampbell Barton
This is an alternative to passing a copy callback which is some times inconvenient. Instead the caller can write to the key - needed when the key is duplicated memory. Allows for minor optimization in ghash/gset use. Also add BLI_gset_ensure_p_ex
2016-02-20Add GHash/GSet pop() feature.Bastien Montagne
Behavior is similar to python's set.pop(), it removes and returns a 'random' entry from the hash. Notes: * Popping will return items in same order as ghash/gset iterators (i.e. increasing order in internal buckets-based storage), unless ghash/gset is modified in between. * We are keeping a track of the latest bucket we popped out (through a 'state' parameter), this allows for similar performances to iterators when iteratively popping a whole hash (without it, we are roughly O(n!), with it we are roughly O(n)...). Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1808
2016-02-17Fix T47452: Translate-node seams w/ subpixel offsetCampbell Barton
2016-02-13BLI_bitmap: add flip macroCampbell Barton
2016-02-12Fix error in bvhtree_walk_dfs_recursiveGermano Cavalcante
2016-02-11BLI_kdopbvh: test root node before traversingGermano Cavalcante
2016-02-11Cleanup: naming for NearestRayToAABB_PrecalcGermano Cavalcante
2016-02-10Cleanup: remove unused radius argumentCampbell Barton
2016-02-10Docs: use doxygen sectionsCampbell Barton
2016-02-10Docs: minor comment edits to smallhashCampbell Barton
2016-02-10Tweaks to the comments of smallhashSergey Sharybin
Collaboration between russki guy working from Netherlands and ausie bloke working from Australia (not Austria).
2016-02-10Cleanup: double promotionCampbell Barton
Also remove null checks from args with non-null attribute.
2016-02-09Add BLI_bvhtree_walk_dfs utility functionGermano Cavalcante
This generic function allows callers to walk the tree using callbacks to define behavior.
2016-02-09BLI_kdopbvh: expose bvhtree_kdop_axes arrayCampbell Barton
So future callbacks can make use of the axis index.
2016-02-09Docs: correct descriptionCampbell Barton
2016-02-03Cleanup: parenthesize macrosCampbell Barton
2016-02-03Fix BLI_rename returned success w/ missing source pathCampbell Barton
2016-01-30Cleanup: correct qsort commentsCampbell Barton
Also add link to original source & parenthesize min macro.
2016-01-28Cleanup: warnings & styleCampbell Barton
2016-01-27PIL_time_utiledefines: add TIMEIT_AVERAGED variants to block timing macros.Bastien Montagne
This variant behave exactly as TIMEIT_START etc., but it also sums up all times in a static var and prints out average execution time - very useful when dealing with small/quick pieces of code that get executed often, to get some meaningful results.
2016-01-26Correct commented printfsCampbell Barton
2016-01-25Correct own error in recent BVH nearest rayCampbell Barton
2016-01-25ImBuf: Make luminance calculation inlinedSergey Sharybin
Title actually tells it all, it is rather simple function which totally makes sense to be inlined. This gives up to 5% of speedup when updating scopes for a large image. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1310
2016-01-25BLI_kdopbvh: Add BLI_bvhtree_find_nearest_to_rayGermano Cavalcante
Support for casting a ray through all nodes to find the closest (not the first hit as with ray casting).
2016-01-25Math Lib: Add dist_squared_ray_to_aabb_v3 utilityGermano Cavalcante
2016-01-23Math Lib: optimize segment-plane clippingCampbell Barton
Calculate the clipped min/max factor along the segment, only applying to the coordinates at the end (will give better precision too). Also make split input/output args.
2016-01-21Cleanup: line length, indentationCampbell Barton
2016-01-20error in last commitCampbell Barton
2016-01-20Cleanup: naming conventionCampbell Barton
Follow isect_ray_tri_watertight_v3 naming.
2016-01-19BLI_array_utils: add binary and/or functionsCampbell Barton
2016-01-18Ignore const qualifier when comparing typesCampbell Barton
2016-01-18Cleanup: styleCampbell Barton
2016-01-16Cleanup: BLI_task foreach looper API doc.Bastien Montagne
2016-01-16Cleanup: BLI_task - API changes.Bastien Montagne
Based on usages so far: - Split callback worker func in two, 'basic' and 'extended' versions. The former goes back to the simplest verion, while the later keeps the 'userdata_chunk', and gets the thread_id too. - Add use_threading to simple BLI_task_parallel_range(), turns out we need this pretty much systematically, and allows to get rid of most usages of BLI_task_parallel_range_ex(). - Now BLI_task_parallel_range() expects 'basic' version of callback, while BLI_task_parallel_range_ex() expectes 'extended' version of the callback. All in all, this should make common usage of BLI_task_parallel_range simpler (less verbose), and add access to advanced callback to thread id, which is mandatory in some (future) cases.
2016-01-16Cleanup: stdbool no longer optional, remove checksCampbell Barton
2016-01-13Polyfill2d: improve sweep clipping logicCampbell Barton
Now only reverse the fill direction when reaching a non-concave corner. Gives ~4x speedup here in tests with complex ngon.
2016-01-12Fix T47164: [Scene.raycast] - True result when it should be False.Bastien Montagne
We cannot use FLT_MAX as initi distance for raycast... Renamed TRANSFORM_DIST_MAX_RAY to BVH_RAYCAST_DIST_MAX, moved it into BLI_kdopbvh, and use in RNA raycast callbacks (and all other places using that API).