# Mesh is displayed properly on CairoMakie, but not in GLMakie

**URL:** https://discourse.julialang.org/t/mesh-is-displayed-properly-on-cairomakie-but-not-in-glmakie/112977
**Category:** Visualization
**Tags:** makie, glmakie, cairomakie
**Created:** [April 15, 2024, 7:58pm UTC](https://discourse.julialang.org/t/mesh-is-displayed-properly-on-cairomakie-but-not-in-glmakie/112977 "2024-04-15T19:58:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![marcsgil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marcsgil/32/33908_2.png) [@marcsgil](https://discourse.julialang.org/u/marcsgil)
#### Post date: [April 15, 2024, 7:58pm UTC](https://discourse.julialang.org/t/mesh-is-displayed-properly-on-cairomakie-but-not-in-glmakie/112977/1 "2024-04-15T19:58:24Z")

</div>

Hello!

I’m running the following code snippet to produce a sphere:

```julia
using GLMakie

fig = Figure()
ax = Axis3(fig[1, 1], aspect=:equal)

mesh!(ax, Sphere(Point3f(0), 1), alpha=0.1)
scatter!(ax,0,0,0, color=:red)

fig

```

with the corresponding output:

![image](https://global.discourse-cdn.com/julialang/original/3X/6/3/6311659af637bb9e3b51933cbe04eb4679223831.png)

As a reference, here is the same output but using CairoMakie:

![image](https://global.discourse-cdn.com/julialang/original/3X/3/3/33fa8a9bf46bc438002da9f88323d31b9f26e116.png)

Does anyone have an idea what might be going on here?

Here is my enviroment

```julia
[13f3f980] CairoMakie v0.11.10
 [31c24e10] Distributions v0.25.107
 [e9467ef8] GLMakie v0.9.10
 [5c1252a2] GeometryBasics v0.4.10
 [7f904dfe] PlutoUI v0.7.58
 [4f50160c] PositionMeasurements v0.1.0
`https://github.com/marcsgil/PositionMeasurements.jl.git#main`
 [13204c95] StructuredLight v0.2.0

```

and `versioninfo()`:

```julia
Julia Version 1.10.2
Commit bd47eca2c8a (2024-03-01 10:14 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 16 × AMD Ryzen 7 2700X Eight-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver1)
Threads: 16 default, 0 interactive, 8 GC (on 16 virtual cores)
Environment:
  JULIA_EDITOR = code

```

Thanks!
