#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

#397 in Graphics APIs

Download history 2/week @ 2024-06-06 2/week @ 2024-06-13 2/week @ 2024-07-04 48/week @ 2024-07-25 12/week @ 2024-08-01

214 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

~9MB
~193K SLoC