You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.
I noticed that the lighting of Spheres (or meshes thereof) in Makie is not smooth. It seems like this is because normals are not generated correctly. For example
using Makie, GeometryTypes
m =GLNormalMesh(Sphere(Point3f0(0), 1f0))
scene1 =mesh(m, color=:red)
# copy with normals = vertices
m =GLNormalMesh(vertices(m), GeometryTypes.faces(m), vertices(m), m.texturecoordinates, m.color, m.attributes, m.attribute_id)
scene2 =mesh(m, color=:red)
scene =vbox(scene1, scene2)
results in
The text was updated successfully, but these errors were encountered:
I noticed that the lighting of
Sphere
s (or meshes thereof) in Makie is not smooth. It seems like this is because normals are not generated correctly. For exampleresults in
The text was updated successfully, but these errors were encountered: