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-09-27Cleanup: structs, cmake file listsCampbell Barton
2019-09-17DRW: Refactor to support draw call batchingClément Foucault
Reviewers: brecht Differential Revision: D4997
2019-09-14Revert "DRW: Refactor to support draw call batching"Clément Foucault
This reverts commit ce34a6b0d727bbde6ae373afa8ec6c42bc8980ce.
2019-09-13DRW: Refactor to support draw call batchingClément Foucault
Reviewers: brecht Differential Revision: D4997
2019-09-05Eevee: Shadow map refactorClément Foucault
Reviewed By: brecht Differential Revision: http://developer.blender.org/D5659
2019-08-25Cleanup: redundant struct declarationsCampbell Barton
2019-08-15DRW: New function DRW_culling_min_max_testmano-wii
For testing intersection with frustrum planes without having to transform all bound box vertices into global space.
2019-06-27DRW: Add DRW_STATE_BLEND_CUSTOMClément Foucault
This one enable dual source blending, enabling more fine tuned blending parameters inside the shader.
2019-06-26DRW: New function to retry stencil_mask valueAntonioya
This function is a workaround to use the stencil in grease pencil and reduce the number of clears. Reviewed by @fclem. Note: This function will be removed when draw manager supports stencil clearing by group.
2019-06-18Add a new function to recover the next shading group.Antonioya
After talking with @fclem, we decided to keep this as a workaround function waiting for the clearing operation to be available inside the shgroups.
2019-06-17DRW: Make stencil state clearer and distinctClément Foucault
Write and test states are now separate and need to be explicit. Also add asserts when trying to write without test enabled.
2019-06-17Cleanup: Fix comment typo errorAntonioya
2019-06-14Cleanup: sort structsCampbell Barton
2019-06-06Cleanup: extra-semi-stmt warningCampbell Barton
2019-05-31Fix sculpt mode drawing with modifiers still being wrong in some casesBrecht Van Lommel
Centralize logic for when to use the PBVH for drawing, fix missing tests in mask drawing, fix missing tests for multiple windows, only do more expensive update for all viewports at end of the stroke.
2019-05-31DrawManager: Color ManagementJeroen Bakker
The draw manager used to determine if the view transform should be applied by checking if the scene was not rendered to an offscreen image. As the sequencer and texture painting needs to render to an offscreen image with the view transform applied we need to separate the `do_color_management` from the `is_image_render`. Reviewed By: fclem Maniphest Tasks: T64849 Differential Revision: https://developer.blender.org/D4909
2019-05-30DRW: Refactor to use object pointer for drawcall by defaultClément Foucault
This cleans up a bit of duplicated code and some confusion about what was culled and what wasn't. Now everything is culled based on the given object pointer. If the object pointer is NULL there is no culling performed.
2019-05-28DRW: Fix issue introduce in removal of DRW_STATE_POINTClément Foucault
Fix issue raised by mano-wii in rB97d22e12b521 Fix T65050 knife tool snapping indicator not visible
2019-05-28Cleanup: DRW: Rename DRW_STATE_BLEND_* for API clarityClément Foucault
2019-05-27Cleanup: DRW: Remove DRW_STATE_OFFSETClément Foucault
2019-05-22DRW/Eevee: Fix camera texture coordinates in rendersClément Foucault
This patch fix the issue introduced by recent refactor and fixes computation when using overscans.
2019-05-22Cleanup: DRW: Remove, rename stuffsClément Foucault
2019-05-22DRW: DRWView: Finish refactorClément Foucault
2019-05-22DRW: Add view param to DRW_culling_* functionsClément Foucault
2019-05-22DRW: Remove DRW_state_clip_planes_resetClément Foucault
2019-05-22DRW: Remove DRW_state_clip_planes_set_from_rv3dClément Foucault
This should be handled by DST.view_default
2019-05-22DRW: Add DRWView to improve different view handlingClément Foucault
This will have multiple benefit. TODO detail benefits (culling, more explicit, handling of clipping planes) For now the view usage is wrapped to make changes needed more progressive.
2019-05-17Cleanup: DRW: Remove uneeded DRWState valuesClément Foucault
This removes: - DRW_STATE_TRANS_FEEDBACK - DRW_STATE_WIRE - DRW_STATE_POINT
2019-05-17Cleanup: Eevee: Remove custom volumetric matrixClément Foucault
This was the same as using the inverse obmat.
2019-05-17Eevee: Remove the Volumetric Render checkboxClément Foucault
This is to simplify the usage of Volumetrics. Now it automatically detect if there is any Volumetric material in the view and allocate the needed buffer if any.
2019-05-14Cleanup: DRW: Add and use DRW_shgroup_uniform_vec2_copyClément Foucault
2019-05-14Cleanup: DRW: Remove uneeded _add suffix from DRW_shgroup_call_addClément Foucault
2019-05-14DRW: Refactor: Use DRWCall to accumulate per instance attributesClément Foucault
This is a big change that cleanup a lot of confusing code. - The instancing/batching data buffer distribution in draw_instance_data.c. - The selection & drawing code in draw_manager_exec.c - Prety much every non-meshes object drawing (object_mode.c). Most of the changes are just renaming but there still a chance a typo might have sneek through. The Batching/Instancing Shading groups are replace by DRWCallBuffers. This is cleaner and conceptually more in line with what a DRWShadingGroup should be. There is still some little confusion in draw_common.c where some function takes shgroup as input and some don't.
2019-05-14Cleanup: DRW: Remove unused functionsClément Foucault
2019-05-14DRW: Make Instance count not a pointerClément Foucault
Goal is still to simplify the draw manager.
2019-05-14Cleanup: DRW: Remove pointers to materialsClément Foucault
2019-05-11Fix T64137 Empty Images flickering graphics when "Auto Depth" is enabledClément Foucault
Also fix T64373 Grid intensity increases in Ortographic when use Circle Select in GPencil Edit mode
2019-05-08DRW: Add DRW_duplidata_get to create fast path for duplisClément Foucault
This is in order to create less shading group when using duplis. Data for dupli objects keep in draw manager state until the source object changes so retrieval is fast. Note that this system could be extended to all meshes.
2019-05-04Cleanup: Remove unused code in sculpt_mode, workbench and draw managerClément Foucault
2019-05-04Sculpt: Refactor draw manager sculpt drawing mechanismClément Foucault
Workbench/Eevee now displays multiple multi-materials correctly. Iterate over pbvh nodes when doing object iteration. This makes the rendering process more streamlined and allow for using different materials. This change will make possible to: - Add culling pass of each pbvh leaf node. (speedup if zoomed on a small area) - Reduce number of lead node iteration. - Reduce code complexity
2019-05-02Fix T63997 Weird z-fight during weight paintClément Foucault
PBVH drawing was used even in weightpaint/vertexpaint because both uses the sculpt session.
2019-05-02Cleanup: Draw Manager: remove DRW_state_invert_facingClément Foucault
2019-05-01DRW: Add DRW_STATE_BLEND_PREMUL_UNDERClément Foucault
Just basic alpha under operation with premultiplied source.
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-16Cleanup: trailing commasCampbell Barton
2019-04-09Fix T62114: Wireframe mode selection: selects backside objects when clicking ↵Sebastian Parborg
frontside object in 3d-window Now the depth order of objects when trying to select them is only used when not in X-ray mode. Before, this was only the case in wireframe mode regardless of X-ray settings. I've also unified the usage of V3D_XRAY and XRAY_FLAG as they were basically copies of each other. Reviewed By: Clément Differential Revision: http://developer.blender.org/D4504
2019-04-02Cleanup: empty expression statement warningCampbell Barton
2019-03-20Cleanup: use lowercase for dimensions in function namesCampbell Barton
Most API's already use this convention.
2019-03-05DRW: Fix rasterizer discard messing with clear commandsClément Foucault
Fixes T62179 Viewport Ghosting on rigs
2019-02-27Cleanup: file rename lamp -> lightCampbell Barton