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
2019-01-26Cleanup: remove blender-internal update flagCampbell Barton
2019-01-25Cleanup: sort cmake file listsCampbell Barton
2019-01-24Fix T60095: freestyle not rendering animated camera correctly.Brecht Van Lommel
Replace legacy view matrix access with same one used by Eevee.
2019-01-24Fix freestyle renders not including some types of animation.Brecht Van Lommel
Freestyle Python scripts need to get the evaluated view layer and scene, not the original one.
2019-01-23Fix T59939: Masks not Animating in RenderPhilipp Oeser
For now this is not part of copy-on-write, and needs extra animation evaluation. Reviewers: sergey, brecht Maniphest Tasks: T59939 Differential Revision: https://developer.blender.org/D4140
2019-01-18Merge branch 'blender2.7'Lukas Stockner
2019-01-18Fix T56799: Custom render passes missing when using Save BuffersLukas Stockner
The problem here was that when a render result is allocated, the standard render passes are added according to the pass bitfield. Then, when the render engine sets the result, it adds the additional passes which are then merged into the main render result. However, when using Save Buffers, the EXR is created before the actual render starts, so it's missing all those additional passes. To fix that, we need to query the render engine for a list of additional passes so they can be added before the EXR is created. Luckily, there already is a function to do that for the node editor. The same needs to be done when the EXR is loaded back. Due to how that is implemented though (Render API calls into engine, engine calls back for each pass), if we have multiple places that call this function there needs to be a way to tell which one the call came from in the pass registration callback. Therefore, the original caller now provides a callback that is called for each pass.
2019-01-18Render API: Fix detection of duplicate render passesLukas Stockner
2019-01-15Cleanup: commas at the end of enumsCampbell Barton
Without this clang-format may wrap them onto a single line.
2019-01-15Cleanup: commas at the end of enumsCampbell Barton
Without this clang-format may wrap them onto a single line.
2019-01-15Cleanup: replace usages of deprecated BKE_libblock_free by BKE_id_free.Bastien Montagne
2019-01-08Fix T60263: render layer node sockets not showing on file load, for some files.Brecht Van Lommel
2019-01-02Fix T58859: render with compositor does not render other scenes.Brecht Van Lommel
2018-12-30Cleanup: remove non-existing function declarationsCampbell Barton
2018-12-28Cycles: restore old sample and material override settings for view layers.Brecht Van Lommel
Since there will be no view layer overrides in 2.80, this is needed still.
2018-12-27cleanup: remove unused passesPhilipp Oeser
- use_pass_indirect, use_pass_specular from ViewLayer RNA - RGBA, DIFFUSE, SPEC, REFLECT, REFRACT, INDIRECT usages from remaining places Reviewers: brecht Differential Revision: https://developer.blender.org/D4117
2018-12-12Cleanup: use colon separator after parameterCampbell Barton
Helps separate variable names from descriptive text. Was already used in some parts of the code, double space and dashes were used elsewhere.
2018-12-12Fix Cycles baking active/cageDalai Felinto
Basically what we address here is to make sure the active object and the cage are not interferring with the baking result (e.g., when baking Combined). To do so, we take advantage of the fact that we create our own depsgraph for baking. So now we can change the cowed objects, instead of the original ones. Note: There is still a way to get a crash. If you try to bake from selected to active when is_cage, but with no cage object, we get an assert: ``` BLI_assert failed: //source/blender/blenkernel/intern/DerivedMesh.c mesh_calc_modifiers(), at (((Mesh *)ob->data)->id.tag & LIB_TAG_COPIED_ON_WRITE_EVAL_RESULT) == 0 ``` We can bypass this by passing ob_low instead of ob_low_eval to bake_mesh_new_from_object on object_bake_api.c:847 . But then the edge split modifier change will take no effect.
2018-12-07Fix selected to active Cycles BakingDalai Felinto
Since we started using looptris we no longer need a triangulation modifier in the highpoly object. In fact having was causing a bug where baking would be utterly broken. This fix normal baking. Combined pass still needs a fix to hide the objects during baking.
2018-12-07Depsgraph: Remove duplicated sets of recalc/update flagsSergey Sharybin
There were at least three copies of those: - OB_RECALC* family of flags, which are rudiment of an old dependency graph system. - PSYS_RECALC* which were used by old dependency graph system as a separate set since the graph itself did not handle particle systems. - DEG_TAG_* which was used to tag IDs. Now there is a single set, which defines what can be tagged and queried for an update. It also has some aggregate flags to make queries simpler. Lets once and for all solve the madness of those flags, stick to a single set, which will not overlap with anything or require any extra conversion. Technically, shouldn't be measurable user difference, but some of the agregate flags for few dependency graph components did change. Fixes T58632: Particle don't update rotation settings
2018-12-05Fix T57939: animated values in compositing nodes not working.Glenn Tester
For now this is not part of copy-on-write, and needs extra animation evaluation. Differential Revision: https://developer.blender.org/D4019
2018-12-01Cleanup: redundant NULL checksCampbell Barton
Also use unsigned shifting for values not in int range.
2018-11-30Fix T58235: broken baking of tangent space normals.Brecht Van Lommel
2018-11-29Cleanup: remove unused filesCampbell Barton
2018-11-19Fix T57554: texture bake object to active error after recent changes.Brecht Van Lommel
2018-11-14Cleanup: comment block tabsCampbell Barton
2018-11-09Cycles: Free Blender side data as soon as we don't need itSergey Sharybin
Currently this is possible after built-in images are loaded in memory. Allows to save memory used by dependency graph and copy-on-write. In practice this lowers peak system memory usage from 52GB to 42GB on a production file of spring 03_035_A.lighting. Note, that this only applies to F12 and command line renders. Bigger note, that this optimization is currently only possible if there are no grease pencil objects to be rendered.
2018-11-07Cleanup: remove some useless BKE_library and BKE_main includes.Bastien Montagne
Makes it simpler to make some changes... Also fix order of some includes (use alphabetical please).
2018-11-07Cleanup: Remove 'BKE_library.h' include from 'BKE_main.h'Bastien Montagne
That kind of implicit includes should really only be done when totally, absolutely necessary, and ideally only with rather simple 'second-level' headers. Otherwise not being explicit with includes always end up biting in unexpected ways...
2018-10-31Eevee: Implement Overscan optionClément Foucault
This option make the internal render size larger than the output size in order to minimize screenspace effects disapearing at the render edges. The overscan size added around the render is the maximum dimension multiplied by the overscan percentage.
2018-10-16Fix T57247: Render animation does not respect render single view layerPhilipp Oeser
Reviewers: brecht Maniphest Tasks: T57247 Differential Revision: https://developer.blender.org/D3800
2018-10-15Bake: remove derived mesh for bake APICampbell Barton
Multires baking still uses DerivedMesh.
2018-10-11Cleanup: style (pointers)Campbell Barton
2018-10-10Python API: add loop triangles access, remove tessfaces.Brecht Van Lommel
Loop triangles are tessellated triangles create from polygons, for renderers or exporters that need to match Blender's polygon tesselation exactly. These are a read-only runtime cache. Tessfaces are a legacy data structure from before Blender supported n-gons, and were already mostly removed from the C code. Details on porting code to loop triangles is in the release notes. Differential Revision: https://developer.blender.org/D3539
2018-09-27Cleanup: remove unused DerivedMesh code.Sebastian Parborg
Differential Revision: https://developer.blender.org/D3736
2018-09-24Fix T56861: freestyle + BI + full sample AA not working correct.IRIE Shinsuke
2018-09-19BLI_utildefines: rename pointer conversion macrosCampbell Barton
Terms get/set don't make much sense when casting values. Name macros so the conversion is obvious, use common prefix for easier completion. - GET_INT_FROM_POINTER -> POINTER_AS_INT - SET_INT_IN_POINTER -> POINTER_FROM_INT - GET_UINT_FROM_POINTER -> POINTER_AS_UINT - SET_UINT_IN_POINTER -> POINTER_FROM_UINT
2018-09-12Merge branch 'master' into blender2.8Sergey Sharybin
2018-09-12Cleanup: More correct terminology workSergey Sharybin
Matches threading API.
2018-09-06Fix T54329: brush texture preview not working.Sebastian Parborg
With the removal of blender internal, the texture preview had to be rewritten. Now we evaluate and write the texture directly to the preview buffer instead of going through the renderer. Differential Revision: https://developer.blender.org/D3670
2018-09-04Cleanup: remove legacy layer and dupli code.Brecht Van Lommel
2018-09-02Cleanup: comment blocksCampbell Barton
2018-09-02Cleanup: comment blocksCampbell Barton
2018-08-29Merge branch 'master' into blender2.8Campbell Barton
2018-08-29Cleanup: indentationCampbell Barton
2018-08-29Cleanup: rename files from group to collection to match contents.Brecht Van Lommel
2018-08-16Cleanup: unused argCampbell Barton
2018-08-15Cleanup: remove unused R_ORTHO / R_PANORAMA flags.Brecht Van Lommel
2018-08-14Fix (unreported): misuse of GL Context when creating new window and/or ↵mano-wii
rendering.
2018-08-13Subsurf: Introduce quality optionSergey Sharybin
For users it defines how accurate vertex positions are in terms of limit surface (as in, how close the vertices locations to the condition when they are calculated for an infinitely subdivided mesh). This affects things like: - Irregular vertices (joint of 3 or more edges) - Crease Keep quality value low for performance. NOTE: Going higher does not necessarily mean real improvement in quality, ideal case might be reached well before maximum quality of 10. Quality of 3 is a good starting point. Internally quality is translated directly to adaptive subdivision level. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D3599