A macOS window shows the first lit, fogged 3D scene #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "task/3866-a-macos-window-shows-the-first-lit-fogge"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tracker: #3866
Tracker: #3866
The first visible build of hulken, the first step of Foundation #3569.
sx build main.sxbundlessx-out/macos/Hulken.app(SDL3 window, Metal); a camera circles a test scene of a ruin, crates and a marker on checkered grass, with towers out in the fog.src/render: camera, mesh builder, fragment-stage constants, and the scene renderer — per-fragment sun with hemisphere ambient, exponential distance fog, mipmapped repeat-sampled ground texture.tests/first_scene_golden.sxpins the scene from a fixed orbit point againsttests/pixels/first-scene-metal.png;tools/run_tests.shruns every test.Verification
sx build main.sxbundles the app; launched, it shows the scene in a resizable window.bash tools/run_tests.sh: 1 passed. Recolouring the marker box fails the golden (284 pixels past tolerance).Head:
3e10bffe9dMerged into master with #2 (
17c43e1): its commit3e10bffis in master, reviewed and approved in #2's review run (sak flow run 152, run 1310).Pull request closed