Giter Club home page Giter Club logo

display3d's Issues

crash on attempt to display

When attempting to load the included blåhaj model, it crashes

Steps to reproduce the behavior:

  1. Run the command 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.