Closed bdice closed 5 years ago
Fresnel doesn't natively support ellipsoids so this performs an approximation via convex polyhedra, similar to the pythreejs backend. See https://github.com/glotzerlab/fresnel/issues/64.
Note: It's kind of slow (rendering on my CPU), probably because the geometry checks for ray tracing a complex convex polyhedron are more expensive than if the ellipsoid were directly implemented in fresnel.
Fresnel doesn't natively support ellipsoids so this performs an approximation via convex polyhedra, similar to the pythreejs backend. See https://github.com/glotzerlab/fresnel/issues/64.
Note: It's kind of slow (rendering on my CPU), probably because the geometry checks for ray tracing a complex convex polyhedron are more expensive than if the ellipsoid were directly implemented in fresnel.