Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2449 / 5574

December 28, 2015, 20:40 (GMT)
BLI_kdopbvh: switch from OMP to BLI_task.

Gives the usual 10%-30% speedup on affected functions themselves (BLI_bvhtree_overlap() and
BLI_bvhtree_balance()), and about 2% speedup to overall cloth sim e.g. (measured from
main Cloth modifier func).
December 28, 2015, 19:51 (GMT)
Fix opengl error when GLSL is on for basic shader: shader needs to be
bound before setting uniforms
December 28, 2015, 16:55 (GMT)
cdderivedmesh fix stippled faces not getting drawn at all

Also rearranged code here to not issue a draw call (explicit flush) per
face and not set shader per face either when stippled drawing is mixed
with regular drawing. Not good at all for performance.
December 28, 2015, 16:46 (GMT)
Fix T47045: add some missing UI i18n translations to texture buttons and freestyle render messages.
December 28, 2015, 15:48 (GMT)
Minor cleanup (paranoid checks) and fixes from coverity.
December 28, 2015, 15:09 (GMT)
Some fixes from coverity (only one really nasty, in paint_proj).
December 28, 2015, 14:42 (GMT)
Cycles: Use different approach for SVM summary report

Use Summary structure to collect all summary related on the shader compilation
process which then could be either simply reported to the log or be passed to
some user interface or so.

This is type of the summary / report which is most flexible and useful and
something we could use for other parts like shader optimization.
December 28, 2015, 14:08 (GMT)
Cleanup: style, indentation
December 28, 2015, 14:01 (GMT)
Cycles; Fix typo in the comment
December 28, 2015, 14:01 (GMT)
Correct recent error passing NULL to fclose
December 28, 2015, 14:01 (GMT)
Cycles: Log basic statistics of SVM compilation process
December 28, 2015, 11:37 (GMT)
Ceres: Remove suitesparse related files

It's quite small chance we'll be supporting suitesparse for Blender due to all
the complexity of 3rd party libraries, so removing implementation files which
are only needed when suitesparse is enabled.
December 28, 2015, 11:37 (GMT)
Cycles: Implement node deduplication routines

The idea of this commit is to merge nodes which has identical settings
and matching inputs into a single node in order to minimize number of
SVM instructions.

This is quite simple bottom-top graph traversal and the trickiest part
is how to compare node settings without too much trouble which seems to
be solved is quite clean way.

Still possibilities for further improvements:

- Support comparison of BSDF nodes
- Support comparison of volume nodes
- Support comparison of curve mapping/ramp nodes

Reviewers: brecht, juicyfruit, dingto

Differential Revision: https://developer.blender.org/D1673
Revision daf6f5f by Thomas Beck
December 28, 2015, 11:16 (GMT)
White Balance modifier for the VSE

This snippet creates a white balance modifier for the video sequence editor. It is useful for everyone who likes to set a new white point in the video source (easily via the eyedropper). Just select a point in the source file where you know that it should be white. The algorithm will then shift the colors towards your new white point.

See attached the image for a quick demo.

{F270576}

Reviewers: psy-fi

Reviewed By: psy-fi

Subscribers: Blendify

Projects: #bf_blender

Differential Revision: https://developer.blender.org/D1698
December 28, 2015, 10:40 (GMT)
Fix for building ghost-tests
December 28, 2015, 10:26 (GMT)
Fix possible invalid-index use /w link/path select
December 28, 2015, 06:21 (GMT)
Cleanup: use BLI_libblock prefix for id functions

- test_idbutton -> BLI_libblock_ensure_unique_name (not only used from UI)
- BKE_rename_id -> BKE_libblock_rename (always pass valid main)

also rename:
- name_uiprefix_id -> BKE_id_uiprefix
December 27, 2015, 23:37 (GMT)
Cleanup typo.

Harmless but irritating... :P
December 27, 2015, 23:37 (GMT)
Switch BKE_smoke from OMP to BLI_task.

Gives a global speedup of about 5% in smoke simulation (as usual, parallelized chunks themselves
are about 15-25% quicker with BLI_task than with OMP), using a simple setup with two generators
(one from mesh, one from particles), an obstacle and a windfield.
December 27, 2015, 23:37 (GMT)
Fix (unreported) broken BLI_task's forloop func in case we have less iterations that workers.

When called with very small range, `BLI_task_parallel_range_ex()` would generate a zero `chunk_size`,
leading to some infinite looping in `parallel_range_func` due to `parallel_range_next_iter_get` returning
true without actually increasing the counter!

So now, we ensure `chunk_size` and `num_tasks` are always at least 1 (and avoid generating too much tasks too).
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021