Page MenuHome

Line Art feature update: Automatic crease with flat/smooth surfaces
ClosedPublic

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

Details

Summary

This allows crease lines to be automatically hidden on smooth surfaces, also provided options for:

  • Showing crease on marked sharp edges.
  • Force crease detection on smooth surfaces.

Diff Detail

Repository
rB Blender

Event Timeline

YimingWu (NicksBest) requested review of this revision.Jul 28 2021, 11:56 AM
YimingWu (NicksBest) updated this revision to Diff 40045.
YimingWu (NicksBest) created this revision.
YimingWu (NicksBest) edited the summary of this revision. (Show Details)

Fix naming problem

YimingWu (NicksBest) edited the summary of this revision. (Show Details)Jul 28 2021, 12:06 PM
YimingWu (NicksBest) updated this revision to Diff 40177.EditedJul 31 2021, 5:42 AM

Mesh auto smooth supported.

Crease value priority:

  • Highest: object line art crease override.
  • Second: auto smooth crease.
  • Lowest: line art modifier crease.

LGTM... Not sure about maths (I don't know enough about LineArt to test )...we need someone with good LineArt knowledge.

This revision is now accepted and ready to land.Sep 11 2021, 10:53 AM

Updated to latest master

I'm curious, is there a reason for this to be optional? Modifying the input meshes seems like a valid thing to do in this case, instead of adding yet another option to the modifier.

source/blender/makesdna/DNA_lineart_types.h
55–60

Looks like there are two defines with the same value now.

I'm curious, is there a reason for this to be optional? Modifying the input meshes seems like a valid thing to do in this case, instead of adding yet another option to the modifier.

Because sometimes you need to have sharp shading at some places while not showing crease, and vise versa.