README
author Radek Brich <radek.brich@devl.cz>
Sat, 10 May 2008 14:29:37 +0200
branchpyrit
changeset 95 ca7d4c665531
parent 94 4c8abb8977dc
child 96 9eb71e76c7fd
permissions -rw-r--r--
build script fixes, add ldflags build option update and enhance demos fix bug in 4x grid oversampling warn if writePNG called while compiled without libpng make shapes in ShapeList const and add many other const needed due to snowball effect slightly optimize Camera::makeRayPacket using _mm_shuffle_ps make Vector SIMD vectorization disabled by default (causes problems) fix bug in implicit reflection of transmissive surfaces, when surface's reflection parameter is set to zero

==================
 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
/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