author | Radek Brich <radek.brich@devl.cz> |
Thu, 22 Nov 2007 17:53:34 +0100 | |
branch | pyrit |
changeset 7 | bf17f9f84c91 |
parent 6 | d8d596d26f25 |
child 14 | fc18ac4833f2 |
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 |
|
c73bc405ee7a
multi-threaded rendering via pthreads
Radek Brich <radek.brich@devl.cz>
parents:
diff
changeset
|
5 |
Pthreads |
c73bc405ee7a
multi-threaded rendering via pthreads
Radek Brich <radek.brich@devl.cz>
parents:
diff
changeset
|
6 |
-------- |
c73bc405ee7a
multi-threaded rendering via pthreads
Radek Brich <radek.brich@devl.cz>
parents:
diff
changeset
|
7 |
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
|
8 |
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
|
9 |
|
c73bc405ee7a
multi-threaded rendering via pthreads
Radek Brich <radek.brich@devl.cz>
parents:
diff
changeset
|
10 |
To completely disable this feature just remove "-DPTHREADS -pthreads" |
c73bc405ee7a
multi-threaded rendering via pthreads
Radek Brich <radek.brich@devl.cz>
parents:
diff
changeset
|
11 |
from flags in makefile. |
6
d8d596d26f25
pthreads and other fixes for Windows
Radek Brich <radek.brich@devl.cz>
parents:
4
diff
changeset
|
12 |
|
d8d596d26f25
pthreads and other fixes for Windows
Radek Brich <radek.brich@devl.cz>
parents:
4
diff
changeset
|
13 |
For Windows + Mingw32, get pthreads library here: |
d8d596d26f25
pthreads and other fixes for Windows
Radek Brich <radek.brich@devl.cz>
parents:
4
diff
changeset
|
14 |
http://sources.redhat.com/pthreads-win32/ |