본문으로 건너뛰기
AI NEWS JOURNAL
Hacker News Show HNAI NEWS / JOURNAL

Show HN: Rendering 3D Models in the Terminal

This is something that I've been making for a little under a year now. It has support for the new stuff like Kitty Graphics Protocol and Sixel, but still has fallbacks for terminals that don't support those. Also has textures, animations, wireframe, keyboard and mouse controls, and neovim support.https://github.com/Murat65536/dcat https://github.com/Murat65536/dcat.nvim Comments URL: https://news.ycombinator.com/item?id=50361230 Points: 2 # Comments: 0

번역 서비스가 일시 중지되어 원문을 표시합니다.

I don’t want to leave the terminal for anything. I like its simplicity. It forces me to be creative when making something in it, and for applications I use to strip out bloat and just give me something that works. I don’t like that Zen takes up 5gb of RAM every time I open it. I just want to use the terminal: it’s resource-efficient, debloated, and really fricking cool. What if I want to see a 3d model? Well, I could open up Carbonyl (or one of the other projects that spins up a browser), but at that point I have the same issue, don’t I? Still a bunch of CPU and RAM being wasted as a result a Chromium instance. I could also get a regular 3d model viewer, but then I wouldn’t exactly be in the terminal. As a Neovim user (wow who would have thought?), that’s not really acceptable. dcat is my solution to this. It uses Assimp to support virtually any 3d file format and WGPU to display it without any performance issues. It has got textures, animations, Kitty Graphics Protocol, Sixel, fallbacks for old terminals, wireframe toggling, keyboard controls, mouse controls, and support on Windows, Mac, and Linux. It’s also a solution to see 3d models over SSH. I’ve been developing the project for quite some time now, but I very recently switched it from C to Rust, which made cross-platform support a lot easier. There’s also a neovim plugin for this, which automatically runs dcat when you open a 3d model file.

자료 출처

원문 읽기 ↗

관련 주제

← 전체 소식 이어 읽기