Page MenuHome

Line Art feature update: Camera Overscan
ClosedPublic

Authored by YimingWu (NicksBest) on Jul 28 2021, 11:05 AM.

Details

Summary

Expand camera effective region to a portion beyond image frame so strokes won't end right at the border.

Needs D12047

Diff Detail

Repository
rB Blender

Event Timeline

YimingWu (NicksBest) requested review of this revision.Jul 28 2021, 11:05 AM
YimingWu (NicksBest) created this revision.

LGTM, just some comments above.

This parameter is very handy.

source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c
2074

Maybe you could use const here

2084

Not sure if this type of code must be included in master

This revision is now accepted and ready to land.Jul 28 2021, 1:20 PM
YimingWu (NicksBest) marked 2 inline comments as done.Jul 28 2021, 1:34 PM
YimingWu (NicksBest) added inline comments.
source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c
2084

It's been there for some time 🤔 users sometimes can also use this info to report stuff so yeah.

YimingWu (NicksBest) marked an inline comment as done.

Fix visibility check for supporting camera shift values.

This revision was automatically updated to reflect the committed changes.

When a new feature already exists in another context, it is useful to check how the UI is done already. For example Eevee has an overscan feature and the UI looks like this

So it is displayed in percentage and has a separate check for enabling and disabling the overscan

Thanks for the reminder :D. I'll make it more consistent.