Giter Site home page Giter Site logo

cube_demo's Introduction

Cube Demo

WHAT IS THIS?

This project is only intended to be a demonstration on how to draw faux 3D style graphics using SFML's built in rendering. Because the images drawn on the screen have no true depth (no Z axis) they do not count as what typically counts as 3D.

BRANCHES

There is only one branch, the master branch. This project may get infrequently updated but is mostly promised in it's as-is form.

IMPORTANT NOTICE

The terms for the SFML library and this project differ. SFML 2.5.1 is licensed under the zlib license and the copyright belongs to Laurent Gomilla.

HOW IT WORKS

This program isn't incredibly complicated. This is a low-res rendering demonstration using polygonal shapes to render a 3D cube.

You will need SFML 2.5.1 or later for this program to work; though I cannot guarantee that it works with newer versions of SFML as some classes and operations have changed.

Because this program uses SFML's interface with a user's actual graphics card, it should work universally.

This program also offers some loose insight into how SFML and OpenGL work, but to better understand those libraries it is best to study them seperately.

DOCUMENTATION

Everything you should need to understand this project is in the code itself.

BUILDING (Linux)

Building with Linux is incredibly easy. As long as you have SFML installed to your computer proper, you should be able to run the ./build command and allow the system to create a working version of the program there.

Then it's as easy as using the ./run command to start the execution.

BUILDING (Windows)

What you'll need to do is make sure your compiler is linked up with SFML properly and make sure that the 'Cube Demo' program is able to find your SFML library so that it compiles.

This can be a bit more complicated with Visual Studio.

If you're having trouble compiling this program with any version of Visual Studio, feel free to physically copy the entire SFML folder to the 'Cube_Demo' directory and try linkiing everything up that way. It usually works much better that way, for whatever reason.

Please let the developers know if you encounter any serious bugs on the Windows version.

cube_demo's People

Contributors

dreamhollow 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.