Classroom hero while the camera moves: judge the built options, firefly clamp, dynamic resolution (N11.13)

Open
#40 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
39/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

Start with bench/pages/nrc-pipeline.ts and bench/hero/README.md, then run the showcase and bench page in a visible live window to judge the moving camera caps and automatic resolution switch. Compare frame times and image quality while moving, and investigate the raw sample clamp, dynamic render resolution, and real frame time passed to the upscaler. Done when these behaviors are evaluated and their settings or follow-up needs are documented; dynamic resolution requires a session that can change film size without a rebuild.

Written by the indexing model from the issue text.

Description

enhancement

Task: N11.13 follow-up · Where: bench/pages/nrc-pipeline.ts (cameraMoving, applyCacheSettings, autoResolution), bench/hero/README.md

State

Built 2026-11-26 as first guesses, not judged in motion (no quiet machine):

  • Steps / frame while moving: half the still value, at least 1 (showcase 2 → 1, bench page 4 → 2; ?stepsMoving=).
  • Max history while moving: upscaler history capped at 8 of 24 frames, no history reset (?upHistoryMoving=).
  • "Moving" = the camera changed, held 250 ms after the last change.
  • Lower the resolution if the GPU is slow (showcase): median frame over 50 ms at 960 × 540 after the first 60 frames → 640 × 360 once.

Checked: the caps switch on a camera change and return after the hold.

Open

  1. Judge both caps in motion through the chain, on a visible window: trailing against grain for the history cap, and the frame time gained by the training cut (quiet pass). Tune 8 frames, 250 ms, 50 ms.
  2. Check the automatic resolution switch in a live window (it only runs from the animation-frame loop).
  3. (c) Moving-only firefly clamp on the raw sample.
  4. (d) Dynamic render resolution: needs a session that can change film size without a rebuild.
  5. The upscaler is fed a fixed 1/60 s frame time in post; pass the real one and see whether it matters.
Dominant language
TypeScript
Stars
1
Forks
0
Avg merge
15h 19m
Merged PRs (30d)
8

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pmndrs/pathtracer

All issues in pmndrs/pathtracer

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.