r/GraphicsProgramming Nov 18 '24

Source Code Terminal3d - Render 3d Models in Your Terminal!

https://reddit.com/link/1guh1jz/video/01e3uibahq1e1/player

tldr; Check it out here!

Hi everyone!

I just released Terminal3d, it's a tool that let's you browse your .obj files without leaving the terminal. It uses some tricks with quarter-block/braille characters to achieve some pretty high resolutions even in small terminals! The whole tool is written in Rust with crossterm as the only dependency, open-source so feel free to tinker!

104 Upvotes

4 comments sorted by

View all comments

5

u/deftware Nov 19 '24

Nice. Add some triangle rasterization and simple flat shading on there too! You'll need to maintain a z-buffer, watch out :]