Pyrit Ray Tracer

Current Features

Planned Features

Demos

The package contains several demos both in Python and C++. Each Python demo renders a scene and saves resulting picture into PNG file. Some demos need models from Stanford Scanning Repository which can be automatically downloaded by scons download-models. All C++ demos require SDL for interactive browsing of scenes.

Download

How to build

Build is done by SCons. Other dependencies are SDL and libpng for C++ demos, Python for Python module and demos, tar and wget for model files auto-downloading.

Podrobný postup pro Windows

Pictures

car.thumb.png

car model
demos/car.py

glass-bunny.thumb.png

glass bunny with shadows and reflection
bunny model with ~70k triangles
demos/bunny.py

spheres-glass.thumb.png

row of glass spheres
demos/spheres_glass.py

spheres-ao.thumb.png

spheres with false soft shadows
(ambient occlusion)
demos/spheres_ao.py

texture-maps.thumb.png

textures demo
(planar, cubic, cylindrical and spherical mapping)
ccdemos/textures.cc

License

This software is published under terms of MIT license

Pyrit (last edited 2010-03-13 16:45:21 by rgb)