Page MenuHome

Line Art feature update: Trimming edges right at the image border
ClosedPublic

Authored by YimingWu (NicksBest) on Aug 4 2021, 10:45 AM.

Details

Summary

This option allows the edge to end right at the border instead of extending beyond. Useful when having multiple camera setup where you want the border to be clean.

Also moved overscan option down inside "Composition" sub panel so it makes more sense.

Gif for effect:

Diff Detail

Repository
rB Blender

Event Timeline

Antonio Vazquez (antoniov) requested changes to this revision.Sep 11 2021, 10:51 AM

In general looks ok, just small comments. Just set as request changes to avoid automatic approval.

source/blender/gpencil_modifiers/intern/lineart/lineart_chain.c
937

IIRC the variable names must be lowercase, only #define can be uppercase

993

Could you use LISTBASE_FOREACH_MUTABLE?

This revision now requires changes to proceed.Sep 11 2021, 10:51 AM
YimingWu (NicksBest) marked 2 inline comments as done.Sep 11 2021, 1:19 PM
YimingWu (NicksBest) added inline comments.
source/blender/gpencil_modifiers/intern/lineart/lineart_chain.c
993

I just checked the marco, it will assign iter_next during looping which will override my assign, so I need to write it this way.

YimingWu (NicksBest) marked an inline comment as done.

Updated to latest master.

Note: Requres D12047

@YimingWu (NicksBest) We tried to apply the patch to review UI, but the patch fails to apply. Could you rebase the patch?

Updated to latest. Note: Requires D12047.

Updated to latest. Note: Requires D12047.

@YimingWu (NicksBest) in order to test patches, we need to have patches that can be tested without relying on others.
Could you please arrange this and all the related patches so that they can be tested on their own?

Will do. Just a moment please

Updated for ease of testing by including parent patches.

When committing I'll only include this specific diff.

This revision is now accepted and ready to land.Sep 23 2021, 3:12 PM