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-05-12Fix depsgraph tagging during the relations build pass.Lukas Tönne
Followup commit to 18e5e2fa1ac26ccbbd0cc8b486a5d92be6888021. Needs the same treatment in the second pass when ID tags are reset again.
2016-05-12BMesh: avoid calling delete operator w/ face dissolveCampbell Barton
In nearly all cases this isn't needed.
2016-05-12Fix missing piece in recent rBce65fae8f32c (support for '+' key).Bastien Montagne
Thanks to Daniel Rivera (Dr2d4) for the headup!
2016-05-12Recent bmesh face-join caused regression (T48407)Campbell Barton
2016-05-12Cleanup: Fix typo.Thomas Dinges
2016-05-12Armature outline drawing used single width lineCampbell Barton
Only set line width in pose-mode
2016-05-12BMesh: use active face fallback w/ select-pathCampbell Barton
From user perspective, last selected face is the same as the active face, use this as a fallback.
2016-05-11Cleanup: Remove outdated comment and add new one about slot IDs.Thomas Dinges
2016-05-11Cycles: Add support for single channel float textures on CPU.Thomas Dinges
Until now, single channel textures were packed into a float4, wasting 3 floats per pixel. Memory usage of such textures is now reduced by 3/4. Voxel Attributes such as density, flame and heat benefit from this, but also Bumpmaps with one channel. This commit also includes some cleanup and code deduplication for image loading. Example Smoke render from Cosmos Laundromat: http://www.pasteall.org/pic/show.php?id=102972 Memory here went down from ~600MB to ~300MB. Reviewers: #cycles, brecht Differential Revision: https://developer.blender.org/D1981
2016-05-11BMesh: ignore non-manifold face connectionsCampbell Barton
Was showing an error message, now dissolve the faces that and delimit at non-manifold boundaries.
2016-05-11BMesh: add BMW_ISLAND_MANIFOLDCampbell Barton
An island walker that only walks over manifold edges.
2016-05-11BMesh Island Walker: use direct loop accessCampbell Barton
2016-05-11BMesh: remove exception from face-join functionCampbell Barton
Callers need to check for NULL, if we need to know exact cause it could be a return arg.
2016-05-11BMesh: boundary walker, skip non-manifold loopsCampbell Barton
Instead of setting an exception, treat non-manifold edges as boundaries.
2016-05-11BMesh: add check for manifold loopCampbell Barton
2016-05-11Cleanup: only use r_ prefix for return argsCampbell Barton
2016-05-11Cleanup: unused win32 headersCampbell Barton
2016-05-11error in last commitCampbell Barton
2016-05-11Correct check for tree being in BVH cacheCampbell Barton
2016-05-11Remove pointer typedef from BVHCacheCampbell Barton
Used ** arguments unnecessarily, also replace BLI_linklist_apply with while loop.
2016-05-11Fix crash snapping to mesh with no geometryCampbell Barton
2016-05-11Cycles: Use explicit qualifier for single-argument constructorsSergey Sharybin
Almost in all cases we want such constructors to be explicit, there are exceptions but only in few places.
2016-05-11Fix incorrect FLT_MIN useCampbell Barton
2016-05-11Transform Volume rewrite/refactorGermano Cavalcante
Take advantage of the efficiency provided by the snap_context. Also fixes errors: - volume snap fails based on view angle (T48394). - multiple instances of dupli-objects break volume calculation.
2016-05-11BMesh: correct fix for face-join removing attached facesCampbell Barton
2016-05-11Fix for inline documentation of FOREACH_NODETREE.Lukas Tönne
Was missing id macro variable.
2016-05-11Fix for node tree ID tagging in new depsgraph.Lukas Tönne
Nested node trees are not handled in BKE_main_id_tag_all.
2016-05-11Depsgraph: Add some missing relationsSergey Sharybin
Those cases requires not only geometry component, but also a transform one to be ready before evaluation can start.
2016-05-11BLI_kdopbvh: Use distance for BLI_bvhtree_ray_cast_allCampbell Barton
Pass distance argument so its possible to limit the range we get all hits from. Other changes: - Use boundbox test before calling callback, avoids redundant calls. - Remove meaningless return value. - Add doc string, explaining purpose of this function.
2016-05-10CMake: optional date/time overrides for reproducible buildsCampbell Barton
2016-05-10Fix T48387: Mirror weights keeps groups assignedCampbell Barton
Swapping the weights kept zero weight verts assigned.
2016-05-10BMesh: only remove loose geometry when joining facesCampbell Barton
Joining faces could remove faces that happened to share an edge that would normally be removed.
2016-05-10BLI_task: nano-optimizations to BLI_task_parallel_range feature.Bastien Montagne
This commit makes use of new taskpool feature (instead of allocating own tasks), and removes the spinlock used to generate chunks (using atomic ops instead). In best cases (dynamic scheduled loop with light processing func callback), we get a few percents of speedup, in most cases there is no sensible enhancement.
2016-05-10Depsgraph: A bit of experiment with skipping where_is_bone if channels is ↵Sergey Sharybin
taged as done This is what old dependency graph was doing and apparently this avoids some updates, however it's not really clear why those nodes are considering done. Maybe just because of the way how relations are working. But needs a closer investigation.
2016-05-10Avoid per-constraint-target call of strlenSergey Sharybin
It's enough to do one single comparison to see if the string is empty or not.
2016-05-10Optimize action constraint by avoid memory allocationSergey Sharybin
2016-05-10Attempt to fix blenplayer after recent changesSergey Sharybin
2016-05-10Revert "Task scheduler: Avoid mutex lock in number manipulation functions"Sergey Sharybin
Appears mutex was guarateeing number of tasks is not modified at moments when it's not expected. Removing those mutexes resulted in some hard-to-catch locks where worker thread were waiting for work by all the tasks were already done. This reverts commit a1d8fe052ccd8945f14be5a50bd5af581b89c643.
2016-05-10Depsgraph: Use some more threading when tagging and finalizing evaluationSergey Sharybin
Also don't reset values there which were re-set on the next evaluation anyway.
2016-05-10Task scheduler: Avoid mutex lock in number manipulation functionsSergey Sharybin
It seems using atomic operations here we can avoid having mute without breaking anything. Thanks Bastien for double-checking the changes!
2016-05-10Fix T48393: Blender player doesn't start on files saved with with cyrillic ↵Sergey Sharybin
letters in path
2016-05-10Fix own mistake in rBd617de965ea20e5d5 from late December 2015.Bastien Montagne
Brain melt here, intention was to reduce number of tasks in case we have not much chunks of data to loop over, not to increase it! Note that this only affected dynamic scheduling.
2016-05-10Depsgraph: For big graphs update pending parents in threadsSergey Sharybin
Gives additional speedup from ~88 to ~91 fps with a test rig.
2016-05-10Depsgraph: Comment evaluation priority out for nowSergey Sharybin
It uses some additional compute power and the evaluation priority is not even used. This brings fps 88.2 with blenrig_for_debugging.blend on this desktop.
2016-05-10Depsgraph: Avoid multipel editors update per same IDSergey Sharybin
Simple thing, and apparently fps goes up to 80 with the demo file from jpbouza. Not sure why at this point fps is so much higher than the old dependency graph here now. And it's definitely something what others should verify as well.
2016-05-10Depsgraph: Don't leave active thread if there's only one children nodeSergey Sharybin
This reduces stress on the task scheduler and avoids some unwanted overhead caused by all the threading business in the cases when there's only one children node. We try to immediately switch to it's evaluation now, keeping active thread up and running. This bumps FPS from 58 to 64 on the blenrig test file from jpbouza.
2016-05-10Task scheduler: Add thread-aware task push routinesSergey Sharybin
This commit implements new function BLI_task_pool_push_from_thread() who's main goal is to have less parasitic load on the CPU bu avoiding memory allocations as much as possible, making taks pushing cheaper. This function expects thread ID, which must be 0 for the thread from which pool is created from (and from which wait_work() is called) and for other threads it mush be the ID which was sent to the thread working function. This reduces allocations quite a bit in the new dependency graph, hopefully gaining some visible speedup on a fewzillion core machines (on my own machine can only see benefit in profiler, which shows significant reduce of time wasted in the memory allocation).
2016-05-10Correct armature-sketch snap context useCampbell Barton
Use scene snap mode. Also allow passing NULL ray-depth which falls back to BVH_RAYCAST_DIST_MAX.
2016-05-10Fix T48369: Missing suport for main '+' key.Bastien Montagne
Many keyboard layouts (italian, spanish, german...) have direct access to '+' key on main keyboard area (not the numpad one), ans x11 has own define for this key, so use it instead of generating an unkown key event. Note that we most likely have much more missing 'specific' keycodes for non-US keyboard layout, but think since we already had a 'minus' keyevent, supporting 'plus' one is totally consistent. And we had a spare space in our defined values just for it even! This keyevent is only supported/generated by x11 and cocoa Ghost backends for now, neither SDL nor win32 seem to have matching key events...
2016-05-10Cycles: Add support for float4 textures on OpenCL.Thomas Dinges
Title says it all, this adds OpenCL float4 texture support. There is a bug in the code still, I get a "Out of ressources error" on nvidia hardware here, not sure whats wrong yet. Will investigate further, but maybe someone else has an idea. :) Reviewers: #cycles, brecht Subscribers: brecht, candreacchio Differential Revision: https://developer.blender.org/D1983