Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
70452ed
feat(aravath): stand and dig on one voxel island
cursoragent Oct 13, 2026
9d69211
feat(aravath): add the movement motor and the demo goals
cursoragent Oct 13, 2026
0d90ed4
feat(aravath): add a single locomotion graph
cursoragent Oct 13, 2026
fd80123
feat(aravath): add sword, shield, lock-on, and three enemies
cursoragent Oct 13, 2026
91a95f4
feat(aravath): place supported voxels and save the edit log
cursoragent Oct 13, 2026
f1f49b0
feat(aravath): stream a ring of mineable chunks around the player
cursoragent Oct 13, 2026
a7f2ead
feat(aravath): texture the ground with a CC0 Poly Haven albedo
cursoragent Oct 13, 2026
f546f58
docs(aravath): record the Windows target check
cursoragent Oct 13, 2026
6918eae
feat(aravath): replace box stand-ins with CC0 character, sword, shiel…
cursoragent Oct 13, 2026
dc1cd13
feat(aravath): drive character clips from movement and combat
cursoragent Oct 13, 2026
8750f09
feat(aravath): give the streamed world biomes, textures, and foliage
cursoragent Oct 13, 2026
2a22bdd
ci(aravath): build the greybox on windows-latest (#206)
lazyxeon Oct 13, 2026
c0be144
feat(aravath): add a combat HUD and save feedback
cursoragent Oct 13, 2026
af9787e
feat(aravath): tighten air control and give enemies a leash
cursoragent Oct 13, 2026
c053fb7
docs(aravath): note air control, mouse capture, and the enemy leash
cursoragent Oct 13, 2026
9b90269
feat(aravath): harden the sim and light it with the engine
cursoragent Oct 13, 2026
1f02064
fix(aravath): log startup failures and skip volumetrics on demand
cursoragent Oct 13, 2026
54c48d9
fix(aravath): import OsStrExt for the Windows loading paint
cursoragent Oct 13, 2026
cd03f06
fix(aravath): step the sim at a fixed 60 Hz
cursoragent Oct 14, 2026
30d45ed
fix(aravath): lock the replay hash across machines
cursoragent Oct 14, 2026
77c516a
fix(render): match WGSL uniform alignment for fog and the other share…
cursoragent Oct 14, 2026
bbef075
Add deterministic fate-scars and sample them in volumetric fog.
cursoragent Oct 14, 2026
f6dd90f
docs(aravath): point demo fiction at the Aravath lore bible
cursoragent Oct 14, 2026
3cb7494
feat(aravath): name the western hills from the internal lore brief
cursoragent Oct 14, 2026
70d92ca
fix(aravath): bound untrusted saves and drop the greybox network stack
cursoragent Oct 14, 2026
116f9e5
build(aravath): publish checksums, an SBOM, and optional Authenticode
cursoragent Oct 14, 2026
d6174bc
fix(aravath): let the Windows workflow start and leave signing unwired
cursoragent Oct 14, 2026
c8f6d48
fix(ci): retry advisory fetches and compile the Windows SDK harness
cursoragent Oct 14, 2026
e4db903
fix(ci): give cargo audit a fresh advisory database
cursoragent Oct 14, 2026
2e5d6e3
fix(ci): check out the repo before publishing the Aravath release
cursoragent Oct 14, 2026
4bfd08e
test(aw-save): lock the postcard and lz4 save bytes
cursoragent Oct 14, 2026
5347f02
fix(deps): bump rustls 0.23 to 0.23.46 and record the 0.22 residuals
cursoragent Oct 14, 2026
30cb7d4
fix(aravath): stop the black frame and the stuck mouse
cursoragent Oct 14, 2026
ca71f94
fix(ci): install libudev before the lavapipe volumetrics test
cursoragent Oct 14, 2026
bca0b3f
fix(render): drop expect from the atmosphere composite
cursoragent Oct 14, 2026
cbb8299
feat(aravath): scatter KayKit forest props on the western hills
cursoragent Oct 15, 2026
f700b60
feat(aravath): dress the greybox in the KayKit CC0 subset
cursoragent Oct 15, 2026
a87a2d3
feat(aravath): report frame time against the 11 ms budget
cursoragent Oct 15, 2026
b0de384
fix(veil): reject scar cell lists above 4096 before insert
cursoragent Oct 15, 2026
c21ce83
fix(ci): stop the greybox gate, hash, and trace-sync failures
cursoragent Oct 15, 2026
7ee34e9
fix(ci): pin Aravath actions and declare read-only workflow tokens
cursoragent Oct 15, 2026
5d63aa0
fix(ci): rustfmt the greybox Windows resource embed
cursoragent Oct 15, 2026
f692385
fix(ci): fetch Git LFS in test jobs and keep joint-matrix capacity exact
cursoragent Oct 15, 2026
2d5fab4
fix(test): generate beep wavs privately and probe depth textureLoad
cursoragent Oct 15, 2026
4794ee1
fix(lock): record aw_asset_cli's tokio dependency
cursoragent Oct 16, 2026
21db926
fix(docs): restore veil runtime edges after the weaving rebase
cursoragent Oct 16, 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
Prev Previous commit
Next Next commit
feat(aravath): texture the ground with a CC0 Poly Haven albedo
Rock Wall 02 is the borrowed diffuse map. The body, sword, shield, and
enemies stay geometric primitives, and both choices are listed in the
credits file.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
  • Loading branch information
cursoragent and lazyxeon committed Oct 16, 2026
commit a7f2ead627691fbc47b976c7bca027310456dcab
1 change: 1 addition & 0 deletions aravath_runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ astraweave-nav = { workspace = true }
aw-save = { path = "../persistence/aw-save" }
uuid = { version = "1", features = ["v4"] }
time = { version = "0.3", features = ["macros"] }
image = "0.25"

[dev-dependencies]
tempfile = "3"
Expand Down
42 changes: 29 additions & 13 deletions aravath_runtime/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ struct App {
player_mesh_ready: bool,
lock_toggle: bool,
place_toggle: bool,
albedo: Option<(u32, u32, Vec<u8>)>,
}

impl App {
Expand All @@ -51,6 +52,7 @@ impl App {
player_mesh_ready: false,
lock_toggle: false,
place_toggle: false,
albedo: load_ground_albedo(),
}
}
}
Expand Down Expand Up @@ -131,7 +133,7 @@ impl ApplicationHandler for App {
);
let mut renderer = pollster::block_on(Renderer::new(window.clone())).expect("renderer");
let uploads = std::mem::take(&mut self.sim.initial_uploads);
upload_chunks(&mut renderer, &uploads);
upload_chunks(&mut renderer, &uploads, self.albedo.as_ref());
self.renderer = Some(renderer);
self.window = Some(window);
self.last_time = Instant::now();
Expand Down Expand Up @@ -268,11 +270,12 @@ impl ApplicationHandler for App {
let spawn_player = !self.player_mesh_ready;
self.player_mesh_ready = true;

let albedo = self.albedo.clone();
let renderer = self.renderer.as_mut().expect("renderer");
if let Some(uploads) = dig_uploads.as_deref() {
upload_chunks(renderer, uploads);
upload_chunks(renderer, uploads, albedo.as_ref());
}
upload_chunks(renderer, &streamed);
upload_chunks(renderer, &streamed, albedo.as_ref());
renderer.update_view(&view);
let instance = [Instance {
transform: Mat4::from_translation(pos),
Expand Down Expand Up @@ -317,26 +320,39 @@ impl ApplicationHandler for App {
}
}

fn upload_chunks(renderer: &mut Renderer, uploads: &[ChunkUpload]) {
fn upload_chunks(
renderer: &mut Renderer,
uploads: &[ChunkUpload],
albedo: Option<&(u32, u32, Vec<u8>)>,
) {
for chunk in uploads {
let name = chunk_name(chunk.coord.x, chunk.coord.y, chunk.coord.z);
if chunk.removed || chunk.mesh.vertices.is_empty() {
renderer.clear_model(&name);
continue;
}
let gpu = renderer.create_mesh_from_cpu_mesh(&chunk.mesh);
renderer.add_model(
name,
gpu,
&[Instance {
transform: Mat4::IDENTITY,
color: material_tint(chunk.material),
material_id: 0,
}],
);
let instance = [Instance {
transform: Mat4::IDENTITY,
color: material_tint(chunk.material),
material_id: 0,
}];
if let Some((width, height, pixels)) = albedo {
renderer.add_model_with_texture(name, gpu, &instance, *width, *height, pixels);
} else {
renderer.add_model(name, gpu, &instance);
}
}
}

fn load_ground_albedo() -> Option<(u32, u32, Vec<u8>)> {
let path = std::path::Path::new(env!("CARGO_MANIFEST_DIR"))
.join("../assets/aravath/rock_wall_02_diff_1k.jpg");
let image = image::open(path).ok()?.to_rgba8();
let (width, height) = image.dimensions();
Some((width, height, image.into_raw()))
}

fn weapon_instance(pos: Vec3, yaw: f32, side: f32, forward: f32) -> Instance {
let (fwd, right) = aravath_runtime::player::flat_basis(yaw);
Instance {
Expand Down
7 changes: 7 additions & 0 deletions assets/aravath/CREDITS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Aravath demo credits

| File | Source | License |
| --- | --- | --- |
| `rock_wall_02_diff_1k.jpg` | Poly Haven, “Rock Wall 02” diffuse, 1k JPG. https://polyhaven.com/a/rock_wall_02 and https://dl.polyhaven.org/file/ph-assets/Textures/jpg/1k/rock_wall_02/rock_wall_02_diff_1k.jpg | CC0 |

The player body, sword, shield, and enemies are boxes built in `aravath_runtime`. No CC0 rig was skinned in this demo. The ground albedo above is the borrowed texture. Poly Haven does not require attribution for CC0; the source is recorded anyway.
Binary file added assets/aravath/rock_wall_02_diff_1k.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.