Skip to content

Add 30/60 FPS toggle option#1

Open
JohnnyJF10 wants to merge 1 commit into
masterfrom
claude/60fps-option-analysis-9smhsv
Open

Add 30/60 FPS toggle option#1
JohnnyJF10 wants to merge 1 commit into
masterfrom
claude/60fps-option-analysis-9smhsv

Conversation

@JohnnyJF10

Copy link
Copy Markdown
Owner

Adds a Frame Rate setting (30/60) to the video options menu, persisted
via the registry alongside the other tomb3 settings.

The fixed-30Hz game simulation (ControlPhase) is left untouched. When
60 FPS is enabled, DrawPhaseGame renders and presents an extra
interpolated frame between simulation ticks, lerping the camera and
Lara's root position/rotation halfway between the previous and current
tick's state, then restoring the true simulation state before
returning. Large jumps (room changes, teleports) snap instead of
lerping to avoid smearing. The HUD is intentionally not redrawn on the
interpolated frame since several of its draw calls (pickup icons,
health/air flash) advance their own timers as a side effect and would
otherwise double-tick at 60Hz.

Cutscenes, menus, inventory, the pause menu, and the map screen are
unaffected and continue to run at their original 30Hz pacing.

Adds a Frame Rate setting (30/60) to the video options menu, persisted
via the registry alongside the other tomb3 settings.

The fixed-30Hz game simulation (ControlPhase) is left untouched. When
60 FPS is enabled, DrawPhaseGame renders and presents an extra
interpolated frame between simulation ticks, lerping the camera and
Lara's root position/rotation halfway between the previous and current
tick's state, then restoring the true simulation state before
returning. Large jumps (room changes, teleports) snap instead of
lerping to avoid smearing. The HUD is intentionally not redrawn on the
interpolated frame since several of its draw calls (pickup icons,
health/air flash) advance their own timers as a side effect and would
otherwise double-tick at 60Hz.

Cutscenes, menus, inventory, the pause menu, and the map screen are
unaffected and continue to run at their original 30Hz pacing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants