Commit Graph
16 Commits
Author SHA1 Message Date
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
Heaust Azure 6db2941102 Update README.md 2024-08-02 13:30:44 +05:30
Heaust Azure 95e178144b Update README.md 2024-08-02 13:25:33 +05:30
Heaust Azure 9718312d25 Update README.md 2024-08-02 13:24:50 +05:30
Akash Shakdwipeea ae145b5c36 Update README.md 2024-07-26 14:46:22 +05:30
Akash Shakdwipeea 4e4f604fbe init plan 2024-07-26 14:44:14 +05:30
Akash Shakdwipeea 2f3997040b Initial commit 2024-07-26 14:20:52 +05:30