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
While testing the examples for mesh I stumbled upon a weird error when replacing mesh with poly.
In fact, evaluating this example works fine
using FileIO
using GLMakie
brain = load(assetpath("brain.stl"))
f, ax, m = mesh(
brain,
color = [tri[1][2] for tri in brain for i in 1:3],
colormap = Reverse(:Spectral),
figure = (resolution = (1000, 1000),)
)
Colorbar(f[1,2],m)
and expectedly returns the brain image with a colorbar on its right
However, just replacing the mesh with a poly fails with
Apparently doing the same thing with wireframe fails in the same fashion.
This is particularly surprising to me since a mesh seems to be the combination of a poly and a wireframe...
I'm running on
Julia Version 1.7.1
Commit ac5cc99908 (2021-12-22 19:35 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-12.0.1 (ORCJIT, tigerlake)
with GLMakie v0.5.1
The text was updated successfully, but these errors were encountered:
While testing the examples for
mesh
I stumbled upon a weird error when replacingmesh
withpoly
.In fact, evaluating this example works fine
and expectedly returns the brain image with a colorbar on its right

However, just replacing the
mesh
with apoly
fails withApparently doing the same thing with
wireframe
fails in the same fashion.This is particularly surprising to me since a
mesh
seems to be the combination of apoly
and awireframe
...I'm running on
with GLMakie v0.5.1
The text was updated successfully, but these errors were encountered: