cgmath-rs
wgpu
cgmath-rs | wgpu | |
---|---|---|
4 | 197 | |
1,101 | 11,061 | |
1.9% | 3.8% | |
0.0 | 9.9 | |
over 1 year ago | 1 day ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cgmath-rs
-
Hey Rustaceans! Got a question? Ask here! (31/2022)!
Take a look into math libraries, like glam, nalgebra, and cgmath. I've only used these through game engines, though, so I can't offer per-basis reviews/advice.
-
Any plans for built-in support of Vec2/Vec3/Vec4 in Rust?
But I am writing a Vulkan-based game engine and I use https://crates.io/crates/cgmath extensively. It has vector classes, all the math functions I need, and it even supports a version of swizzling if you activate the feature. Maybe this crate can do what you need?
-
I want to change my point of view by key input in glium.
There's also a good crate which you can use to quickly create the required matrices called cgmath: https://crates.io/crates/cgmath
-
Rendering large 3D tilemaps with a single draw call at 3000 FPS
One great thing about Rust is that the library ecosystem is surprisingly mature, especially considering how young the language is (1.0 was released in 2015). C# also has good libraries, but from my experience it's kinda fiddly to use most open source libraries with Unity, at least without modifications. Rust's ecosystem has some excellent libraries that help with game development, such as noise for procedural generation and cgmath for linear algebra.
wgpu
-
Zed Decoded: Linux When? – Zed Blog
Wgpu seems very very well loved & supported, is one of the most successful comings together of the graphics world in ages. I'd love to hear some actual critique of it, hear what people think are shortcomings, because it feels to an outsider like this is the fantasy land, that we're living in the better place now. https://github.com/gfx-rs/wgpu
-
GPU Compute in the Browser at the Speed of Native: WebGPU Marching Cubes
Oh look it's subgroup support landing last week: https://github.com/gfx-rs/wgpu/pull/5301
- 3D and 2D: Testing out my cross-platform graphics engine
- Warp Terminal is now available for Linux
- Linux version of Warp terminal is here
-
Building the DirectX shader compiler better than Microsoft?
And wgpu has been doing this for years. Things like descriptor indexing are not exposed to the web but used by Rust (mostly) engines on native.
https://wgpu.rs/
-
New Renderers for GTK
If they used https://wgpu.rs/ they would get directx and metal for free (:
-
Show HN: WebGPU Particles Simulation
IIRC it was delayed multiple times. I think the first intent to ship from chrome was before 100 but they kept pushing it off. Firefox still does not support it. There are projects like wgpu[0] that wrap provide a higher level API and I have used some projects using it with no issues. WFIW I didn't see any issue with OP's demo either.
[0] https://github.com/gfx-rs/wgpu
- Deno 1.39: The Return of WebGPU
-
How do I become a graphics programmer? – A guide from AMD Game Engineering team
wgpu, the Rust WebGPU implementation is the bee's knees. https://wgpu.rs/ You can use it beyond the web.
What are some alternatives?
nalgebra - Linear algebra library for Rust.
vulkano - Safe and rich Rust wrapper around the Vulkan API
glam-rs - A simple and fast linear algebra library for games and graphics
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
rust-gmp
glow - GL on Whatever: a set of bindings to run GL anywhere and avoid target-specific code
Ruma - A set of Rust crates for interacting with the Matrix chat network.
rust-gpu - 🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧
rust-GSL - A GSL (the GNU Scientific Library) binding for Rust
bevy - A refreshingly simple data-driven game engine built in Rust
blas - Wrappers for BLAS (Fortran)
bgfx - Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.