skip to navigation
skip to content

Not Logged In

ntracer 0.6.0

A fast hyper-spacial ray-tracing library

Latest Version: 0.7.3

Important: this library makes extensive use of features exclusive to C++11. At the time of this writing, the only compilers that can build this library are GCC >= 4.7 and Clang >= 3.1.

NTracer is a simple ray-tracer that can work with scenes with an arbitrary number of dimensions.

A three-dimension slice of a six-dimensional hypercube

A three-dimension slice of a great grand stellated 120-cell

The renderer can use an arbitrary number of threads and by default uses as many threads as there are processing cores. For small dimensionalities (by default, eight or fewer dimensions), the library uses specialized routines with the number of dimensions hard-coded, which offer better performance by avoiding the looping and heap allocation that the generic versions require.

The main goal is to aid in the visualization of higher-dimensional space.

There is special support for Pygame, but it is not a requirement. However, the included example scripts, hypercube.py and polytope.py, depend on it.

Documentation is available at http://rouslan.github.io/NTracer/doc.

 
File Type Py Version Uploaded on Size
ntracer-0.6.0.tar.gz (md5) Source 2014-06-01 115KB
  • Downloads (All Versions):
  • 87 downloads in the last day
  • 380 downloads in the last week
  • 1565 downloads in the last month