Giter Club home page Giter Club logo

dpasca-sdl2-template's Introduction

Demos

Demo1: A moving red rectangle Demo2: A 3D starfield (no glm for 3D)
Demo3: A wire-frame cube made of particles Demo4: A cube made with random particles
Demo5: A 2D rotating quad Demo6: A simple voxel scene
Demo7: A voxelized fractal terrain Demo8: Rudimentary texture sampling
Demo9: Simple self-driving using neural-networks

Required Tools

  • Git with Git Bash
  • CMake
  • For Windows: Visual Studio
  • For Mac: Xcode (untested)
  • For Linux: gcc, etc.

If you're on Windows. All commands are meant to run under Git Bash, not MS-DOS.

Quick Start

1) Get the external dependencies

./get_externals.sh

2) Do a full build

You should do a full-build at least once via command line so that SDL DLLs are created, both for Release and Debug:

./build.sh -t Debug
./build.sh -t Release

Executables can now be found under _bin.

Using the VS solution

  1. The solution is located in _build\win\dpasca-sdl2-template.sln
  2. From Solution Explorer, right click on Demo1 and choose "Set As StartUp Project"
  3. Press F7 to build the selected project

Updating the VS solution or makefiles

This will refresh the makefiles or IDE projects for when sources are added or removed.

./build.sh -d

dpasca-sdl2-template's People

Contributors

dpasca avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

oplx

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.