GithubHelp home page GithubHelp logo

csoft3d's Introduction

cSoft3D

Formerly known as cube2

Note: Current project status could be characterized as "horrifying".
But since GitHub doesn't have an "unlisted" repo privacy setting ... I present to you: cSoft3D!
It's supposed to be a software 3d renderer, but right now it just renders a point cloud of vertices. But hey, it looks kinda cool!

Here's a live demo. It doesn't work on phones, and the monkey might be upside down.
Move the mouse around to rotate the monkey!

Building

You will need:

  • Windows (or the patience to set things up on Linux yourself)
  • Visual Studio 2022, or the Build Tools (for cl.exe in build-win.bat)
    MinGW probably works too, but didn't try yet.
    (Note: You need a different SDL download if you use MinGW!)
  • Python (I use the Python one-liner server in run.bat)
  • Brave Browser (not shilling for Brave but the path to the browser executable is hardcoded in run.bat... so just change it to whatever you use)
  • Emscripten for the web build (build.bat)
  • For the Windows build you will need SDL2-2.0.22, preferably at C:\dev\SDL2-2.0.22.
    (You don't need it for the web build: Emscripten ships with SDL built in! How cool is that?)

TODO

  • Clean things up a bit (sorry)

  • Update SDL version

  • Wireframe!

  • Flat shading!

  • Textures!

  • Linux build

  • MinGW build

  • Make the monkey not be upside down

csoft3d's People

Contributors

avelican avatar

Watchers

 avatar

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.