Code Monkey home page Code Monkey logo

asr-project's Introduction

asr

asr is a simple renderer written in C++ for creative coding and data visualization purposes.

Prerequisites

Install all the prerequisites first.

  • MSVC (with Latest Visual Studio), Clang (with Latest Xcode), GCC (any version with support of C++17)
  • CMake (version 3.17.0 or higher)
  • Conan (version 1.32.1 or higher)
  • GPU drivers (latest version with stable support of OpenGL 2 or ES 2.0)

Building

Create a build directory and set it as a current working directory:

mkdir build
cd build

Install dependencies with the Conan package manager once:

conan profile new default --detect # ignore error messages about existing profiles
conan remote add bincrafters "https://api.bintray.com/conan/bincrafters/public-conan"
conan install .. --build sdl2 # may also need --build=glew

Configure the project to generate IDE or Makefiles:

# On Windows for Visual Studio
cmake .. -G "Visual Studio 16 2019"

# On macOS for Xcode
cmake .. -G "Xcode"

# on macOS or GNU/Linux to generate Makefiles
cmake .. -G "Unix Makefiles"

Build the project:

cmake --build .

Run the test program from the asr/build/bin/ directory:

cd .. # Ensure that the current working directory is set to the root asr folder.
./build/bin/<name of the graphics test executable>

You may have to set the Working Directory (CWD) in your IDE for some test targets to be able to open image files.

asr-project's People

Contributors

toksaitov avatar gespavel 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.