#3d #graphics #gpu #renderer #wgpu

rend3

Easy to use, customizable, efficient 3D renderer library built on wgpu

11 releases

0.2.3 Nov 15, 2021
0.2.2 Oct 24, 2021
0.1.2 Sep 20, 2021
0.0.6 Aug 22, 2021
0.0.5 Mar 10, 2021

#5 in Rendering engine

Download history 12/week @ 2021-09-27 28/week @ 2021-10-04 35/week @ 2021-10-11 88/week @ 2021-10-18 71/week @ 2021-10-25 11/week @ 2021-11-01 15/week @ 2021-11-08 332/week @ 2021-11-15 479/week @ 2021-11-22 373/week @ 2021-11-29 271/week @ 2021-12-06 10/week @ 2021-12-13 3/week @ 2021-12-20 12/week @ 2021-12-27 26/week @ 2022-01-03 16/week @ 2022-01-10

58 downloads per month
Used in 4 crates

MIT OR Apache-2.0 OR Zlib

180KB
4K SLoC

rend3

GitHub Workflow Status Crates.io Documentation License

Easy to use, customizable, efficient 3D renderer library built on wgpu.

Library is under active development. While internals will likely change quite a bit, the external api will only experience minor changes as features are added.

To use rend3 add the following to your Cargo.toml:

rend3 = "0.2.3"

Screenshots

scifi-base emerald-square example

Examples

Take a look at the examples getting started with the api.

Purpose

rend3 tries to fulfill the following usecases:

  1. Games and visualizations that need a customizable, and efficient renderer.
  2. Small projects that just want to put objects on screen, but want lighting and effects.
  3. A small cog in a big machine: a renderer doesn't interfere with the rest of the program.

rend3 is not:

  1. A framework or engine. It does not include all the parts needed to make an advanced game or simulation nor care how you structure your program. I do have plans for a rend3-util (or similar) crate that is a very basic framework for the second use case listed above.

GPU Culling

On Vulkan and DX12 "gpu mode" is enabled by default, which uses modern bindless resources and gpu-based culling. This reduces CPU load and allows sigifigantly more powerful culling.

Future Plans

I have grand plans for this library. An overview can be found in the issue tracker under the enhancement label.

Helping Out

We welcome all contributions and ideas. If you want to participate or have ideas for this library, we'd love to hear them!

License: MIT OR Apache-2.0 OR Zlib

Dependencies

~5–9MB
~156K SLoC