| author | Radek Brich <radek.brich@devl.cz> | 
| Tue, 06 May 2008 09:39:58 +0200 | |
| branch | pyrit | 
| changeset 93 | 96d65f841791 | 
| parent 91 | 9d66d323c354 | 
| child 94 | 4c8abb8977dc | 
| permissions | -rw-r--r-- | 
| 31 | 1 | Bugs | 
| 2 | ==== | |
| 57 | 3 | * (none known) | 
| 31 | 4 | |
| 5 | Future Plans | |
| 6 | ============ | |
| 91 | 7 | * Python binding for material.h classes | 
| 8 | * Container should implement Shape interface to allow building hierarchies | |
| 9 | * Container should allow local space transformations | |
| 77 
dbe8438d5dca
rewrite subsampling from old code to DefaultSampler
 Radek Brich <radek.brich@devl.cz> parents: 
75diff
changeset | 10 | * generalization: Camera "shader" (ray generator), surface shader and maybe light & background shaders | 
| 91 | 11 | * put everything into a namespace | 
| 32 
8af5c17d368b
new Raytracer option: oversampling
 Radek Brich <radek.brich@devl.cz> parents: 
31diff
changeset | 12 | * stochastic oversampling | 
| 34 
28f6e8b9d5d1
quaternion moved to extra header file
 Radek Brich <radek.brich@devl.cz> parents: 
32diff
changeset | 13 | * absorbtion of refracted rays in dense materials (can be computed using shape distance and some 'absorbance' constant) | 
| 44 | 14 | * 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: 
46diff
changeset | 15 | |
| 7 
bf17f9f84c91
kd-tree: build algorithm - searching for all posible splits
 Radek Brich <radek.brich@devl.cz> parents: 
6diff
changeset | 16 | New Classes? | 
| 
bf17f9f84c91
kd-tree: build algorithm - searching for all posible splits
 Radek Brich <radek.brich@devl.cz> parents: 
6diff
changeset | 17 | ============ | 
| 3 | 18 | |
| 81 
9dbb9c8c115b
add 2D pixmap texture class
 Radek Brich <radek.brich@devl.cz> parents: 
79diff
changeset | 19 | scene.h -- Scene, ... | 
| 3 | 20 | reader.h -- Reader, WavefrontReader | 
| 21 | ||
| 22 | wf = new WavefrontReader() | |
| 7 
bf17f9f84c91
kd-tree: build algorithm - searching for all posible splits
 Radek Brich <radek.brich@devl.cz> parents: 
6diff
changeset | 23 | wf.setContainer(top) | 
| 
bf17f9f84c91
kd-tree: build algorithm - searching for all posible splits
 Radek Brich <radek.brich@devl.cz> parents: 
6diff
changeset | 24 | wf.setTransform(monkey_pos_matrix) | 
| 3 | 25 | wf.read("monkey.obj")
 | 
| 7 
bf17f9f84c91
kd-tree: build algorithm - searching for all posible splits
 Radek Brich <radek.brich@devl.cz> parents: 
6diff
changeset | 26 | // more transform&reads | 
| 3 | 27 | destroy wf | 
| 28 | ||
| 29 | Scene scene -- container with shapes, a camera and lights | |
| 30 | scene = new Scene() | |
| 20 
f22952603f29
new C++ demo: realtime.cc (real-time scene viewer using SDL)
 Radek Brich <radek.brich@devl.cz> parents: 
19diff
changeset | 31 | scene.setCamera(new Camera(eye, u, v, p)) | 
| 3 | 32 | scene.addLight(new PointLight(pos, color)) | 
| 33 | rt.setScene(scene) | |
| 34 | rt.render(w,h) |