Skip to content

A C++ based, cross platform ray tracing library

License

Notifications You must be signed in to change notification settings

cstollw/visionaray

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visionaray

A C++ based, cross platform ray tracing library

Note that the current version of Visionaray is an early preview. At this stage, the framework, including the API, are likely to undergo frequent changes.

Getting Visionaray

Under Linux or Mac OS X, use the following commands to locally clone Visionaray

git clone https://github.com/szellmann/visionaray.git
cd visionaray
git submodule update --init --recursive

Build requirements

  • C++11 compliant compiler (tested with g++-4.8.2 on Ubuntu 14.04 x86_64, tested with clang++-6.0 on Mac OS X 10.10)

  • CMake version 2.8 or newer

  • Boost

  • OpenGL

  • GLEW

  • NVIDIA CUDA Toolkit version 6.5 or newer (optional)

  • All external dependencies but CMake are required as developer packages containing C/C++ header files

  • In the future we intend to relax the OpenGL and GLEW dependency

  • Microsoft Windows support is there but poor, most testing is done under Linux and Mac OS X

  • When targeting NVIDIA CUDA, make sure you have a C++11 compliant version (v6.5 or later on Windows and Linux, v7.0 on Mac OS X)

  • Visionaray supports Fermi+ NVIDIA GPUs (e.g. >= GeForce 400 series or >= Quadro {4|5|6}000)

Additionally, in order to compile the viewer application, the following packages are needed:

Building the Visionaray library and viewer application

Linux and Mac OS X

It is strongly recommended that you do a "release build" because otherwise the CPU code path will be "sluggish". It is also recommended to supply an architecture flag that corresponds to the CPU architecture you are targeting. Please ensure that you have C++11 support activated.

cd visionaray
mkdir build
cd build

cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-std=c++11 -msse4.1"
make

License

Visionaray is licensed under the MIT License (MIT)

About

A C++ based, cross platform ray tracing library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.0%
  • C 2.6%
  • CMake 1.4%