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
2018-05-31Cleanup: remove G.main from BKE mball code.Bastien Montagne
2018-05-07Cleanup: rename char/float conversion functionsCampbell Barton
- FTOCHAR -> unit_float_to_uchar_clamp - F3TOCHAR3 -> unit_float_to_uchar_clamp_v3 (swap args) - F4TOCHAR4 -> unit_float_to_uchar_clamp_v4 (swap args) - FTOUSHORT -> unit_float_to_ushort_clamp - USHORTTOUCHAR -> unit_ushort_to_uchar
2018-05-04Fix T54935: Particle group instances don't render when hidden in viewportSergey Sharybin
Seems to be only related on linked nature of particles. This is caused by some conflicting optimization done for viewport, which does not do particles re-calculation if they do not depend on time (which is crucial for big layout scene grass fields) and particle render setting switch which was relying on fact that render pipeline will do particle update via time dependency. Now we extent an old workaround for invisible objects, which now also deals with particles in the same way as old dependency graph was dealing with this: tag object data for update if there is particle system. There shouldn't be any speed difference between old and new depsgraph, since tagging was already needed and was happening. In Blender 2.8 such things should be easier to deal with since the whole depsgraph is to be evaluated for render engine anyway.
2018-05-03BKE bvhtree: Add `tree_type` parameter to `bvhtree_from_mesh_get`.Germano
This will allow greater control of the bvhtrees that are obtained, and helps identify problems. It is also an additional step to unify the functions.
2018-05-01Refactoring: bvhutils: Use a function that gets the bvhtree through an ↵Germano
identifier type. Reviewed By: @campbellbarton Differential Revision: https://developer.blender.org/D3192
2018-04-16Cleanup: indentationCampbell Barton
2018-04-12Moved vectorblur code from render to compositorJeroen Bakker
In preparation of the removal of blender internal render we moved the vectorblur code that was placed in the render package (legacy) to the compositor. The compositor is only using this code even the blender internal renderer did not use the code at all.
2018-04-05IMB_metadata improvementsSybren A. Stüvel
- Metadata handling is now separate from `ImBuf *`, allowing it to be used with a generic `IDProperty *`. - Merged `IMB_metadata_add_field()` and `IMB_metadata_change_field()` into a more robust `IMB_metadata_set_field()`. This new function doesn't return any status (it now always succeeds, and the previously existing return value was never checked anyway). - Removed `IMB_metadata_del_field()` as it was never actually used anywhere. - Use `IMB_metadata_ensure()` instead of having `IMB_metadata_set_field()` create the containing `IDProperty` for you. - Deduplicated function declarations, moved `intern/IMB_metadata.h` out of `intern/`. Note that this does mean that we have some extra `#include "IMB_metadata.h"` lines now, as the metadata functions are no longer declared in `IMB_imbuf.h`. - Deduplicated function declarations, all metadata-related declarations are now in imbuf/IMB_metadata.h. Part of: https://developer.blender.org/D2273 Reviewed by: @campbellbarton
2018-04-03Cleanup: rename list count_ex -> count_at_mostCampbell Barton
2018-03-16Fix T53971: single layer render showing the wrong render layer in image editor.Cheryl Chen
Original patch Cheryl Chen, extra fixes by Brecht. Differential Revision: https://developer.blender.org/D3098
2018-03-02Fix building w/o PythonCampbell Barton
Also minor cleanup.
2018-02-18Cleanup: add 2d suffix to BLI filesCampbell Barton
Some of these API's can have 3D versions, explicitly name them 2D.
2018-02-15Cleanup: rename BLI_thread.h APICampbell Barton
- Use BLI_threadpool_ prefix for (deprecated) thread/listbase API. - Use BLI_thread as prefix for other functions. See P614 to apply instead of manually resolving conflicts.
2018-02-14Cycles: restore Particle Info Index for now, keep it next to Random.Brecht Van Lommel
It seems to be useful still in cases where the particle are distributed in a particular order or pattern, to colorize them along with that. This isn't really well defined, but might as well avoid breaking backwards compatibility for now.
2018-02-07Cleanup: add _types.h suffix to DNA headersCampbell Barton
2018-02-06Depsgraph: Correction to previous particle fixSergey Sharybin
The reason it appeared working was due to left-over debug code to force time dependency. Real fix seems to include force tagging objects used by duplication, similar to what we do for some other modifiers already.
2018-01-25Fix T53874: OpenGL render problem with OpenEXR in 2.8 with float buffers.Brecht Van Lommel
2018-01-24Fix T53874: more cases of OpenGL render to OpenEXR not working after recent ↵Brecht Van Lommel
changes.
2018-01-24Fix T53874: OpenGL render to OpenEXR not working after recent changes.Brecht Van Lommel
Multilayer EXR also failed already in 2.79 for Sequencer and OpenGL rendering. Now we revert to single layer OpenEXR in that case.
2018-01-16Cleanup: indentationCampbell Barton
2018-01-13Fix T53771: missing view pixels when rendering multiview + FSAA.Brecht Van Lommel
This never worked, it's not due to recent refactoring.
2018-01-11Cleanup: BKE naming conventions for datablock add/localizeCampbell Barton
Conventions were already followed nearly everywhere.
2018-01-10Task scheduler: Use restrict pointer qualifierSergey Sharybin
Those pointers are never to be aliased, so let's be explicit about this and hope compiler does save some CPU ticks.
2018-01-09Task scheduler: Use single parallel range function with more flexible functionSergey Sharybin
Now all the fine-tuning is happening using parallel range settings structure, which avoid passing long lists of arguments, allows extend fine-tuning further, avoid having lots of various functions which basically does the same thing.
2018-01-09Task scheduler: Get rid of extended version of parallel range callbackSergey Sharybin
Wrap all arguments into TLS type of argument. Avoids some branching and also makes it easier to extend things in the future.
2018-01-04Fix leak when rendering OpenGL animationsDalai Felinto
We were duplicating rectf twice :/ Patch by Clément Foucault.
2017-12-07Cleanup: Use BKE_colorband prefixCampbell Barton
2017-12-07Cleanup: extract BKE_colorband from BKE_textureCampbell Barton
2017-11-23Fix inaccuracy when storing material ID pass in half float multilayer EXR.Brecht Van Lommel
These and other non-RGB passes should always be stored as full float, the precision loss is too unpredictable. Related to T53381, but that one is about file output nodes where we don't know the type of data being saved currently.
2017-11-14Cleanup: order BLI before BKE headersCampbell Barton
This was done nearly everywhere already
2017-11-08Fix various issues with (multiview) OpenEXR file save/load.Brecht Van Lommel
* Fix saving a multiview render from the image editor giving invalid files. * Fix failure to load multiview images with a single view per part. * Fix loss of multiview metadata when saving/loading a single view. * Fix Z-Buffer writing option for single layer EXR not being respected. Multiview EXRs are now always handled as multilayer internally, significantly reducing the amount of code. Reviewed By: dfelinto Differential Revision: https://developer.blender.org/D2887
2017-11-08Fix EXR multilayer compositing result saving issues.Brecht Van Lommel
* It was saved as Combined.Combined instead of Composite.Combined. * It was written even if no compositing was enabled.
2017-11-08Fix image editor showing pass name when there is only a combined pass.Brecht Van Lommel
2017-11-08Fix incorrect color management when saving JPG previews for EXR.Brecht Van Lommel
2017-11-06Rename ID_IS_LINKED_DATABLOCK to ID_IS_LINKED.Bastien Montagne
This makes code closer to id_override/assent-engine ones, which introduce a new type of linked data, and hence reserve ID_IS_LINKED_DATABLOCK to real linked datablocks.
2017-11-05Cleanup: spellingCampbell Barton
2017-11-02Fix Cycles showing empty tiles while they are being denoised.Brecht Van Lommel
2017-11-02Fix T53182: cancelling save buffers + denoising render clears image.Brecht Van Lommel
2017-10-31Add ability for render engines to report extra meta data to pipelineSergey Sharybin
2017-10-31Stamp info: Use dedicated function to free up memorySergey Sharybin
This way it's more flexible to extend StampData structure with additional stuff which might require memory free.
2017-10-17Cleanup: use 'e' prefix for enum typedefsCampbell Barton
Convention was only followed loosely, apply to DNA where changes aren't likely to conflict. (Skipped ModifierType for eg).
2017-10-06Cleanup: Math lib naming (use v3 suffix)Campbell Barton
2017-10-03Weight Paint: don't set weight w/ average brushCampbell Barton
Also use 'const' for brush.
2017-09-27Math Lib: Add non-clamped round_* functionsCampbell Barton
Replace iroundf with round_fl_to_int, add other types
2017-09-22Remove quicktime supportAaron Carlisle
It has been deprecated since at least macOS 10.9 and fully removed in 10.12. I am unsure if we should remove it only in 2.8. But you cannot build blender with it supported when using a modern xcode version anyway so I would tend towards just removing it also for 2.79 if that ever happens. Reviewers: mont29, dfelinto, juicyfruit, brecht Reviewed By: mont29, brecht Subscribers: Blendify, brecht Maniphest Tasks: T52807 Differential Revision: https://developer.blender.org/D2333
2017-09-18Cleanup: use clamped rounding functionsCampbell Barton
2017-09-14Fix T52653: Render output of linked scenes conflicts with other scenes with ↵Sergey Sharybin
the same name The issue was caused by render result identifier only consist of scene name, which could indeed cause conflicts. On the one hand, there are quite some areas in Blender where we need identifier to be unique to properly address things. Usually this is required for sub-data of IDs, like bones. On another hand, it's not that hard to support this particular case and avoid possible frustration. The idea is, we add library name to render identifier for linked scenes. We use library name and not pointer so we preserve render results through undo stack. Reviewers: campbellbarton, mont29, brecht Reviewed By: mont29 Differential Revision: https://developer.blender.org/D2836
2017-09-12Fix T52679: Hole in bake normalSergey Sharybin
In fact, any type of baking might have caused holes in mesh. The issue was caused by zspan_scanconvert() attempting to get order of traversal 'a-priori', which might have failed if check happens at the "tip" of span where `zspan->span1[sn1] == zspan->span2[sn1]`. Didn't see anything bad on making it a check when iterating over scanlines and pick minimal span based on current scanline. It's slower, but unlikely to cause measurable difference. Quality should stay the same unless i'm missing something. Reviewers: brecht, dfelinto Reviewed By: brecht Differential Revision: https://developer.blender.org/D2837
2017-08-03Remove volatile, causing issues w/ GCC/ubsanCampbell Barton
Was Cygwin workaround, no longer needed.
2017-07-19Fix T52116: Blender internal BVH build crash in degenerate cases.Brecht Van Lommel