Skip to content

doge0420/rview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rview the terminal 3D rasterizer 🎨🖥️

project demo

A simple Rust software rasterizer that renders 3D models like cubes or .obj files as ASCII art right in your terminal. It covers:

  • 3D transformations (scale, rotate, translate)
  • Perspective projection
  • Triangle rasterization
  • Basic lighting for shading 🌞

How to use

  1. Load or create a 3D object
  2. Run the program
  3. Drag the mouse to rotate the camera 🔄
  4. Scroll wheel to zoom in/out 🔍
  5. Press C to quit ✌️

What’s inside?

  • Matrix math with glam
  • Triangle rasterization with ASCII shading
  • Lighting based on face normals and a light source that follows the camera

Earlier demo

earlier project demo

Sources

About

A fast terminal 3D rasterizer 🦀

Resources

License

Stars

Watchers

Forks

Contributors

Languages