Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
732217f
feat(assets): discover vanilla and Prism Launcher installs
Trilleo Nov 27, 2026
d63560b
feat(assets): read files from the client jar and resource packs
Trilleo Nov 27, 2026
9d2eba7
feat(assets): parse blockstates and select models
Trilleo Nov 27, 2026
2448696
feat(assets): resolve and bake block models
Trilleo Nov 27, 2026
2101903
fix(assets): treat face textures without '#' as variables
Trilleo Nov 27, 2026
8e6ed79
feat(assets): build the block texture array
Trilleo Nov 27, 2026
c874727
feat(world): read 26.3 saves into a sparse block grid
Trilleo Nov 27, 2026
8852adf
feat(render): mesh block grids into per-section pass buffers
Trilleo Nov 27, 2026
2fbac5b
feat(render): add the rasterized preview engine
Trilleo Nov 27, 2026
74f55e0
feat(app): add the preview viewport and fly camera
Trilleo Nov 27, 2026
b99aa26
feat(app): add the project panel with background loading
Trilleo Nov 27, 2026
7fa401c
feat(render): add simple water and lava; docs pass for M1
Trilleo Nov 27, 2026
d2360c0
fix: show default-state blocks, grass overlays and true viewport colours
Trilleo Nov 27, 2026
053f6af
fix(app): hold the cursor in place during right-drag look
Trilleo Nov 27, 2026
3fb7144
docs(docs): close M1 (Viewer)
Trilleo Nov 27, 2026
00c2cc4
docs(docs): plan M2 (Path tracer) in the roadmap
Trilleo Nov 27, 2026
460704c
docs(docs): fix M1 leftovers before starting M2
Trilleo Nov 27, 2026
b61e4b3
feat(render): add progressive engines and shared camera rig
Trilleo Nov 27, 2026
f63f5ed
feat(pt): add quad grid acceleration structure
Trilleo Nov 27, 2026
f961035
refactor(render): share block texture upload between engines
Trilleo Nov 27, 2026
33b2a2c
feat(pt): trace the quad grid on the GPU with an albedo view
Trilleo Nov 27, 2026
e18d434
feat(pt): add path-traced lighting with accumulation and tonemap
Trilleo Nov 27, 2026
8a411ae
feat(pt): add Preetham sky, sun colour and soft sun shadows
Trilleo Nov 27, 2026
77025c9
feat(pt): add cutout, translucent and emissive materials
Trilleo Nov 27, 2026
0241fc8
feat(render): add PNG export and a Save PNG button
Trilleo Nov 27, 2026
c9a44c1
feat(app): add path-tracer controls with progress and pause
Trilleo Nov 27, 2026
fe0f6ae
perf(pt): split passes into bands and add a path-tracer benchmark
Trilleo Nov 27, 2026
b457eba
docs(docs): close M2 (Path tracer)
Trilleo Nov 27, 2026
ce48a02
feat(assets): stack resource packs on the client jar when loading
Trilleo Nov 27, 2026
2d70b0a
feat(app): add a Resource Packs section to the project panel
Trilleo Nov 27, 2026
e67cc90
perf(app): reuse the loaded blocks when applying resource packs
Trilleo Nov 27, 2026
d9a9d77
feat(assets): cap the block texture layer size for high-res packs
Trilleo Nov 27, 2026
564a806
feat(assets): load LabPBR normal and specular maps
Trilleo Nov 27, 2026
534b15b
feat(pt): bind LabPBR maps and add normal/specular map views
Trilleo Nov 27, 2026
4aa9215
feat(pt): add normal mapping to the path tracer
Trilleo Nov 27, 2026
079ae69
feat(pt): add LabPBR specular materials with sun MIS
Trilleo Nov 27, 2026
84f0b23
feat(pt): add LabPBR emission maps to the path tracer
Trilleo Nov 28, 2026
657beda
feat(app): add a PBR materials switch to the path tracer
Trilleo Nov 28, 2026
f337dfc
test(pt): measure the path tracer on a real world and LabPBR pack
Trilleo Nov 28, 2026
7f728e0
docs: close milestone M3 (PBR & packs)
Trilleo Nov 28, 2026
271085b
docs: mark the M1 and M2 smoke tests done
Trilleo Nov 28, 2026
aca3850
docs: plan milestone M4 and fix M3 leftovers
Trilleo Nov 28, 2026
9d15281
feat(pt): accumulate denoiser features (albedo, normal)
Trilleo Nov 28, 2026
fd0bbfe
build(deps): add optional OIDN denoiser and ship it in releases
Trilleo Nov 28, 2026
d4a9bf8
feat(pt): denoise path-traced images with OIDN
Trilleo Nov 28, 2026
dbf43a0
feat(app): add denoise controls to the Render panel
Trilleo Nov 28, 2026
7721a1f
feat(render): light blocks that glow by block state
Trilleo Nov 28, 2026
652b9b3
feat(pt): sample glowing blocks as lights
Trilleo Nov 28, 2026
a5fc7e1
feat(render): slope water and lava surfaces; trace them as triangles
Trilleo Nov 28, 2026
d7e0c73
feat(pt): trace water as a refracting, absorbing medium
Trilleo Nov 28, 2026
c331ab2
feat(pt): add height fog with scattering, light shafts and a Fog panel
Trilleo Nov 28, 2026
55041a7
feat(world): read paintings, item frames and display entities
Trilleo Nov 28, 2026
ce19712
feat(assets): load item definitions and extrude generated item models
Trilleo Nov 28, 2026
14b1b48
feat(render): draw paintings, item frames and display entities
Trilleo Nov 28, 2026
cf59c38
test(pt): time denoising and entities in the real-world benchmark
Trilleo Nov 28, 2026
5deb5ce
test(pt): time denoising and entities in the real-world benchmark
Trilleo Nov 28, 2026
679312f
docs(docs): plan M5 and fix M4 leftovers
Trilleo Nov 28, 2026
d387872
test(sp): add the shader-pack census spike for GLSL -> SPIR-V -> naga
Trilleo Nov 28, 2026
d8c77c4
feat(sp): load shader packs with options, properties and programs
Trilleo Nov 28, 2026
6564dd8
feat(sp): compile pack programs to naga modules with shared layouts
Trilleo Nov 28, 2026
7e9314a
feat(world): read saved block and sky light
Trilleo Nov 28, 2026
9c8621a
feat(sp): build the atlas, block ids and vertices shader packs draw
Trilleo Nov 29, 2026
bd0bf66
feat(sp): compute built-in and custom uniforms for shader packs
Trilleo Nov 29, 2026
cd8226d
fix(sp): pull atlas UVs into their tile so faces don't sample neighbours
Trilleo Nov 29, 2026
941d63d
feat(sp): run shader-pack pipelines with Iris's buffer semantics
Trilleo Nov 29, 2026
50a5f8d
feat(sp): draw the sky for shader packs; sample the atlas raw
Trilleo Nov 29, 2026
4e6f1b9
feat(sp): bring up BSL on a real world; fix alpha-less buffer formats
Trilleo Nov 29, 2026
86a27cd
feat(sp,app): render shader packs in the app with a background build
Trilleo Nov 29, 2026
d09e284
fix(sp): skip programs over the GPU's sampler limit instead of crashing
Trilleo Nov 29, 2026
03801ea
docs: close M5 with BSL timings and the compatibility table
Trilleo Nov 29, 2026
614412b
docs(docs): mark M5 done after the macOS smoke test
Trilleo Nov 29, 2026
a498c30
docs(docs): plan M6 shader-pack compatibility
Trilleo Nov 30, 2026
9c94d15
feat(sp): drop unused textures and share samplers by kind
Trilleo Nov 30, 2026
4e1b256
fix(sp): compile modf/frexp, undeclared Iris core names, gl_VertexID
Trilleo Nov 30, 2026
1f2e7eb
feat(sp): render the shader-pack shadow pass
Trilleo Nov 30, 2026
825c976
feat(sp): filter shader-pack shadow compares like GL hardware PCF
Trilleo Nov 30, 2026
d633c50
docs(sp): record the BSL shadow bring-up
Trilleo Nov 30, 2026
ef0a782
feat(sp): load shader-pack custom textures and per-buffer blends
Trilleo Nov 30, 2026
6af1e28
fix(sp): give shader packs the game's fog colour
Trilleo Nov 30, 2026
23dd303
docs(docs): close M6 shader-pack compatibility
Trilleo Nov 30, 2026
156acd1
docs(docs): mark M6 done after the macOS smoke test
Trilleo Nov 30, 2026
e7ba091
docs(docs): design M7 animation
Trilleo Nov 30, 2026
4ba4076
feat(scene): add camera roll to the scene and all engines
Trilleo Nov 30, 2026
aad02c9
feat(scene): add the keyframe timeline model and its evaluation
Trilleo Nov 30, 2026
0315374
feat(app): open and save project files from a File menu
Trilleo Nov 30, 2026
3a549f3
feat(render): pass a frame clock to the engines
Trilleo Nov 30, 2026
c689e24
feat(app): add the timeline panel with stopwatches and auto-key
Trilleo Nov 30, 2026
8fe0eee
feat(app): select, move, copy and paste timeline keys
Trilleo Nov 30, 2026
ffe286d
feat(app): undo and redo scene and timeline edits
Trilleo Nov 30, 2026
b135068
feat(app): play the timeline, show the camera path and frame guide
Trilleo Nov 30, 2026
03dab46
feat(app): add the Orbit helper for circling camera keys
Trilleo Nov 30, 2026
9f9df93
feat(app): render the viewport at the output resolution
Trilleo Nov 30, 2026
424c69b
feat(app): render animations and stills to PNG frames
Trilleo Nov 30, 2026
5d7b47c
feat(app): queue render jobs and run them across worlds
Trilleo Nov 30, 2026
4d6fb0f
feat(app): encode animation jobs to video with the user's ffmpeg
Trilleo Nov 30, 2026
bc5b2a9
fix(app): wait for the GPU after each render-job pass
Trilleo Nov 30, 2026
74f41d0
docs: close M7 with frame times, warm-up check and smoke-test rows
Trilleo Nov 30, 2026
b12e97b
docs(docs): design M8 big worlds
Trilleo Nov 30, 2026
dd7e1e7
test(app): measure big-world load time and memory
Trilleo Nov 30, 2026
86833df
perf(app): keep world geometry only for the engine in use
Trilleo Nov 30, 2026
5804dd9
perf(world): parse chunks in parallel
Trilleo Nov 30, 2026
05885c5
perf(sp): slimmer pack vertices and a streamed world upload
Trilleo Nov 30, 2026
f3fb1f7
feat(app): add a memory budget that lowers the load radius
Trilleo Dec 1, 2026
3833fea
feat(world): read far-terrain columns from chunk heightmaps
Trilleo Dec 1, 2026
1ce49b2
feat(render): add far-terrain colours per block state
Trilleo Dec 1, 2026
2d50c20
feat(app): load far terrain and add a far radius
Trilleo Dec 1, 2026
333dc74
feat(pt): trace far terrain as a heightfield
Trilleo Dec 1, 2026
160a3c4
feat(app): give the path tracer far terrain
Trilleo Dec 1, 2026
d753ca0
feat(world): scan a block grid into far columns
Trilleo Dec 1, 2026
c42383a
feat(sp): draw far terrain through Distant Horizons programs
Trilleo Dec 1, 2026
06033df
feat(app): give shader packs far terrain
Trilleo Dec 1, 2026
43f1f7e
fix(scene): read the timeline range back from the app's saved state
Trilleo Dec 1, 2026
0c087f1
feat(app): re-centre the detail area on the camera
Trilleo Dec 1, 2026
0c407e8
docs: close M8 with final numbers and smoke-test rows
Trilleo Dec 1, 2026
b14421a
docs: close M8 with final numbers and smoke-test rows
Trilleo Dec 1, 2026
179bbff
docs: prepare the 0.1.0 beta release
Trilleo Dec 1, 2026
0b7b3f0
fix(pt): make the trace shader compile under DX12 FXC
Trilleo Dec 1, 2026
98a641b
test: skip software adapters in GPU tests, fix a temp-folder race
Trilleo Dec 1, 2026
47d0511
test: give each test its own temp pack folder in aktis-sp
Trilleo Dec 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,48 @@ jobs:
env:
RUSTDOCFLAGS: -D warnings

denoise:
# The `denoise` feature links Intel Open Image Denoise (ADR 0011): build and test it
# against the pinned official package. The jobs above build without it.
name: Denoise feature (${{ matrix.name }})
strategy:
fail-fast: false
matrix:
include:
- name: macOS arm64
os: macos-latest
oidn: arm64.macos
- name: Windows x64
os: windows-latest
oidn: x64.windows
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
with:
key: denoise
- uses: actions/cache@v4
with:
path: .oidn
key: oidn-${{ matrix.oidn }}-${{ hashFiles('scripts/fetch-oidn.sh') }}
- name: Fetch OIDN
shell: bash
run: |
dir=$(cd "$(scripts/fetch-oidn.sh ${{ matrix.oidn }})" && pwd)
if command -v cygpath > /dev/null; then
# Windows: tests find the DLLs through PATH.
cygpath -w "$dir/bin" >> "$GITHUB_PATH"
dir=$(cygpath -w "$dir")
fi
echo "OIDN_DIR=$dir" >> "$GITHUB_ENV"
- name: Clippy
run: cargo clippy --workspace --all-targets --features aktis-pt/denoise,aktis-app/denoise -- -D warnings
- name: Test
run: cargo test --workspace --features aktis-pt/denoise,aktis-app/denoise

docs-check:
name: Docs updated with code
if: github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'no-docs')
Expand Down
31 changes: 27 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Release
on:
push:
tags: ["v*.*.*"]
# Dry run: builds and packages every platform and uploads the archives as workflow
# artifacts, without the tag check or a GitHub Release. Works on forks too.
workflow_dispatch:

permissions:
contents: write
Expand All @@ -13,8 +16,8 @@ env:
jobs:
prepare:
name: Prepare
# Only the main repository publishes releases; forks skip this workflow.
if: github.repository == 'TriBinary/aktis'
# Only the main repository publishes releases; forks skip tag pushes (dry runs are fine).
if: github.repository == 'TriBinary/aktis' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
outputs:
version: ${{ steps.meta.outputs.version }}
Expand All @@ -25,8 +28,14 @@ jobs:
- id: meta
name: Check tag matches Cargo version
run: |
tag="${GITHUB_REF_NAME#v}"
cargo_version=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[] | select(.name == "aktis-app") | .version')
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
echo "Dry run of $cargo_version"
echo "version=$cargo_version-dryrun" >> "$GITHUB_OUTPUT"
echo "prerelease=true" >> "$GITHUB_OUTPUT"
exit 0
fi
tag="${GITHUB_REF_NAME#v}"
echo "tag=$tag cargo=$cargo_version"
if [ "$tag" != "$cargo_version" ]; then
echo "::error::Tag v$tag does not match workspace version $cargo_version in Cargo.toml"
Expand Down Expand Up @@ -62,14 +71,17 @@ jobs:
- name: macos-arm64
os: macos-latest
target: aarch64-apple-darwin
oidn: arm64.macos
archive: tar.gz
- name: macos-x64
os: macos-latest
target: x86_64-apple-darwin
oidn: x86_64.macos
archive: tar.gz
- name: windows-x64
os: windows-latest
target: x86_64-pc-windows-msvc
oidn: x64.windows
archive: zip
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -80,8 +92,17 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.target }}
- name: Fetch OIDN
shell: bash
run: |
dir=$(cd "$(scripts/fetch-oidn.sh ${{ matrix.oidn }})" && pwd)
echo "OIDN_POSIX_DIR=$dir" >> "$GITHUB_ENV"
command -v cygpath > /dev/null && dir=$(cygpath -w "$dir")
echo "OIDN_DIR=$dir" >> "$GITHUB_ENV"
# No rpath to the download folder in shipped binaries (crates/aktis-app/build.rs).
echo "AKTIS_OIDN_RELEASE=1" >> "$GITHUB_ENV"
- name: Build
run: cargo build --release --locked -p aktis-app --target ${{ matrix.target }}
run: cargo build --release --locked -p aktis-app --features denoise --target ${{ matrix.target }}
- name: Package
shell: bash
run: |
Expand All @@ -90,6 +111,7 @@ jobs:
bin="target/${{ matrix.target }}/release/aktis"
[ "${{ runner.os }}" = "Windows" ] && bin="$bin.exe"
cp "$bin" README.md CHANGELOG.md LICENSE-MIT LICENSE-APACHE "dist/$name/"
scripts/bundle-oidn.sh "$OIDN_POSIX_DIR" "dist/$name"
cd dist
if [ "${{ matrix.archive }}" = "zip" ]; then
7z a "$name.zip" "$name" > /dev/null
Expand All @@ -105,6 +127,7 @@ jobs:

publish:
name: Publish GitHub Release
if: github.event_name == 'push'
needs: [prepare, build]
runs-on: ubuntu-latest
steps:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@
/test-worlds/
/renders/
*.mca

# OIDN downloads (scripts/fetch-oidn.sh)
/.oidn/
Loading
Loading