#framework #rendering #3d-rendering #wgpu #performance #graphics #instance

rfw

Rendering framework for implementing new rendering algorithms and creating graphics applications

2 unstable releases

0.2.0 Jul 3, 2021
0.1.0 Dec 17, 2020

#1019 in Graphics APIs


Used in 2 crates

Apache-2.0

355KB
9K SLoC

Rust RFW

Rendering framework written in Rust. This project is a playground for me (@MeirBon) to get to know Rust better and easily play around with libraries such as wgpu and ash. It is heavily based on my similarly named C++ project rendering-fw.

Features

  • A powerful scene component that lets you efficiently manage 3D and 2D objects with included instancing support.
  • A wgpu backend that support spot-lights, directional lights and area lights.
  • Decent performance, even with >=10k instances.
  • Anything that l3d supports (currently gltf and obj files).
  • Backend-agnostic font rendering powered by glyph_brush.

TODO

  • ray casting support (should be relatively easy using rtbvh)
  • physics support (ideally using rapier)
  • point light support in wgpu backend
  • easy-to-use ecs architecture

deferred.png deferred-2.png gpu-rt

Dependencies

~33–46MB
~588K SLoC