Commit Graph
56 Commits
Author SHA1 Message Date
Ampandheaust 0516b9a9ba Remove Sponza material preview meshes
Amp-Thread-ID: https://ampcode.com/threads/T-01a01ff8-b91f-724f-8952-f07c6b5042fd
Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-08-21 08:11:34 +00:00
Ampandheaust f40314dcdc Fix distant PBR rendering artifacts
Amp-Thread-ID: https://ampcode.com/threads/T-01a01ff8-b91f-724f-8952-f07c6b5042fd
Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-08-21 06:19:38 +00:00
Ampandheaust 9ca12c237e Add SAB-backed rotor transforms and smooth camera controls
Amp-Thread-ID: https://ampcode.com/threads/T-01a01ff8-b91f-724f-8952-f07c6b5042fd
Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-08-21 05:30:09 +00:00
Ampandheaust 0e6d7e367c Render only when shared state changes
Add shared-data and bundle invalidation signals, and have handles publish them automatically for SAB and graph mutations.

Document the raw core worker protocol in a dedicated VitePress site and simplify the glTF import and picking example.

Amp-Thread-ID: https://ampcode.com/threads/T-01a01ff8-b91f-724f-8952-f07c6b5042fd
Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-08-21 04:02:33 +00:00
Ampandheaust 481d105f19 Fix render pacing and profiler readback
Amp-Thread-ID: https://ampcode.com/threads/T-01a01380-b478-77d0-84a0-102880a5c5ae
Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-08-20 15:42:31 +00:00
Ampandheaust abfa428464 Optimize forward rendering and add benchmark
Amp-Thread-ID: https://ampcode.com/threads/T-01a01380-b478-77d0-84a0-102880a5c5ae
Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-08-20 14:36:51 +00:00
Ampandheaust 000bfd63bf Optimize render graph and add GPU profiling
Amp-Thread-ID: https://ampcode.com/threads/T-01a01380-b478-77d0-84a0-102880a5c5ae
Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-08-20 11:48:06 +00:00
Ampandheaust ded70a3cb4 Add interactive tutorial playgrounds
Embed editable split-view examples throughout the guide, restore the full LFS-backed Sponza demo, batch glTF hydration, honor hierarchical transforms, and report transformed BVH picks with a live FPS counter.

Amp-Thread-ID: https://ampcode.com/threads/T-01a01380-b478-77d0-84a0-102880a5c5ae
Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-08-20 09:21:21 +00:00
Ampandheaust 9768765d74 Replace addons with conventional handles
Provide the single-loadout Scene API, SAB-backed meshes, cameras, materials, lights, workers, post effects, and tutorial playgrounds. Batch matching row growth so active GPU loadouts refresh once.

Amp-Thread-ID: https://ampcode.com/threads/T-01a01380-b478-77d0-84a0-102880a5c5ae
Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-08-20 06:39:30 +00:00
Ampandheaust 239b1d25b0 Build Rust render graph core
Keep hot render state in a generic shared SOA arena and use worker messages only for allocation, graph compilation, loadout changes, and render pacing. Compile external S-expression graphs into upfront WebGPU resources, transient aliases, and reusable render bundles.

Amp-Thread-ID: https://ampcode.com/threads/T-01a01380-b478-77d0-84a0-102880a5c5ae
Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-08-20 05:35:24 +00:00
Ampandheaust d095ee7849 Restore Rust core at repository root
Amp-Thread-ID: https://ampcode.com/threads/T-01a01380-b478-77d0-84a0-102880a5c5ae
Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-08-20 03:40:59 +00:00
Ampandheaust f12c7c9603 Rewrite core around shared rows and render graphs
Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
Amp-Thread-ID: https://ampcode.com/threads/T-01a01380-b478-77d0-84a0-102880a5c5ae
2026-08-19 15:30:32 +00:00
Ampandheaust d34722d66d Add tutorial docs and interactive playgrounds
Amp-Thread-ID: https://ampcode.com/threads/T-01a01380-b478-77d0-84a0-102880a5c5ae
Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-08-19 14:20:59 +00:00
Ampandheaust 6bbf8039e4 Strip core to render data and render graphs
Move glTF, picking, camera controls, and conventional handles into addons. Keep camera and material mutations in SIMD-aligned shared SOA rows and synchronize material updates directly into GPU buffers.

Amp-Thread-ID: https://ampcode.com/threads/T-01a01380-b478-77d0-84a0-102880a5c5ae
Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-08-19 09:41:41 +00:00
Ampandheaust 0e44917f9e Rebuild core around render graph AST and shared memory
Amp-Thread-ID: https://ampcode.com/threads/T-01a01380-b478-77d0-84a0-102880a5c5ae
Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-08-18 11:58:31 +00:00
AmpandAkash Shakdwipeea a23ef37b4d refactor: order raster cohorts by authored nodes
Amp-Thread-ID: https://ampcode.com/threads/T-019ff1fa-611d-71c8-aefd-86659bff2075
Co-authored-by: Akash Shakdwipeea <ashakdwipeea@gmail.com>
2026-08-11 20:28:50 +00:00
Ampandheaust 780f194be4 feat: compile pipeline-specific render pass cohorts
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-07-29 14:49:22 +00:00
Ampandheaust 27e3dd64ae chore: refresh fxnode gesture fixes
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-07-29 10:26:50 +00:00
Ampandheaust 90406ae18f feat: add variadic render graph logic nodes
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-07-29 10:03:06 +00:00
Ampandheaust 0e866596c0 refactor: make instance type metadata opaque
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-07-29 06:13:25 +00:00
Ampandheaust 092b319d75 refactor: remove redundant runtime ownership
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-07-29 02:58:55 +00:00
Ampandheaust 204cb744df refactor: reuse texture descriptor predicate
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-07-29 02:36:56 +00:00
Ampandheaust 4ff33e4079 refactor: narrow graph editor api
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-07-29 02:26:44 +00:00
Ampandheaust c1a95e4b27 refactor: simplify web bootstrap
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-07-29 02:02:22 +00:00
Ampandheaust 2ff8a4a17b refactor: remove dead input and readback paths
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-07-29 01:28:57 +00:00
Ampandheaust b5366d8b77 feat: compile multisampled graph attachments
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-07-29 00:48:35 +00:00
Ampandheaust eb640f0183 feat: synthesize default graph attachments
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-07-28 23:08:26 +00:00
Ampandheaust f6d6af7a17 feat: replace mesh queries with typed predicates
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-07-28 20:37:44 +00:00
Ampandheaust c7ffb0543e feat: resolve frame out surface formats
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-07-28 17:55:20 +00:00
Ampandheaust fd85b3d051 feat: move display transform into frame out
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-07-28 16:14:21 +00:00
Ampandheaust 972fadc635 feat: add color grading graph nodes
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-07-28 14:18:04 +00:00
Ampandheaust 67cf3a6555 refactor: centralize fullscreen graph policy
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-07-28 13:45:10 +00:00
Ampandheaust edc7c8ef29 refactor: redesign render graph nodes
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-07-28 13:00:29 +00:00
Ampandheaust fc8c16daec refactor: consolidate render graph architecture
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-07-27 21:11:54 +00:00
Ampandheaust 05311e564c feat: add gpu driven render graph pipeline
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-07-27 20:26:31 +00:00
Ampandheaust d4e8634f67 feat: add render graph driven renderer architecture
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
2026-07-27 02:53:44 +00:00
Akash ShakdwipeeaandAmp 8a8369706b Run dev server throughout orb lifecycle (#19)
Amp-Thread-ID: https://ampcode.com/threads/T-019f8aec-e13a-7495-a56f-89bcb9e9fbc1

Co-authored-by: Amp <amp@ampcode.com>
2026-07-23 19:14:37 +05:30
Akash ShakdwipeeaandAmp a4414cc735 Prepare repository for Amp orbs (#18)
* Prepare repository for Amp orbs

Amp-Thread-ID: https://ampcode.com/threads/T-019f8509-6815-71df-b137-f40075cd06f8

Co-authored-by: Akash Shakdwipeea <ashakdwipeea@gmail.com>

* Declare Amp preview service and portal

Amp-Thread-ID: https://ampcode.com/threads/T-019f8509-6815-71df-b137-f40075cd06f8

Co-authored-by: Akash Shakdwipeea <ashakdwipeea@gmail.com>

* Allow E2B portal hosts in Vite preview

Amp-Thread-ID: https://ampcode.com/threads/T-019f8509-6815-71df-b137-f40075cd06f8

Co-authored-by: Akash Shakdwipeea <ashakdwipeea@gmail.com>

* Enable WebGPU for agent-browser

Amp-Thread-ID: https://ampcode.com/threads/T-019f8509-6815-71df-b137-f40075cd06f8

Co-authored-by: Akash Shakdwipeea <ashakdwipeea@gmail.com>

* Install virtual display for WebGPU captures

Amp-Thread-ID: https://ampcode.com/threads/T-019f8509-6815-71df-b137-f40075cd06f8

Co-authored-by: Akash Shakdwipeea <ashakdwipeea@gmail.com>

* Revert Amp orb setup pending review

Amp-Thread-ID: https://ampcode.com/threads/T-019f8509-6815-71df-b137-f40075cd06f8

Co-authored-by: Akash Shakdwipeea <ashakdwipeea@gmail.com>

* Prepare repository for Amp orbs

Amp-Thread-ID: https://ampcode.com/threads/T-019f8509-6815-71df-b137-f40075cd06f8

Co-authored-by: Akash Shakdwipeea <ashakdwipeea@gmail.com>

* Declare Amp preview service and portal

Amp-Thread-ID: https://ampcode.com/threads/T-019f8509-6815-71df-b137-f40075cd06f8

Co-authored-by: Akash Shakdwipeea <ashakdwipeea@gmail.com>

* Allow E2B portal hosts in Vite preview

Amp-Thread-ID: https://ampcode.com/threads/T-019f8509-6815-71df-b137-f40075cd06f8

Co-authored-by: Akash Shakdwipeea <ashakdwipeea@gmail.com>

* Enable WebGPU for agent-browser

Amp-Thread-ID: https://ampcode.com/threads/T-019f8509-6815-71df-b137-f40075cd06f8

Co-authored-by: Akash Shakdwipeea <ashakdwipeea@gmail.com>

* Install virtual display for WebGPU captures

Amp-Thread-ID: https://ampcode.com/threads/T-019f8509-6815-71df-b137-f40075cd06f8

Co-authored-by: Akash Shakdwipeea <ashakdwipeea@gmail.com>

* Address orb portal review feedback

Amp-Thread-ID: https://ampcode.com/threads/T-019f8509-6815-71df-b137-f40075cd06f8

Co-authored-by: Akash Shakdwipeea <ashakdwipeea@gmail.com>

---------

Co-authored-by: Amp <amp@ampcode.com>
2026-07-21 22:58:59 +05:30
Akash Shakdwipeea 2a49f07d68 Look ma! hot reload! (#16) 2025-10-24 19:44:06 +05:30
Akash Shakdwipeea 8addf60eea drain all accumulated events in the channel per frame (#15) 2025-10-23 21:02:06 +05:30
Akash ShakdwipeeaandAmp b295c0bf0b separate out renderer crate (#13)
* add keyboard handler

* some cleanup

* add l key binding

* Fix WASM shared memory generation for Rust nightly 2025-10-20+

Add explicit linker flags for shared memory generation after Rust PR #147225
removed automatic flags with +atomics. This fixes DataCloneError when sharing
memory with workers.

Changes:
- Add --shared-memory, --max-memory, --import-memory flags
- Export TLS symbols: __wasm_init_tls, __tls_size, __tls_align, __tls_base
- Update both Cargo.toml and package.json build scripts

Amp-Thread-ID: https://ampcode.com/threads/T-41d99b69-5754-4fdf-b06e-a46343fa7485
Co-authored-by: Amp <amp@ampcode.com>

* add a level-editor crate

* remove redundant worker setup

* simplify app setup

* add SceneBuilder

* separate out default scene implementation in a crate

* define default method for MeshBuilder

---------

Co-authored-by: Amp <amp@ampcode.com>
2025-10-22 18:08:02 +05:30
Akash Shakdwipeea cb65a52e95 gltf models loader (#10)
* use channels for comms

this also refactors the app setup and messaging modules

* remove double logging

* load single model gltf files

* add gltf loader

* add sponza model

* camera with rotors (#11)

* orbit with rotors

* add dolly behaviour to emulate zoom
2025-10-04 12:47:30 +05:30
Akash Shakdwipeea 3b81926ae1 use channels for comms (#9)
this  refactors the app setup and messaging modules
2025-08-20 21:58:09 +05:30
Heaust Azure ba2d1c064b wgpu + wasm + worker (#8)
initial setup
2025-08-04 22:23:37 +05:30
Heaust Azure 9d2bf4055d added a shitty ecs that I'm confident is way worse than just looping … (#4)
* added a shitty ecs that I'm confident is way worse than just looping objects lol

* mader a rendering system based on ecs
2025-05-06 18:53:21 +05:30
Akash Shakdwipeea 5ecaf14b3d a rotating cube (#3) 2024-12-22 20:01:51 +05:30
Heaust Azure 41196e4840 Update README.md 2024-08-02 23:06:46 +05:30
Heaust Azure 83906ac02c Update README.md 2024-08-02 22:43:48 +05:30
Heaust Azure f3fc460237 Update README.md 2024-08-02 20:47:38 +05:30
heaust 25d68c3479 made basic message passing setup 2024-08-02 16:34:35 +05:30