Skip to main content

A fast hyper-spacial ray-tracing library

Project description

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.

https://rouslan.github.io/NTracer/screenshots/ntracer_6d.png

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
ntracer-0.5.1.tar.gz (110.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page