From e7c45804a4d217e7f7e6511865a6d976ffd29706 Mon Sep 17 00:00:00 2001 From: xfy Date: Tue, 14 Jul 2026 17:06:21 +0800 Subject: [PATCH] tweak: lower default disk_tilt from 1.318 to 0.45 At 1.318 rad (~75.5 deg) the disk is nearly vertical: its normal points almost along +Z while the camera yaw axis is world-Y, so the two axes sit ~75 deg apart. Orbiting via yaw (a horizontal circle around world-Y) therefore shears the disk through view -- full circle, squashed ellipse, edge-on sliver, back circle -- which reads as the disk swinging or the scene rolling. 0.45 rad (~25.8 deg) brings the disk near-horizontal (normal approx (0, 0.90, 0.43)), shrinking the yaw-axis / disk-normal misalignment from ~75 deg to ~26 deg. The swing is correspondingly muted; orbiting feels like turning around the hole rather than shearing across a wall. Both defaults are updated in lockstep: BlackHoleParams (the live runtime default) and BlackHoleUniforms (the bootstrap uniform filled before the first mirror_params frame). --- src/params.rs | 2 +- src/render/material.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/params.rs b/src/params.rs index ce50529..a469e32 100644 --- a/src/params.rs +++ b/src/params.rs @@ -35,7 +35,7 @@ impl Default for BlackHoleParams { rs: 1.0, disk_inner: 3.0, disk_outer: 15.0, - disk_tilt: 1.318, // ~75.5 deg, matching the reference video + disk_tilt: 0.45, // ~25.8 deg disk_brightness: 1.0, disk_rotation_speed: 0.5, doppler_enabled: true, diff --git a/src/render/material.rs b/src/render/material.rs index ca4ca79..8bb24b9 100644 --- a/src/render/material.rs +++ b/src/render/material.rs @@ -58,7 +58,7 @@ impl Default for BlackHoleUniforms { rs: 1.0, disk_inner: 3.0, disk_outer: 15.0, - disk_tilt: 1.318, + disk_tilt: 0.45, disk_brightness: 1.0, disk_rotation_speed: 0.5, doppler_strength: 1.0,