| author | Radek Brich <radek.brich@devl.cz> | 
| Wed, 09 Apr 2008 16:51:14 +0200 | |
| branch | pyrit | 
| changeset 63 | 440e1ae80459 | 
| parent 46 | 6493fb65f0b1 | 
| child 64 | 5785cca4cdb9 | 
| permissions | -rw-r--r-- | 
| 63 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 1 | SCons Targets | 
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 2 | ------------- | 
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 3 | models = local-models, download-models | 
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 4 | local-models | 
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 5 | download-models | 
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 6 | |
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 7 | demos = python-demos, cc-demos | 
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 8 | python-demos | 
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 9 | cc-demos | 
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 10 | |
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 11 | libs = static-lib, python-module | 
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 12 | objs | 
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 13 | static-lib | 
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 14 | shared-objs | 
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 15 | python-module | 
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 16 | |
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 17 | all = no-docs, docs | 
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 18 | no-download = libs, demos, local-models | 
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 19 | no-docs = libs, demos, models | 
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 20 | docs | 
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 21 | |
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 22 | Default is no-docs. | 
| 
440e1ae80459
add many SCons targets (see DEVNOTES)
 Radek Brich <radek.brich@devl.cz> parents: 
46diff
changeset | 23 | |
| 44 | 24 | Classes | 
| 25 | ------- | |
| 7 
bf17f9f84c91
kd-tree: build algorithm - searching for all posible splits
 Radek Brich <radek.brich@devl.cz> parents: diff
changeset | 26 | |
| 44 | 27 | vector.h -- vector of three scalars, also used for colour | 
| 28 | matrix.h -- matrix class, currently not used | |
| 29 | quaternion.h -- quaternion class for camera rotation | |
| 7 
bf17f9f84c91
kd-tree: build algorithm - searching for all posible splits
 Radek Brich <radek.brich@devl.cz> parents: diff
changeset | 30 | |
| 44 | 31 | container.h -- container for shapes, base class for octree and kd-tree | 
| 32 | octree.h -- Octree space subdivision structure for acceleration of ray-shape intersection search | |
| 33 | kdtree.h -- KdTree space subdivision structure | |
| 7 
bf17f9f84c91
kd-tree: build algorithm - searching for all posible splits
 Radek Brich <radek.brich@devl.cz> parents: diff
changeset | 34 | |
| 44 | 35 | scene.h -- scene objects: Ray, Light, Camera and shapes | 
| 36 | raytracer.h -- ray tracer class | |
| 37 | common.h -- Float definition (float/double) and some helper functions | |
| 7 
bf17f9f84c91
kd-tree: build algorithm - searching for all posible splits
 Radek Brich <radek.brich@devl.cz> parents: diff
changeset | 38 | |
| 
bf17f9f84c91
kd-tree: build algorithm - searching for all posible splits
 Radek Brich <radek.brich@devl.cz> parents: diff
changeset | 39 | |
| 44 | 40 | Container Usage | 
| 41 | --------------- | |
| 42 | (Container|Octree|KdTree) top; | |
| 43 | scene.setTop(top) // top object in hierarchy | |
| 44 | top.optimize() // build optimization structure | |
| 45 
76b254ce92cf
note for new camera classes
 Radek Brich <radek.brich@devl.cz> parents: 
44diff
changeset | 45 | |
| 
76b254ce92cf
note for new camera classes
 Radek Brich <radek.brich@devl.cz> parents: 
44diff
changeset | 46 | Rework camera | 
| 
76b254ce92cf
note for new camera classes
 Radek Brich <radek.brich@devl.cz> parents: 
44diff
changeset | 47 | ------------- | 
| 46 | 48 | Sampler - generate points in screen plane | 
| 45 
76b254ce92cf
note for new camera classes
 Radek Brich <radek.brich@devl.cz> parents: 
44diff
changeset | 49 | Camera - transform point from sampler to a ray |