README
author Radek Brich <radek.brich@devl.cz>
Tue, 06 May 2008 09:39:58 +0200
branchpyrit
changeset 93 96d65f841791
parent 66 c5b89d16497a
child 94 4c8abb8977dc
permissions -rw-r--r--
more build script tuning make all float constants single precision solve many warnings from msvc and gcc with various -W... flags add common.cc file for dbgmsg() function witch apparently cannot be inlined fix python module building with msvc, add manifest file handling remove forgotten RenderrowData class add stanford models download script for windows (.bat)

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


File Organization
-----------------
/bin      -- output directory for binary objects
/ccdemos  -- ray tracer demos in C++
/demos    -- ray tracer demos in Python
/include  -- header files
/models   -- common models for use by demos
/src      -- ray tracing library source code
/tests    -- test programs for classes

Classes organization throughout header files is explained in DEVNOTES.


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

Requirements:
    SCons
    pthreads (see bellow)
    Python 2.4 or newer for Python module and demos
    PIL (Python Imaging Library) for Python demos
    SDL for interactive C++ demos
    libpng and zlib for rendering to PNG file from C++ demos


Pthreads
--------
Threads can be used to render rows of picture paralelly. Arbitrary number
of threads can be used, even numbers like 17 are acceptable.

To completely disable this feature just remove "-DPTHREADS -pthreads"
from flags in makefile.

For Windows + Mingw32, 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