Skip to content

Commit

Permalink
Release graphics-0.6 and friends
Browse files Browse the repository at this point in the history
  • Loading branch information
kvark committed Dec 10, 2024
1 parent 450bb7d commit f57012e
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 26 deletions.
19 changes: 7 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ winit = { version = "0.30" }
[package]
name = "blade"
description = "Sharp and simple graphics library"
version = "0.2.0"
version = "0.3.0"
edition = "2021"
rust-version = "1.65"
keywords = ["graphics"]
Expand All @@ -47,10 +47,10 @@ readme = "docs/README.md"

[dependencies]
blade-asset = { version = "0.2", path = "blade-asset" }
blade-egui = { version = "0.5", path = "blade-egui" }
blade-graphics = { version = "0.5", path = "blade-graphics" }
blade-egui = { version = "0.6", path = "blade-egui" }
blade-graphics = { version = "0.6", path = "blade-graphics" }
blade-helpers = { version = "0.1", path = "blade-helpers" }
blade-util = { version = "0.1", path = "blade-util" }
blade-util = { version = "0.2", path = "blade-util" }
base64 = { workspace = true }
choir = { workspace = true }
colorsys = "0.6"
Expand All @@ -67,13 +67,14 @@ slab = "0.4"
winit = { workspace = true }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
blade-render = { version = "0.3", path = "blade-render" }
blade-render = { version = "0.4", path = "blade-render" }

[dev-dependencies]
blade-macros = { version = "0.3", path = "blade-macros" }
bytemuck = { workspace = true }
choir = { workspace = true }
egui = { workspace = true }
egui-winit = { version="0.29", default-features=false, features=["links"] }
transform-gizmo-egui = { git = "https://github.com/urholaukkarinen/transform-gizmo", rev = "7556fb38b37f3772c57dd0fae6a276976d314f9b" }
env_logger = "0.11"
glam = { workspace = true }
Expand All @@ -85,16 +86,11 @@ profiling = { workspace = true }
ron = "0.8"
serde = { version = "1", features = ["serde_derive"] }
strum = { workspace = true }
# not following semver :(
del-msh-core = "=0.1.33"
del-geo = "=0.1.29"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
# see https://github.com/emilk/egui/issues/4270
egui-winit = { version="0.29", default-features=false, features=["links"] }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
# see https://github.com/emilk/egui/issues/4270
egui-winit = { version="0.29", default-features=false, features=["links"] }
console_error_panic_hook = "0.1.7"
console_log = "1"
web-sys = { workspace = true, features = ["Window"] }
Expand All @@ -120,4 +116,3 @@ allowed_external_types = [

[lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(gles)'] }
# not following semver :(
6 changes: 3 additions & 3 deletions blade-egui/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "blade-egui"
version = "0.5.0"
version = "0.6.0"
edition = "2021"
description = "egui integration for Blade"
keywords = ["graphics"]
Expand All @@ -10,9 +10,9 @@ repository = "https://github.com/kvark/blade"
[lib]

[dependencies]
blade-graphics = { version = "0.5", path = "../blade-graphics" }
blade-graphics = { version = "0.6", path = "../blade-graphics" }
blade-macros = { version = "0.3", path = "../blade-macros" }
blade-util = { version = "0.1", path = "../blade-util" }
blade-util = { version = "0.2", path = "../blade-util" }
egui = { workspace = true, features = ["bytemuck"] }
bytemuck = { workspace = true }
profiling = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion blade-graphics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "blade-graphics"
version = "0.5.0"
version = "0.6.0"
edition = "2021"
description = "Graphics abstraction for Blade"
keywords = ["graphics"]
Expand Down
2 changes: 1 addition & 1 deletion blade-helpers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ publish = false
[features]

[dependencies]
blade-render = { version = "0.3", path = "../blade-render" }
blade-render = { version = "0.4", path = "../blade-render" }
egui = { workspace = true }
glam = { workspace = true }
mint = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion blade-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ proc-macro2 = "1"
quote = "1.0"

[dev-dependencies]
blade-graphics = { version = "0.5", path = "../blade-graphics" }
blade-graphics = { version = "0.6", path = "../blade-graphics" }
blade-asset = { version = "0.2", path = "../blade-asset" }
bytemuck = { workspace = true }
mint = { workspace = true }
4 changes: 2 additions & 2 deletions blade-render/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "blade-render"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
description = "Renderer built on Blade"
keywords = ["graphics", "engine"]
Expand Down Expand Up @@ -28,7 +28,7 @@ asset = [
[dependencies]
base64 = { workspace = true, optional = true }
bitflags = { workspace = true }
blade-graphics = { version = "0.5", path = "../blade-graphics" }
blade-graphics = { version = "0.6", path = "../blade-graphics" }
blade-asset = { version = "0.2", path = "../blade-asset" }
blade-macros = { version = "0.3", path = "../blade-macros" }
bytemuck = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions blade-util/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "blade-util"
version = "0.1.0"
version = "0.2.0"
edition = "2021"
description = "Utility logic for Blade applications"
keywords = ["graphics"]
Expand All @@ -10,7 +10,7 @@ repository = "https://github.com/kvark/blade"
[lib]

[dependencies]
blade-graphics = { version = "0.5", path = "../blade-graphics" }
blade-graphics = { version = "0.6", path = "../blade-graphics" }
bytemuck = { workspace = true }
log = { workspace = true }
profiling = { workspace = true }
Expand Down
7 changes: 4 additions & 3 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
Changelog for Blade
Changelog for *Blade* project

## blade-graphics-0.6 (TBD)
## blade-graphics-0.6, blade-util-0.2, blade-egui-0.6, blade-render-0.4, blade-0.3 (09 Dec 2024)

- graphics:
- return detailed initialization errors
- API for surface creation
- allows multiple windows used by the same context
- multi-sampling support
- API for destruction of pipelines
- return detailed initialization errors
- every pass now takes a label
- automatic GPU pass markers
- ability to capture pass GPU timings
Expand Down
6 changes: 5 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@

![](logo.png)

Blade is an innovative rendering solution for Rust. It starts with a lean [low-level GPU abstraction](https://youtu.be/63dnzjw4azI?t=623) focused at ergonomics and fun. It then grows into a high-level rendering library that utilizes hardware ray-tracing. It's accompanied by a [task-parallel asset pipeline](https://youtu.be/1DiA3OYqvqU) together with [egui](https://www.egui.rs/) support, turning into a minimal rendering engine. Finally, the top-level Blade engine combines all of this with Rapier3D-based physics and hides them behind a concise API.
Blade is an innovative rendering solution for Rust. It starts with a lean low-level GPU abstraction focused at ergonomics and fun. It then grows into a high-level rendering library that utilizes hardware ray-tracing. It's accompanied by a [task-parallel asset pipeline](https://youtu.be/1DiA3OYqvqU) together with [egui](https://www.egui.rs/) support, turning into a minimal rendering engine. Finally, the top-level Blade engine combines all of this with Rapier3D-based physics and hides them behind a concise API. Talks:
- [In GPU we Rust](https://youtu.be/92mwRCXvMVk) (Rust AI meetup, 2024)
- [Blade - lean and mean graphics library](https://youtu.be/63dnzjw4azI?t=623) (Rust Graphics meetup, 2023)
- [Blade asset pipeline](https://youtu.be/1DiA3OYqvqU) (Rust Gamedev meetup, 2023)
- [Blade scene editor](https://www.youtube.com/watch?v=Q5IUOvuXoC8) (Rust Gamedev meetup, 2023)

![architecture](https://raw.githubusercontent.com/kvark/blade/main/docs/architecture2.png)

Expand Down

0 comments on commit f57012e

Please sign in to comment.