Skip to content
项目

关于

Viewer of 3D models in ASCII without graphic libraries.

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

3d-ascii-viewer

Viewer of 3D models in ASCII, written in C.

Example usage capture.

Supported formats:

Compile an run the program

You need developer's libraries for ncurses (the libncurses-dev package on Debian).

Compile the program using the make command:

$ make

You can try it passing any of the models in the models folder as an argument:

$ ./3d-ascii-viewer models/fox.obj

For additional options pass the --help option.

$ ./3d-ascii-viewer --help

Color support

With the --color option, the program looks for the companion MTL files (referenced in the main OBJ file) for information about the materials used by the model.

Characters within faces that use a material will be displayed with the diffuse color of said material. Textures are not supported.

Example usage capture.

To use this option, the terminal must support color attributes and must be capable of redefining colors. Also, the number of colors is limited by the maximum number of color pairs supported by ncurses.

Models

ASCII luminescence idea by: a1k0n.net

Note: If you want to add a Public Domain (CC0) or MIT licenced model, you can send it as a Pull Request or open an Issue. Remember to add the proper credits in the list here.

Older version

There is also an older version, written in Haskell.

探索相关项目

加载中…