Page MenuHome

Subdiv: Use better default UV interpolation
ClosedPublic

Authored by Sergey Sharybin (sergey) on Jan 14 2021, 4:07 PM.

Details

Summary

This change consists of several local commits, which are:

  • Fixing wrong Python identifier used for SMOOTH_ALL.
  • Expose all UV interpolation modes.

The default one is now UVs are smoothed, boundaries are kept sharp.

This fixes distortion reported in T83470.

Diff Detail

Repository
rB Blender

Event Timeline

Sergey Sharybin (sergey) requested review of this revision.Jan 14 2021, 4:07 PM
Sergey Sharybin (sergey) updated this revision to Diff 32778.

Attempt to bring missed commits to the review.

Brecht Van Lommel (brecht) added inline comments.
source/blender/makesrna/intern/rna_modifier.c
1665 ↗(On Diff #32778)

boundaries -> Boundaries

This revision is now accepted and ready to land.Jan 14 2021, 4:11 PM

Switch default to PRESERVE_BOUNDARIES.

This is something we have discussed with Brecht here are the studio.
Updating the patch, so that there is no discrepancy between of what
was accepted in the past and what came out of followup discussion.

One thing is that modifiers test is now failing. Need to address
this, but first need to understand what is it exactly test should
consider a regression.

Just for the record. The default did change compared to the state of the code at which Brecht accepted the revision. This is something we've discussed here at the studio.