GithubHelp home page GithubHelp logo

leonmavr / retrocube Goto Github PK

View Code? Open in Web Editor NEW
78.0 2.0 6.0 23.75 MB

πŸ“ΊπŸ‘½ 3D graphics engine on the terminal in standard C without third parties

License: GNU Affero General Public License v3.0

C 96.37% Makefile 1.50% Nix 2.13%
ascii c graphics raytracing terminal 3d-graphics linux nix terminal-graphics ascii-graphics

retrocube's Introduction

Sometimes I publish stuff that piques my interest in my github blog.

retrocube's People

Contributors

leonmavr avatar pmarreck avatar quantenzitrone avatar ryukazou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

retrocube's Issues

TermSaver?

Any idea how I could turn that into a terminal saver once the computer is xy min not used

SIGSEGV

i haven't investigated further, but when trying to run it with

nix run github:leonmavr/retrocube

i get a SIGSEGV

so your code seems to be broken

lag with perspective and larger cube sizes

Since I updated retrocube last the command

cube -wi 200 -de 200 -he 200 -sx 0.99 -sy 0.90 -up

doesn't work properly anymore
on commit 76a13dc378c1dd611819e504d9ba6d00f9649754:

2023-09-13.16-09-56.mp4

on current HEAD (95bf2f54ff98813921d34723afb3f467dc912ad3):

2023-09-13.16-10-37.mp4

The cube offset in the videos is just because I recorded my terminal window on the left with obs and somehow obs still recorded in 1920x1080

i also tried to record with asciinema, but it didn't work well

Nothing showed up in after executing ./cube

I've successfully built the file, although it has some arbitrary errors (like obj_plane_z_at_xy declared but never defined), but it builds just fine. The real problem is nothing showed up after executing ./cube. At first I thought it was because I was in terminal that has theme and I'm running the file inside tmux, but it's the same after using a different terminal. I'm guessing it has something to do with libncurses. I've tried using libncurses5-dev and libncurses and nothing works. I'm using Ubuntu 20.04.

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.