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
This commit is contained in:
Akash Shakdwipeea
2025-10-04 12:47:30 +05:30
committed by GitHub
parent 3b81926ae1
commit cb65a52e95
15 changed files with 2677 additions and 255 deletions
+9 -1
View File
@@ -37,6 +37,11 @@ web-sys = { version = "0.3.77", features = [
"Blob",
"BlobPropertyBag",
"Url",
"Request",
"RequestInit",
"RequestMode",
"Response",
"Headers"
]}
js-sys = "0.3.77"
bytemuck = { version = "1.23.1", features = [
@@ -45,10 +50,13 @@ bytemuck = { version = "1.23.1", features = [
cgmath = "0.18"
raw-window-handle = "0.6.2"
wgpu = "26.0.1"
reqwest = { version = "0.12.23", features = ["json"] }
thiserror = "2.0.15"
ultraviolet = "0.10.0"
[dependencies.gltf]
version = "1.4"
features = ["extras", "names"]
[package.metadata.wasm-pack.profile.release]
wasm-opt = false
wasm-opt = false