Code Monkey home page Code Monkey logo

tangere's Introduction

This is the sample code from the following 2009 academic paper: https://www.researchgate.net/publication/220494169_Integer_Ray_Tracing

It has been trivially modified by Andi McClure to run in modern CMake. Ignore the below installation instructions and run [these](run.txt).

-----------
  tangere
-----------

tangere is a cross-platform, template-based integer/floating-point ray
tracing system that accompanies the paper "Integer Ray Tracing" by
Heinly et al.

tangere implements the techniques described in the text and is
intended to serve as a testbed for additional enhancements and further
experimentation with integer ray tracing techniques.

Please see LICENSE for more information regarding the use of the
tangere source code.


---------------------------------------
  Installation & usage - *NIX systems
---------------------------------------

tangere requires CMake version 2.6 or better to build on UNIX-like
systems.

Obtain the source distribution and move it to your top-level tangere
directory.

Extract the code from the tarball:

  cd /Users/johndoe/tangere-dist
  mv <download path>/tangere-dist.tgz .
  tar zxvf tangere-dist.tgz

Create a build directory, run CMake, and build the executable:

  mkdir build-gnu
  cd build-gnu
  ccmake ../src/
  make

The executable file is placed in the CMake-generated "bin" directory
within the build directory.  To execute the program, simply invoke it
from the command line with the desired scene file.  For example, run:

  bin/tangere ../src/scenes/cbox_trippy.txt

to render the included scene.  Scene files and additional command line
parameters can be used to control the run-time behavior of tangere.
See the source code for additional options.


----------------------------------------
  Installation & usage - WIN32 systems
----------------------------------------

tangere will also build with Visual Studio 2008 or better on
Windows-based systems.

Obtain the source distribution and move it your top-level tangere
directory.

Extract the code from the tarball using a utility such as WinZip.

Navigate to the "vs2008" subdirectory and double-click the
"vissim.sln" file to launch Visual Studio 2008.

tangere is now ready to build and run within the Visual Studio 2008
development environment.  For example, set the command arguments in
the Debugging properties pane to:

  "..\..\scenes\cbox_trippy.txt"

to render the included scene.  Scene files and additional command line
parameters can be used to control the run-time behavior of tangere.
See the source code for additional options.

tangere's People

Contributors

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