#n64 #graphics #rendering #fast3d #gbi

fast3d-wgpu-renderer

WGPU renderer for fast3d-rs

10 releases (4 breaking)

0.5.0 Sep 28, 2023
0.4.4 Jul 18, 2023
0.3.1 Jul 4, 2023
0.2.0 Jun 26, 2023
0.1.0 Jun 24, 2023

#1052 in Graphics APIs

Download history 18/week @ 2024-07-26 2/week @ 2024-08-02 5/week @ 2024-09-20 2/week @ 2024-09-27

122 downloads per month

Custom license

240KB
6K SLoC

fast3d-rs

fast3d-rs is a library written in Rust for rendering N64 graphics API commands.

Features

  • F3DEX2 microcode supported (more coming)
  • WGPU rendering
  • OpenGL rendering

How to Use

Add this library to your project and one of the following renderers: fast3d-wgpu-renderer or fast3d-glium-renderer.

The library consists of three main components:

  • RCP - This represents the N64 RCP and provides a reset and a process_dl method.
  • RenderData - This is given to the RCP run command that collects draw data and textures for rendering with different renderers.
  • WgpuRenderer - This is a renderer that can be used to render data produced
  • GliumRenderer - This is a renderer that can be used to render data produced

Check out the examples folder for some examples of how to use the library.

Looking for a solution that includes this, windowing, audio and controller input? Check out Helix!.

Community

Dependencies

~15–45MB
~764K SLoC