Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.22 KB

README.md

File metadata and controls

42 lines (26 loc) · 1.22 KB

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!.

Examples

You can run our examples using the following command:

cargo run --bin fast3d-examples <example>

To run on web:

cargo xtask run-wasm

Community