Skip to content

volume shows objects from behind the camera #5085

@hsgg

Description

@hsgg

Versions: Makie v0.23.0, GLMakie v0.12.0

Can be reproduced with a fresh environment, --startup-file=no.

I see the same on MacOS M1, Fedora Intel integrated GPU, and Arch Linux AMD Radeon 7600 XT.

Inside the volume, objects from behind are shown.
Here is a minimal example:

using GLMakie
vol = rand(1000,50,50);
fig, scene, _ = volume(vol)

controls = cameracontrols(scene)

# position the camera at the long end:
controls.eyeposition[] = Vec3f(1300, 25, 25)
controls.lookat[] = Point3f(1200, 25, 25)
update_cam!(scene.scene)

Next, press w to enter the volume. Once inside notice how elements from behind seem to get mirrored across the direction of view, creating an effect where part of the volume is moving past you from behind:

Screencast.From.2025-06-16.21-44-01.mp4

This was previously discussed here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GLMakieThis relates to GLMakie.jl, the OpenGL backend for Makie.WGLMakieThis relates to WGLMakie.jl, the Web-based WebGL backend for Makie.bugrenderingtypically backend specificvolume

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions