-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added asset preprocessing and compression
- Loading branch information
1 parent
531f6d2
commit 0ca2c04
Showing
39 changed files
with
590 additions
and
467 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,14 +5,25 @@ members = [ | |
"shaders/pathtracer", | ||
"shaders/rasterizer", | ||
"shaders/tonemap", | ||
"scene", | ||
] | ||
resolver = "2" | ||
|
||
[workspace.package] | ||
version = "0.1.0" | ||
edition = "2021" | ||
authors = ["Shashank Singh <[email protected]>"] | ||
repository = "https://github.com/sshashank124/tsunami" | ||
|
||
[workspace.dependencies] | ||
bytemuck = { version = "1.14", features = ["derive"] } | ||
glam = { version = "0.24", default-features = false, features = ["libm"] } | ||
scene = { path = "scene" } | ||
serde = { version = "1.0", default-features = false } | ||
shared = { path = "shared" } | ||
spirv-std = { git = "https://github.com/EmbarkStudios/rust-gpu" } | ||
spirv-builder = { git = "https://github.com/EmbarkStudios/rust-gpu" } | ||
|
||
[profile.release] | ||
opt-level = 3 | ||
codegen-units = 16 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
[package] | ||
name = "runner" | ||
version = "0.1.0" | ||
version.workspace = true | ||
edition.workspace = true | ||
|
||
[dependencies] | ||
ash = { version = "0.37", features = ["linked"] } | ||
gltf = "1" | ||
bytemuck = { workspace = true } | ||
glam = { workspace = true } | ||
gpu-allocator = { version = "0.23", default-features = false, features = [ "vulkan" ] } | ||
image = "0.24" | ||
shared = { path = "../shared" } | ||
scene = { workspace = true } | ||
shared = { workspace = true } | ||
spirv-std = { workspace = true } | ||
tobj = "4" | ||
winit = "0.29" | ||
|
||
[build-dependencies] | ||
spirv-builder = "0.9" | ||
spirv-builder = { workspace = true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
pub mod bounding_box; | ||
pub mod camera; | ||
pub mod gltf_scene; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.