Skip to content

Comments

Stage camera#5472

Open
jkrumbiegel wants to merge 9 commits intomasterfrom
jk/stage-camera
Open

Stage camera#5472
jkrumbiegel wants to merge 9 commits intomasterfrom
jk/stage-camera

Conversation

@jkrumbiegel
Copy link
Member

This PR adds a StageCamera 3D camera type which, at least for my way of thinking and visualizing a scene, allows for more intuitive camera settings as the parameters are photographically orthogonal. In a normal 3D camera, you set camera position, lookat and fov. But changing position changes camera angle and apparent size of target object. You can then counteract with fov but that's a bit annoying to do iteratively. The StageCamera decouples this by always keeping a "stage" of a fixed size around the lookat point in view. This allows to change camera angles and perspective separately. The camera distance is determined given the stage size that must be in view for the chosen fov.

stage_camera.mov

@github-project-automation github-project-automation bot moved this to Work in progress in PR review Dec 30, 2025
@MakieBot
Copy link
Collaborator

Benchmark Results

SHA: d7e18456e8a3988a24d18bf16875218ebdcbd08f

Warning

These results are subject to substantial noise because GitHub's CI runs on shared machines that are not ideally suited for benchmarking.

GLMakie
CairoMakie
WGLMakie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Work in progress

Development

Successfully merging this pull request may close these issues.

2 participants