Page MenuHome

Fix T79803: Wrong Distance To Edge 1D Voronoi
ClosedPublic

Authored by Omar Emara (OmarSquircleArt) on Aug 19 2020, 6:25 PM.

Details

Summary

The current 1D Voronoi implementation for the Distance to Edge option
computes the distance to the cells instead. This patch fixes that and
compute the distance to the edge instead.

Diff Detail

Repository
rB Blender
Branch
fix-1d-edge-voronoi (branched from master)
Build Status
Buildable 9650
Build 9650: arc lint + arc unit

Event Timeline

Omar Emara (OmarSquircleArt) requested review of this revision.Aug 19 2020, 6:25 PM
Omar Emara (OmarSquircleArt) created this revision.

How does this affect the results? Can you show an example of how it looks before and after this change?

@Jacques Lucke (JacquesLucke) Left is the old result. Right is the new result.

The math makes sense to me. Not sure what @Brecht Van Lommel (brecht) things about the noise pattern change, but given that this only affects 1D voronoi noise, it's probably fine to commit. You should still wait for his approval.

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