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
2020-07-01Cleanup: spellingCampbell Barton
2020-06-29GPencil: Cleanup - Replace gp_ prefix with gpencil_Antonio Vazquez
This was missing in previous cleanup commits.
2020-06-23GPencil: Implement antialiasing parameter to Pixel FXAntonio Vazquez
Related to T78153 Differential Revision: https://developer.blender.org/D8100
2020-06-21GPencil: Fix unreported missing material onion filter Antonio Vazquez
This feature was removed by error during the refactor done in draw engine. Differential Revision: https://developer.blender.org/D8082
2020-06-17GPencil: Fix unreported Vertex Opacity Overlay not workingAntonio Vazquez
This values was not working because was removed by error in refactor. Reviewed By: mendio, fclem Differential Revision: https://developer.blender.org/D8061
2020-06-03Fix T77156: GPencil view layer filter by layer not workingAntonio Vazquez
This was removed by error during the refactor done in 2.83. Differential Revision: https://developer.blender.org/D7909 Reviewers: @fclem
2020-06-03Cleanup: DRW: Remove persistent uniform functionsClément Foucault
2020-06-03Cleanup: GPUTexture: Remove uneeded bindClément Foucault
2020-05-28Merge branch 'blender-v2.83-release'Clément Foucault
2020-05-28GPencil: Reduce aliasing for subpixel linesClément Foucault
2020-05-28Cleanup: DRW: Remove array suffix from uniform nameClément Foucault
2020-05-21Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-20Fix T76909 GPencil: Layers with mask(s) invisible when using "in front"Clément Foucault
The gpSceneDepthTexture is using a dummy 1px texture which was generating wrong values for uvs when sampling gpMaskTexture. Use the max size of both since any of the 2 can use dummy texture.
2020-05-18Fix T76828 Grease Pencil: Toggle Caps doesn't workClément Foucault
This was a logic error.
2020-05-12GPencil: Add new parameter for SMAA thresholdAntonio Vazquez
This parameter allows to define the threshold for SMAA algorithm. Differential Revision: https://developer.blender.org/D7708
2020-04-22Fix T75625: crash on exit in macOS after selecting objectsBrecht Van Lommel
This code to free shaders by casting a struct to a pointer array is not valid in general, and particularly when compiling with Clang (on Linux and macOS) it fails and can read invalid/uninitialized memory .
2020-04-14Cleanup: Remove unused definesAntonio Vazquez
2020-04-14GPencil: Add missing 2.82 Random Layer color removed in refactorAntonio Vazquez
Use a single color by object in grease pencil is not practical because is necessary to see all layers. To tint by layer, the layer tint parameter is used and not the material color as is done in other modes. This function has been backported from 2.82 because was removed in the 2.83 refactor.
2020-04-03Code Quality: Replace for loops with LISTBASE_FOREACHDalai Felinto
Note this only changes cases where the variable was declared inside the for loop. To handle it outside as well is a different challenge. Differential Revision: https://developer.blender.org/D7320
2020-04-03Cleanup: Including "BLI_listbase.h" for LISTBASE_FOREACH macroDalai Felinto
These headers are not needed right away, but will be in the upcoming commit.
2020-04-03Cleanup: use term 'attr' instead of 'attrib'Campbell Barton
This was already the case in most parts of the GPU API. Use full name for descriptive-comments.
2020-03-30GPencil: Rename Overlay blend mode to Hard LightAntonio Vazquez
Differential Revision: https://developer.blender.org/D7280
2020-03-30Fix T74663 GPencil: Fills are Flickering on NvidiaClément Foucault
This was caused by an unitialized variable.
2020-03-30GPencil: Fix overlay blend mode creating inverted colorsClément Foucault
2020-03-27Fix T69060: File Output Node does not work with Time RemappingPhilipp Oeser
Problem is that the RenderEngines will change the RenderData cfra when rendering (when time remapping is used -- at least workbench/eevee/ gpencil do a combination of BKE_scene_frame_get() plus RE_GetCameraWindow() which alters the RenderData cfra). Later on in the pipeline, the Compositor will use this RenderData cfra to determine the output file name for the FileOutput node. (In contrast to this, the 'regular' Output will use the Scene's RenderData -- not the Render's -- cfra [which hasnt been altered]) It is not entirely clear why RE_GetCameraWindow was setting the cfra on the Render, but it appears to be legacy OGL rendering related and is not needed anymore. Removing this will keep the cfra as needed for the Compositor FileOutput node.
2020-03-26GPencil: Fix unreported fade object when no Gpencil object is selectedAntonio Vazquez
Only must fade if the active object is a GPencil.
2020-03-22Cleanup: use static declarationCampbell Barton
2020-03-21GPencil: Fade to Viewport colorAntonio Vazquez
Actually, the fade objects always fade to Black color, but this is not a good solution. This patch fade the object to the viewport color. Differential Revision: https://developer.blender.org/D7206
2020-03-20Fix T74811: GreasePencil Stereo RenderingJeroen Bakker
When using grease pencil in a stereo rendering the grease pencil objects are only visible in the left eye. In the viewport it renders both. Issue is related that `DRW_render_gpencil` only renders a single view. But `DRW_render_to_image` renders all views. This patch puts this in a loop to render both eyes. Reviewed By: fclem Differential Revision: https://developer.blender.org/D7154
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-18GPencil: Cleanup int comparisonsAntonio Vazquez
2020-03-14Cleanup: sort file lists & struct declatationsCampbell Barton
2020-03-11Cleanup: spellingCampbell Barton
2020-03-10GPencil: Use high precision float buffer for final renderingClément Foucault
This avoid color drifting due to R11G11B10 buffers.
2020-03-10Fix T74625 GPencil: Airbrush doesn't paint anythingClément Foucault
2020-03-10GPencil: Cleanup float indicatorAntonio Vazquez
2020-03-10Cleanup: GPencil: Remove uneeded castClément Foucault
2020-03-10Fix T74536: Grease pencil immediately crashes on macOSClément Foucault
It seems like OSX drivers are using standard attributes for passing gl_VertexID and gl_InstanceID to the vertex shader, and count them in the limit of MAX_VERTEX_ATTRIBS. This patch make sure to never use more than 13 attributes by packing some attributes together.
2020-03-09GPencil: Refactor of Draw Engine, Vertex Paint and all internal functionsAntonio Vazquez
This commit is a full refactor of the grease pencil modules including Draw Engine, Modifiers, VFX, depsgraph update, improvements in operators and conversion of Sculpt and Weight paint tools to real brushes. Also, a huge code cleanup has been done at all levels. Thanks to @fclem for his work and yo @pepeland and @mendio for the testing and help in the development. Differential Revision: https://developer.blender.org/D6293
2020-03-06Cleanup: Rename ARegion variables from ar to regionJulian Eisel
The old convention was easy to confuse with ScrArea. Part of https://developer.blender.org/T74432. This is mostly a batch rename with some manual fixing. Only single word variable names are changed, no prefixed/suffixed names. Brecht van Lommel and Campbell Barton both gave me a green light for this convention change. Also ran clan clang format on affected files.
2020-03-06Cleanup: use 'BKE_' prefix for BKE_deform API callsCampbell Barton
- Use 'BKE_object_defgroup' prefix for object functions. - Rename 'defvert_verify_index' to 'defvert_ensure_index' since this adds the group if it isn't found.
2020-02-15Cleanup: remove various unused definesCampbell Barton
2020-02-12GPencil: Disable multisampling as it is not supported anymoreClément Foucault
Another AA method is comming in the GPencil refactor.
2020-02-12GPencil: Fix colormanagement broken by recent refactorClément Foucault
This is a quick fix that should work until the GPencil refactor lands.
2020-02-12Cleanup: warningCampbell Barton
2020-02-11DRW: Color Management improvementClément Foucault
Reviewed By: brecht sergey jbakker Differential Revision: http://developer.blender.org/D6729
2020-02-10Cleanup/refactor: Rename `BKE_library` files to `BKE_lib`.Bastien Montagne
Note that `BKE_library.h`/`library.c` were renamed to `BKE_lib_id.h`/`lib_id.c` to avoid having a too generic name here. Part of T72604.
2020-02-05T73589: Code Quality: Renaming on BKE_material.hAntonio Vazquez
Old Name New Name ========= ========= init_def_material BKE_materials_init BKE_material_gpencil_default_free BKE_materials_exit test_object_materials BKE_object_materials_test test_all_objects_materials BKE_objects_materials_test_all give_matarar BKE_object_material_array give_totcolp BKE_object_material_num give_current_material_p BKE_object_material_get_p give_current_material BKE_object_material_get assign_material BKE_object_material_assign assign_matarar BKE_object_material_array_assign give_matarar_id BKE_id_material_array give_totcolp_id BKE_id_material_num assign_material_id BKE_id_material_assign clear_matcopybuf BKE_material_copybuf_clear free_matcopybuf BKE_material_copybuf_free copy_matcopybuf BKE_material_copybuf_copy paste_matcopybuf BKE_material_copybuf_paste BKE_material_init_gpencil_settings BKE_gpencil_material_attr_init BKE_material_add_gpencil BKE_gpencil_material_add BKE_material_gpencil_get BKE_gpencil_material BKE_material_gpencil_default_get BKE_gpencil_material_default BKE_material_gpencil_settings_get BKE_gpencil_material_settings
2020-01-29Fix T73188: RenderResult as Camera BG ImageJeroen Bakker
In blender 2.79 you could use a render result as a camera background image. This is useful during layout/compositing. During Blender 2.80 development there were 2 issues introduced that removed this feature. * to receive a render result the image required a lock. This lock wasn't passed and therefore no image was read from the result. Generating an GPUTexture from an Blender image also didn't do the locking. * the iuser->scene field wasn't set what is required for render results. This change adds an optional `ibuf` parameter to `GPU_texture_from_blender` that can be passed when available. Reviewed By: fclem, brecht Differential Revision: https://developer.blender.org/D6684
2020-01-27Fix T72862: Viewport Render doesn't render Grease Pencil OverlaysAntonio Vazquez
Fix by @campbellbarton Note: Duplicated commit done in master first by error