Skip to content
프로젝트

소개

3D 객체를 렌더링하고 애니메이션을 만드는 명령줄 인터페이스입니다.

디자인 및 미디어

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
-1
in 7 days
-1
in 15 days
-1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

display3d

Crates.io Version AUR Version

demo video of display3d

display3d is a command line interface for rendering and animating 3D objects using ANSI escape codes, written using gemini-engine in the Rust programming language.

For a basic guide on how to use the tool, run display3d --help

Supported formats

  • .obj (combined with .mtl for colours). If you're exporting from Blender, set the forward axis to +Z and the up axis to +Y
  • .stl

Please note that this form of rendering requires the terminal to support ANSI escape codes, support for which tends to be unreliable on Windows from installation to installation. If you are having issues getting an image on Linux or MacOS, please submit an issue request

Installing

Packaging status

Arch Linux

display3d is available as a package in the AUR. You can install it using your preferred AUR helper, e.g. paru -S display3d.

Nix/NixOS

If you use Nix, you can install display3d from nixpkgs. You can install it as pkgs.display3d, and even run it ephemerally with nix run nixpkgs#display3d!

Conda-Forge

display3d is available on conda-forge for Linux, macOS and Windows. You can install it using your preferred conda package manager, e.g. pixi global install display3d.

Cargo

Make sure you have rust and cargo installed, then run cargo install display3d. This will download, compile and install the latest stable release of display3d. You can then simply run display3d to access it

Compile from source

Clone this repository with git clone https://github.com/renpenguin/display3d.git or download and unzip this repository. You must have rust and cargo installed to compile display3d.

Build the project with cargo build --release. The binary will be saved to <project-repo>/target/release/display3d

Example

To run the example spinning shark, run display3d blahaj.obj -t 0,0,5.5. You can get the blahaj.obj and blahaj.mtl (for colours, should be stored together with blahaj.obj) files in the resources directory of this repository.

관련 프로젝트 살펴보기

불러오는 중…