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:
+9
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user