Giter VIP home page Giter VIP logo

noriv2's Introduction

Nori Version 2

Nori is a simple ray tracer written in C++. It runs on Windows, Linux, and Mac OS.

Installation

Linux / Mac OS X

git --clone recursive https://github.com/alexus37/NoriV2.git
cd NoriV2
mkdir build
cd build
cmake-gui ..

(You can use cmake instead of cmake-gui)

After the Makefiles are generated, simply run make to compile all dependencies and Nori itself.

make -j 4

This can take quite a while; the above command compiles with four processors at the same time. Note that you will probably see many warning messages while the dependencies are compiled you can ignore them.

Windows

Begin by installing Visual Studio 2013 (older versions won't do) and a reasonably recent (≥ 3.x) version of CMake. Download the version 1.2 libpng package and the zlib package and extent the PATH variable with the installation path of the libaries.

setx path "%path%;C:\Program Files (x86)\GnuWin32\bin\"

Start CMake and navigate to the location where you cloned the Nori repository. After setting up the project, click the Configure and Generate button. This will create a file called nori.sln —double-click it to open Visual Studio.

The Build->Build Solution menu item will automatically compile all dependency libraries and Nori itself; the resulting executable is written to the Release or Debug subfolder of your chosen build directory. Note that you will probably see many warning messages while the dependencies are compiled—you can ignore them.

Arch

Download http://ala.seblu.net/packages/l/libpng12 and install with pacman.

noriv2's People

Contributors

alexus37 avatar mari0p avatar moritzschaefer avatar mworchel avatar svenevs avatar

Watchers

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