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.

http://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. Python and Pygame were chosen as the library’s interface to make experimenting with user interfaces and navigation schemes as easy as possible. The included script, hypercube.py, offers a working example.

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.

Source Distribution

ntracer-0.2.10.tar.gz (91.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page