learn-wgpu
bevy
Our great sponsors
learn-wgpu | bevy | |
---|---|---|
48 | 443 | |
1,031 | 21,421 | |
- | 4.2% | |
8.5 | 9.9 | |
12 days ago | 4 days ago | |
Rust | Rust | |
MIT License | MIT OR Apache-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.
learn-wgpu
-
What is the "P5.js" for Rust?
the "p5.js" of rust is definetelly nannou. but i wouldn't recommend it for something that is graphics heavy, nannou is great for visualizations, effects, animations and stuff, but for proper 3d rendering and stuff you should go to wgpu (which has a great walkthrough: https://sotrh.github.io/learn-wgpu/), or some opengl binding which there are many of: https://crates.io/keywords/opengl
-
If you're using Metal you're literally a terrorist [shitpost/rant]
And here's the tutorial: https://sotrh.github.io/learn-wgpu/
-
Render Pipelines in wgpu and Rust
baryon is a lightweight toy renderer for prototyping 3D applications in Rust. It uses wgpu to render 3D elements, hecs for an ECS system (to make a scene with “entities” like 3D models), and winit for handling cross-platform window management (just like the wgpu tutorial). It also allows for setting different “render passes”, like a Phong (”cartoony”/fast) vs PBR (”realistic”) pass.
-
A web enabled interactive fractal explorer written in rust!
I creted this project while learning from this awesome tutorial which I highly recommend. I also took inspiration for the minimal web ui from this repository.
-
Primitive Geometry in wgpu and Rust
⚠️ This tutorial assumes you’ve followed and completed the “Learn wgpu” tutorial. You could also use my repo here as a starting point - but it will require Rust and Trunk setup in your local dev environment. You can also checkout the final code here for reference.
-
Where to start to develop a game engine?
If you do know Rust and know what to pick from, but want to be at bleeding edge and have the best Rust centric graphics libraries can offer, try wgpu which is an implementation of WebGPU. There's a tutorial on how to get started too.
-
Questions about resizing: 1) How to keep aspect ratio, 2) How to allow resizing as wasm/on web?
Hello! So far am I following this guide for WGPU/Rust: sotrh/learn-wgpu. I made it to the depth buffer before I wanted to use what I had learned to make my own project. It has been going pretty well, with no major hiccups, however, I am having issues with resizing.
-
Best resources to learn graphics programming?
I started learning Rust a while back and recently got interested into graphics programming. I found this library called wgpu. It seemed what I was looking for so I looked up some tutorials and this one seems to be the only one that exists.
-
3D graphics library
If you decide to go with it and want to learn it I would recommend you to refer https://sotrh.github.io/learn-wgpu/ and refer to Go code for the tutorials here https://github.com/rajveermalviya/go-webgpu-examples/tree/main/learn-wgpu/beginner (WIP, I am in the process of making complete doc)
-
GPU to good use
There's also https://sotrh.github.io/learn-wgpu/, but that focusses more on the graphics part of wgpu.
bevy
- Next Rust Compiler
-
Bevy + Webserver, architecture help
I'm doing a procedural flower generator using Bevy (https://bevyengine.org/) as a way to learn rust, and the goal is to embed it into a wasm webapp.
-
Scaling Bevy Development
Do you foresee better support for double precision in the near future? I see some discussion here: https://github.com/bevyengine/bevy/issues/1680
More on Bevy wasm build sizes here: https://github.com/bevyengine/bevy/issues/3978
-
Fyrox Game Engine 0.29
Scripts for game logic are officially a non-goal in Bevy.
- Mentioned here by its creator: https://news.ycombinator.com/item?id=24984942
- Here by a team member: https://github.com/bevyengine/bevy/issues/2352
- And here, under "Turtles all the way down", in a roundabout way: https://bevyengine.org/news/introducing-bevy/#why-build-bevy
-
Ask HN: What Are You Working on This Year?
The last few years, I've generally been working on video game and UI stuff with Rust. Recently, and for the foreseeable future, I've transitioned from working on my own stuff, to contributing to the Bevy[0] game engine, on the rendering side of things. Temporal antialiasing, screen space ambient occlusion, bloom, image based lighting, etc. It's been very rewarding working on an established project, rather than my own stuff.
-
Quick Question: We have startup systems, what about the opposite?
For posterity: Working alternatives have been found, but it was suggested to add a github issue for this: https://github.com/bevyengine/bevy/issues/7067
The systems that handle closing the window are here.
-
Rust Course Holiday giveaway! Learn Rust, make games, have an adventure.
Awesome! You should check out some Rust game engines such as Bevy or Fyrox. They're still in the early days, but there's a bright future for Rust in games.
What are some alternatives?
Amethyst - Data-oriented and data-driven game engine written in Rust
Godot - Godot Engine – Multi-platform 2D and 3D game engine
RG3D - 3D and 2D game engine written in Rust [Moved to: https://github.com/FyroxEngine/Fyrox]
Fyrox - 3D and 2D game engine written in Rust
piston - A modular game engine written in Rust
ggez - Rust library to create a Good Game Easily
gdnative - Rust bindings for Godot 3
specs - Specs - Parallel ECS
wgpu - Safe and portable GPU abstraction in Rust, implementing WebGPU API.
macroquad - Cross-platform game engine in Rust.
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
mediapipe - Cross-platform, customizable ML solutions for live and streaming media.