Page MenuHome

Replace MFace Usage by MLoopTri in MOD_laplaciansmooth.c
AbandonedPublic

Authored by Campbell Barton (campbellbarton) on Jul 20 2015, 1:48 PM.

Details

Summary

This patch attempts to replace MFace Usage by MLoopTri in MOD_laplaciansmooth.c
Note: this requires some help, because I couldnt get the exact former behavior of the modifier...
so this is a preliminary patch. I am open to suggestions how to fix.
Subtask of T45474 .

Diff Detail

Repository
rB Blender
Branch
arcpatch-D1422

Event Timeline

Martin Felke (scorpion81) retitled this revision from to Replace MFace Usage by MLoopTri in MOD_laplaciansmooth.c.
Martin Felke (scorpion81) updated this object.

Theres no need to make an edge-hash here, you can just inspect the looptri's edge, and check if it runs along the same vertices as the looptri's.

Martin Felke (scorpion81) updated this revision to Diff 4736.
Martin Felke (scorpion81) removed rB Blender as the repository for this revision.

removed edgehash and comparing edges with looptri edges / verts now.

source/blender/modifiers/intern/MOD_laplaciansmooth.c
318–320

On IRC you reported that the results with this patch were different from 2.75a.

This would definitely be one reason why, since its adding the weight of a tessellated corner.

I think its worth to investigate supporting ngon's for this code, where each corner is calculated and evaluated based on the 2 adjacent verts of the loop. And the area is calculated on the polygon.

what is the status on this wasn't all the Mlooptri stuff merge with 2.76?