Skip to content
Proyectos

Acerca de

Un rasterizador de software 3D… ¡para el terminal!

Creación y multimedia

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

sloth - A one-of-a-kind Rust 3D Renderer for the CLI

pikachu

A one-of-a-kind command line 3D software rasterizer made with termion, tobj, and nalgebra. Currently it supports OBJ file formats without textures. It also supports OBJ file formats with vertex colors.

Javascript Export Demonstration

Getting Started / Uses


Here's a few really simple commands for you to get started.

You can replace sloth <args> with cargo run --release -- <args> anywhere

Render pikachu

sloth models/Pikachu.obj

For multiple models:

sloth "models/suzy.obj models/suzy.obj"

You can also generate a static image:

sloth models/Pikachu.obj image -w <width_in_pixels> -h <height_in_pixels>

You can also generate a portable Javascript render like this:

sloth models/Pikachu.obj image -j <number_of_frames> -w <width_in_pixels> -h <height_in_pixels> > src-webify/data.js

Thank you, contributors!

Maxgy – Rustfmt lint donbright – STL model loading added, Rustfmt lint sophiajt – Crossterm port

Explorar proyectos relacionados

Cargando…