#n64 #graphics #rendering #gbi

fast3d

A Rust library for N64 Fast3D Graphics Rendering

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

#283 in Graphics APIs

30 downloads per month
Used in 2 crates

Custom license

170KB
4.5K 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

~8.5MB
~177K SLoC