JuliaGeometry / Meshing.jl

Meshing and isosurface extraction algorithms
Other
58 stars 13 forks source link

GeometryBasics Normal Calculations/general API for specifying normals #75

Closed sjkelly closed 4 months ago

sjkelly commented 4 years ago

We have mostly relied on the GeometryTypes API to generate normals. In GB we can do the same, but we shouldn't fix the calls to Mesh. E.g. GLNormalMesh3D should work.

Similarly I have been getting good results using autodiff to make normals on functions, so it would be nice to have an explicit API for passing a normal function to the meshing process.