redpenguinyt / display3d Goto Github PK
View Code? Open in Web Editor NEWA command line interface for rendering and animating 3D objects
A command line interface for rendering and animating 3D objects
When attempting to load the included blåhaj model, it crashes
Steps to reproduce the behavior:
RUST_BACKTRACE=full display3d blahaj.obj -t 0,0,5.5
Expected behavior
Spinning blåhaj in terminal
Parsed model for a total of 270 faces. Displaying...
thread 'main' panicked at /home/overlord/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gemini-engine-0.14.1/src/elements/view/pixel/vec2d.rs:55:1:
attempt to calculate the remainder with a divisor of zero
stack backtrace:
0: 0x5bed1aab72a5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h9a7c8ebfe0e5a9ea
1: 0x5bed1aadc90b - core::fmt::write::hafeb62294a20d279
2: 0x5bed1aab4f9f - std::io::Write::write_fmt::h83162bfc67f19d63
3: 0x5bed1aab707e - std::sys_common::backtrace::print::he94870e87e3768e8
4: 0x5bed1aab8669 - std::panicking::default_hook::{{closure}}::hd193b85d1d659c30
5: 0x5bed1aab83d3 - std::panicking::default_hook::h6de7d4d748c8b263
6: 0x5bed1aab8b04 - std::panicking::rust_panic_with_hook::ha4c10d4e371025d4
7: 0x5bed1aab89ad - std::panicking::begin_panic_handler::{{closure}}::h8d8b80cfb6d2af9a
8: 0x5bed1aab7769 - std::sys_common::backtrace::__rust_end_short_backtrace::hedf50fb5defff019
9: 0x5bed1aab8717 - rust_begin_unwind
10: 0x5bed1aa0d4b6 - core::panicking::panic_fmt::hde3e2c796a3a5416
11: 0x5bed1aa0d55f - core::panicking::panic::h150613825d1ad83d
12: 0x5bed1aa43b3d - <gemini_engine::elements::view::pixel::vec2d::Vec2D as core::ops::arith::Rem>::rem::h105758bb6e550970
13: 0x5bed1aa4072e - gemini_engine::elements::view::View::plot::h00e51d47e412cf25
14: 0x5bed1aa28ffc - gemini_engine::gameloop::with_root::MainLoopRoot::main_loop::h4cb9ebb27c17e918
15: 0x5bed1aa232eb - display3d::main::h5f46ddb35485eee6
16: 0x5bed1aa2d3c3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h9852b8bbb3dab5bc
17: 0x5bed1aa2f829 - std::rt::lang_start::{{closure}}::h29201e19d310d1d1
18: 0x5bed1aab0bd1 - std::rt::lang_start_internal::h983d5a44e7093a3b
19: 0x5bed1aa23535 - main
20: 0x7135bd4cdcd0 -
21: 0x7135bd4cdd8a - __libc_start_main
22: 0x5bed1aa0da65 - _start
23: 0x0 -
` ╭─ Arch Linux x86_64
├─ 6.8.2-zen2-1-zen
├─ overlord
├─ 1883 (pacman)
╰─ zsh 5.9
╭─ Plasma 6.0.3
├─ WezTerm
╭─ HP Laptop 15s-fq1xxx
├─ Intel i7-1065G7 (8) @ 3.9GHz [73.0°on]
├─ Intel Iris Plus Graphics G7
├─ 1920x1080
├─ 4.33GiB / 11.38GiB (38%)
├─ (/) 262G / 299G (88%)
╰─ 14 hours, 36 mins
`
No blåhaj
Steps to repoduce (with the blahaj model)
display3d .\blahaj.obj -t 0,0,2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.