README
author Radek Brich <radek.brich@devl.cz>
Thu, 15 May 2008 00:07:25 +0200
branchpyrit
changeset 96 9eb71e76c7fd
parent 94 4c8abb8977dc
child 98 64638385798a
permissions -rw-r--r--
added Python binding for material.h classes added raytracermodule.h header file for declarations updated car.py demo added texture.py demo (based on spheres_glass.py) all remaining 'centre' changed to more common 'center' added some more const's to material.h

==================
 Pyrit Ray Tracer
==================


File Organization
-----------------
/build    -- output directory for binaries and other generated files
/ccdemos  -- ray tracer demos in C++
/demos    -- ray tracer demos in Python
/docs     -- Doxygen generated documentation
/include  -- header files
/models   -- common models for use by demos
/src      -- ray tracing library source code
/tests    -- test programs for classes
/tools    -- auxiliary programs

Classes organization throughout header files is explained in DEVNOTES.


Building
--------
Type 'scons pyrit' to build and 'scons -h' for list of targets.

Requirements:
    SCons
    pthreads (see bellow)
    libpng, zlib
    Python 2.4 or newer for Python module and demos
    SDL for interactive C++ demos

It should build with these compilers: GCC, IntelC, MSVC
GCC is default in Linux, MSVC is default in Windows.


Downloading model files
-----------------------
Not all models are included in distribution. To download the large
Stanford models, type 'scons download-models', which will download
end extract the archives to appropriate location.

The download script uses 'tar' and 'wget' utilities.

For Windows, these are available here:
http://gnuwin32.sourceforge.net/packages/wget.htm
http://gnuwin32.sourceforge.net/packages/libarchive.htm


Pthreads
--------
Threads can be used to render rays paralelly. Arbitrary number
of threads can be used.

For Windows, get Pthreads library here:
http://sources.redhat.com/pthreads-win32/


License
-------
This software is published under terms of MIT license.
See COPYING for full text of license.


Website
-------
Latest version can be obtained at http://wiki.fiction.cz/Pyrit