author | Radek Brich <radek.brich@devl.cz> |
Thu, 24 Apr 2008 10:49:11 +0200 | |
branch | pyrit |
changeset 81 | 9dbb9c8c115b |
parent 79 | 062b1c4143f7 |
child 91 | 9d66d323c354 |
permissions | -rw-r--r-- |
31 | 1 |
Bugs |
2 |
==== |
|
57 | 3 |
* (none known) |
31 | 4 |
|
5 |
Future Plans |
|
6 |
============ |
|
77
dbe8438d5dca
rewrite subsampling from old code to DefaultSampler
Radek Brich <radek.brich@devl.cz>
parents:
75
diff
changeset
|
7 |
* generalization: Camera "shader" (ray generator), surface shader and maybe light & background shaders |
44 | 8 |
* namespace |
74
09aedbf5f95f
kd-tree traversal - avoid dynamic memory allocation
Radek Brich <radek.brich@devl.cz>
parents:
72
diff
changeset
|
9 |
* Python binding for all classes |
32
8af5c17d368b
new Raytracer option: oversampling
Radek Brich <radek.brich@devl.cz>
parents:
31
diff
changeset
|
10 |
* stochastic oversampling |
34
28f6e8b9d5d1
quaternion moved to extra header file
Radek Brich <radek.brich@devl.cz>
parents:
32
diff
changeset
|
11 |
* absorbtion of refracted rays in dense materials (can be computed using shape distance and some 'absorbance' constant) |
44 | 12 |
* implement efficient AABB-ray intersection using Plucker coordinates |
49
558fde7da82a
workaround for divide by zero bug in octree
Radek Brich <radek.brich@devl.cz>
parents:
46
diff
changeset
|
13 |
|
7
bf17f9f84c91
kd-tree: build algorithm - searching for all posible splits
Radek Brich <radek.brich@devl.cz>
parents:
6
diff
changeset
|
14 |
New Classes? |
bf17f9f84c91
kd-tree: build algorithm - searching for all posible splits
Radek Brich <radek.brich@devl.cz>
parents:
6
diff
changeset
|
15 |
============ |
3 | 16 |
|
81
9dbb9c8c115b
add 2D pixmap texture class
Radek Brich <radek.brich@devl.cz>
parents:
79
diff
changeset
|
17 |
scene.h -- Scene, ... |
3 | 18 |
reader.h -- Reader, WavefrontReader |
19 |
||
20 |
wf = new WavefrontReader() |
|
7
bf17f9f84c91
kd-tree: build algorithm - searching for all posible splits
Radek Brich <radek.brich@devl.cz>
parents:
6
diff
changeset
|
21 |
wf.setContainer(top) |
bf17f9f84c91
kd-tree: build algorithm - searching for all posible splits
Radek Brich <radek.brich@devl.cz>
parents:
6
diff
changeset
|
22 |
wf.setTransform(monkey_pos_matrix) |
3 | 23 |
wf.read("monkey.obj") |
7
bf17f9f84c91
kd-tree: build algorithm - searching for all posible splits
Radek Brich <radek.brich@devl.cz>
parents:
6
diff
changeset
|
24 |
// more transform&reads |
3 | 25 |
destroy wf |
26 |
||
27 |
Scene scene -- container with shapes, a camera and lights |
|
28 |
scene = new Scene() |
|
20
f22952603f29
new C++ demo: realtime.cc (real-time scene viewer using SDL)
Radek Brich <radek.brich@devl.cz>
parents:
19
diff
changeset
|
29 |
scene.setCamera(new Camera(eye, u, v, p)) |
3 | 30 |
scene.addLight(new PointLight(pos, color)) |
31 |
rt.setScene(scene) |
|
32 |
rt.render(w,h) |