| author | Radek Brich <radek.brich@devl.cz> | 
| Thu, 15 May 2008 19:15:57 +0200 | |
| branch | pyrit | 
| changeset 97 | 2a853d284a6a | 
| parent 96 | 9eb71e76c7fd | 
| child 98 | 64638385798a | 
| permissions | -rw-r--r-- | 
| 4 
c73bc405ee7a
multi-threaded rendering via pthreads
 Radek Brich <radek.brich@devl.cz> parents: diff
changeset | 1 | ================== | 
| 
c73bc405ee7a
multi-threaded rendering via pthreads
 Radek Brich <radek.brich@devl.cz> parents: diff
changeset | 2 | Pyrit Ray Tracer | 
| 
c73bc405ee7a
multi-threaded rendering via pthreads
 Radek Brich <radek.brich@devl.cz> parents: diff
changeset | 3 | ================== | 
| 
c73bc405ee7a
multi-threaded rendering via pthreads
 Radek Brich <radek.brich@devl.cz> parents: diff
changeset | 4 | |
| 44 | 5 | |
| 6 | File Organization | |
| 7 | ----------------- | |
| 94 | 8 | /build -- output directory for binaries and other generated files | 
| 44 | 9 | /ccdemos -- ray tracer demos in C++ | 
| 10 | /demos -- ray tracer demos in Python | |
| 96 
9eb71e76c7fd
added Python binding for material.h classes
 Radek Brich <radek.brich@devl.cz> parents: 
94diff
changeset | 11 | /docs -- Doxygen generated documentation | 
| 44 | 12 | /include -- header files | 
| 13 | /models -- common models for use by demos | |
| 14 | /src -- ray tracing library source code | |
| 15 | /tests -- test programs for classes | |
| 94 | 16 | /tools -- auxiliary programs | 
| 44 | 17 | |
| 18 | Classes organization throughout header files is explained in DEVNOTES. | |
| 19 | ||
| 20 | ||
| 21 | Building | |
| 22 | -------- | |
| 94 | 23 | Type 'scons pyrit' to build and 'scons -h' for list of targets. | 
| 44 | 24 | |
| 25 | Requirements: | |
| 66 | 26 | SCons | 
| 44 | 27 | pthreads (see bellow) | 
| 94 | 28 | libpng, zlib | 
| 44 | 29 | Python 2.4 or newer for Python module and demos | 
| 30 | SDL for interactive C++ demos | |
| 94 | 31 | |
| 32 | It should build with these compilers: GCC, IntelC, MSVC | |
| 33 | GCC is default in Linux, MSVC is default in Windows. | |
| 34 | ||
| 35 | ||
| 36 | Downloading model files | |
| 37 | ----------------------- | |
| 38 | Not all models are included in distribution. To download the large | |
| 39 | Stanford models, type 'scons download-models', which will download | |
| 40 | end extract the archives to appropriate location. | |
| 41 | ||
| 42 | The download script uses 'tar' and 'wget' utilities. | |
| 43 | ||
| 44 | For Windows, these are available here: | |
| 45 | http://gnuwin32.sourceforge.net/packages/wget.htm | |
| 46 | http://gnuwin32.sourceforge.net/packages/libarchive.htm | |
| 44 | 47 | |
| 14 
fc18ac4833f2
replace Plane with axis-aligned Box (because infinite Plane is not usable with kd-tree)
 Radek Brich <radek.brich@devl.cz> parents: 
6diff
changeset | 48 | |
| 4 
c73bc405ee7a
multi-threaded rendering via pthreads
 Radek Brich <radek.brich@devl.cz> parents: diff
changeset | 49 | Pthreads | 
| 
c73bc405ee7a
multi-threaded rendering via pthreads
 Radek Brich <radek.brich@devl.cz> parents: diff
changeset | 50 | -------- | 
| 94 | 51 | Threads can be used to render rays paralelly. Arbitrary number | 
| 52 | of threads can be used. | |
| 4 
c73bc405ee7a
multi-threaded rendering via pthreads
 Radek Brich <radek.brich@devl.cz> parents: diff
changeset | 53 | |
| 96 
9eb71e76c7fd
added Python binding for material.h classes
 Radek Brich <radek.brich@devl.cz> parents: 
94diff
changeset | 54 | For Windows, get Pthreads library here: | 
| 6 
d8d596d26f25
pthreads and other fixes for Windows
 Radek Brich <radek.brich@devl.cz> parents: 
4diff
changeset | 55 | http://sources.redhat.com/pthreads-win32/ | 
| 44 | 56 | |
| 57 | ||
| 58 | License | |
| 59 | ------- | |
| 60 | This software is published under terms of MIT license. | |
| 61 | See COPYING for full text of license. | |
| 62 | ||
| 63 | ||
| 64 | Website | |
| 65 | ------- | |
| 66 | Latest version can be obtained at http://wiki.fiction.cz/Pyrit |