{"repo":"taigrr/trophy","free":true,"listed":false,"github":"https://github.com/taigrr/trophy","clone":"git clone https://github.com/taigrr/trophy.git","description":"Terminal 3D Model Viewer - View 3D model files in your terminal","language":"Go","stars":125,"topics":["glb","obj","stl","3d","3d-graphics","gltf","go","golang","terminal","tui"],"license":"0BSD","category":"cli-tools","readme_excerpt":"Trophy 🏆 Terminal 3D Model Viewer - View OBJ, GLB, and STL files directly in your terminal. Features - OBJ, GLB & STL Support - Load standard 3D model formats - Embedded Textures - Automatically extracts and applies GLB textures - Interactive Controls - Rotate, zoom, and spin models with mouse/keyboard - Software Rendering - No GPU required, works over SSH - Springy Physics - Smooth, satisfying rotation with momentum Installation Usage Controls Input Action ------------ --------------------- Mouse drag Rotate model Scroll wheel Zoom in/out W/S Pitch up/down A/D Yaw left/right Q/E Roll Space Toggle spin mode +/- Zoom R Reset view T Toggle texture X Toggle wireframe B Toggle backface cull L Position light ? Toggle HUD overlay Esc Quit Lighting Press L to enter lighting mode and drag to reposition the light source in real-time: Library Usage Trophy's rendering packages can be used as a library: Packages - pkg/math3d - 3D math (Vec2, Vec3, Vec4, Mat4) - pkg/models - Model loaders (OBJ, GLB/GLTF, STL) - pkg/render - Software rasterizer, camera, textures Benchmarks Run with go test -bench=. -benchmem ./... Math (pkg/math3d) Benchmark ns/op B/op allocs/op -------------- ----: ---: --------: Mat4Mul 74.86 0 0 Mat4MulVec4 6.84 0 0 Mat4MulVec3 8.24 0 0 Mat4Inverse 62.13 0 0 Vec3Normalize 7.41 0 0 Vec3Cross 2.47 0 0 Vec3Dot 2.48 0 0 Perspective 24.15 0 0 LookAt 33.66 0 0 ViewProjection 71.32 0 0 Rendering (pkg/render) Benchmark ns/op B/op allocs/op -------------------------- -----: ---","default_branch":null,"files":null,"tree":[],"storefront":"/r/taigrr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/taigrr/trophy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}