Page MenuHome

Geometry Nodes: Mesh Auto Smooth
AbandonedPublic

Authored by Erik Abrahamsson (erik85) on Jul 29 2021, 9:24 PM.

Details

Summary

This patch adds a new node "Mesh Auto Smooth" that will enable the auto smooth flag on a mesh, and set the auto smooth angle.

Diff Detail

Repository
rB Blender

Event Timeline

Erik Abrahamsson (erik85) requested review of this revision.Jul 29 2021, 9:24 PM
Erik Abrahamsson (erik85) created this revision.

mesh_convert.c modified to keep the mesh's Auto smooth settings when the GN-modifier is applied.

As far as I can tell, the trouble with this node is that it doesn't actually do anything, it just sets the flag and the threshold for use during rendering. That's already quite useful, but it doesn't seem like a complete design.

For example, how does this node change data in a way that's visible with nodes? It seems important that it should do that. If the face corner normals were visible and editable with nodes, maybe that would work?
But we also don't want to do redundant calculations when it isn't necessary. Currently vertex and face normals can be calculated on demand, since they are just derived data. If they are calculated in the node tree, there should be a way to make sure they aren't recalculated unnecessarily later.

Maybe my comment just conveys a sort of general lack of clarity, and I think that's just what we need here.

Brilliant, thanks very much for the patch, this is a life saver!

Hans Goudey (HooglyBoogly) abandoned this revision.EditedDec 8 2021, 11:58 PM

I'm going to go ahead and close this one. We finally had some design discussion about this, and came to the conclusion that larger changes are necessary to create a proper workflow.

Actively looking for feedback on those design changes here: T93551: Mesh Auto Smooth and Normals Design Changes