| author | Radek Brich <radek.brich@devl.cz> | 
| Tue, 18 Dec 2007 12:36:01 +0100 | |
| branch | pyrit | 
| changeset 41 | c1080cb5bd6d | 
| parent 14 | fc18ac4833f2 | 
| child 44 | 3763b26244f0 | 
| 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  | 
|
| 
14
 
fc18ac4833f2
replace Plane with axis-aligned Box (because infinite Plane is not usable with kd-tree)
 
Radek Brich <radek.brich@devl.cz> 
parents: 
6 
diff
changeset
 | 
5  | 
License  | 
| 
 
fc18ac4833f2
replace Plane with axis-aligned Box (because infinite Plane is not usable with kd-tree)
 
Radek Brich <radek.brich@devl.cz> 
parents: 
6 
diff
changeset
 | 
6  | 
-------  | 
| 
 
fc18ac4833f2
replace Plane with axis-aligned Box (because infinite Plane is not usable with kd-tree)
 
Radek Brich <radek.brich@devl.cz> 
parents: 
6 
diff
changeset
 | 
7  | 
Currently unlicensed, you may not redistribute or use this work for any purposes.  | 
| 
 
fc18ac4833f2
replace Plane with axis-aligned Box (because infinite Plane is not usable with kd-tree)
 
Radek Brich <radek.brich@devl.cz> 
parents: 
6 
diff
changeset
 | 
8  | 
Will be MIT licensed when ready.  | 
| 
 
fc18ac4833f2
replace Plane with axis-aligned Box (because infinite Plane is not usable with kd-tree)
 
Radek Brich <radek.brich@devl.cz> 
parents: 
6 
diff
changeset
 | 
9  | 
|
| 
4
 
c73bc405ee7a
multi-threaded rendering via pthreads
 
Radek Brich <radek.brich@devl.cz> 
parents:  
diff
changeset
 | 
10  | 
Pthreads  | 
| 
 
c73bc405ee7a
multi-threaded rendering via pthreads
 
Radek Brich <radek.brich@devl.cz> 
parents:  
diff
changeset
 | 
11  | 
--------  | 
| 
 
c73bc405ee7a
multi-threaded rendering via pthreads
 
Radek Brich <radek.brich@devl.cz> 
parents:  
diff
changeset
 | 
12  | 
Threads can be used to render rows of picture paralelly. Arbitrary number  | 
| 
 
c73bc405ee7a
multi-threaded rendering via pthreads
 
Radek Brich <radek.brich@devl.cz> 
parents:  
diff
changeset
 | 
13  | 
of threads can be used, even numbers like 17 are acceptable.  | 
| 
 
c73bc405ee7a
multi-threaded rendering via pthreads
 
Radek Brich <radek.brich@devl.cz> 
parents:  
diff
changeset
 | 
14  | 
|
| 
 
c73bc405ee7a
multi-threaded rendering via pthreads
 
Radek Brich <radek.brich@devl.cz> 
parents:  
diff
changeset
 | 
15  | 
To completely disable this feature just remove "-DPTHREADS -pthreads"  | 
| 
 
c73bc405ee7a
multi-threaded rendering via pthreads
 
Radek Brich <radek.brich@devl.cz> 
parents:  
diff
changeset
 | 
16  | 
from flags in makefile.  | 
| 
6
 
d8d596d26f25
pthreads and other fixes for Windows
 
Radek Brich <radek.brich@devl.cz> 
parents: 
4 
diff
changeset
 | 
17  | 
|
| 
 
d8d596d26f25
pthreads and other fixes for Windows
 
Radek Brich <radek.brich@devl.cz> 
parents: 
4 
diff
changeset
 | 
18  | 
For Windows + Mingw32, get pthreads library here:  | 
| 
 
d8d596d26f25
pthreads and other fixes for Windows
 
Radek Brich <radek.brich@devl.cz> 
parents: 
4 
diff
changeset
 | 
19  | 
http://sources.redhat.com/pthreads-win32/  |