DEVNOTES
author Radek Brich <radek.brich@devl.cz>
Wed, 09 Apr 2008 16:51:14 +0200
branchpyrit
changeset 63 440e1ae80459
parent 46 6493fb65f0b1
child 64 5785cca4cdb9
permissions -rw-r--r--
add many SCons targets (see DEVNOTES) make automatic model downloading work again remove Makefiles -- now obsolete and hardly maintainable
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
63
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
     1
SCons Targets
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
     2
-------------
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
     3
models = local-models, download-models
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
     4
local-models
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
     5
download-models
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
     6
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
     7
demos = python-demos, cc-demos
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
     8
python-demos
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
     9
cc-demos
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
    10
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
    11
libs = static-lib, python-module
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
    12
objs
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
    13
static-lib
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
    14
shared-objs
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
    15
python-module
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
    16
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
    17
all = no-docs, docs
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
    18
no-download = libs, demos, local-models
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
    19
no-docs = libs, demos, models
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
    20
docs
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
    21
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
    22
Default is no-docs.
440e1ae80459 add many SCons targets (see DEVNOTES)
Radek Brich <radek.brich@devl.cz>
parents: 46
diff changeset
    23
44
3763b26244f0 MIT license for sources
Radek Brich <radek.brich@devl.cz>
parents: 7
diff changeset
    24
Classes
3763b26244f0 MIT license for sources
Radek Brich <radek.brich@devl.cz>
parents: 7
diff changeset
    25
-------
7
bf17f9f84c91 kd-tree: build algorithm - searching for all posible splits
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    26
44
3763b26244f0 MIT license for sources
Radek Brich <radek.brich@devl.cz>
parents: 7
diff changeset
    27
vector.h -- vector of three scalars, also used for colour
3763b26244f0 MIT license for sources
Radek Brich <radek.brich@devl.cz>
parents: 7
diff changeset
    28
matrix.h -- matrix class, currently not used
3763b26244f0 MIT license for sources
Radek Brich <radek.brich@devl.cz>
parents: 7
diff changeset
    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
3763b26244f0 MIT license for sources
Radek Brich <radek.brich@devl.cz>
parents: 7
diff changeset
    31
container.h  -- container for shapes, base class for octree and kd-tree
3763b26244f0 MIT license for sources
Radek Brich <radek.brich@devl.cz>
parents: 7
diff changeset
    32
octree.h -- Octree space subdivision structure for acceleration of ray-shape intersection search
3763b26244f0 MIT license for sources
Radek Brich <radek.brich@devl.cz>
parents: 7
diff changeset
    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
3763b26244f0 MIT license for sources
Radek Brich <radek.brich@devl.cz>
parents: 7
diff changeset
    35
scene.h -- scene objects: Ray, Light, Camera and shapes
3763b26244f0 MIT license for sources
Radek Brich <radek.brich@devl.cz>
parents: 7
diff changeset
    36
raytracer.h -- ray tracer class
3763b26244f0 MIT license for sources
Radek Brich <radek.brich@devl.cz>
parents: 7
diff changeset
    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
3763b26244f0 MIT license for sources
Radek Brich <radek.brich@devl.cz>
parents: 7
diff changeset
    40
Container Usage
3763b26244f0 MIT license for sources
Radek Brich <radek.brich@devl.cz>
parents: 7
diff changeset
    41
---------------
3763b26244f0 MIT license for sources
Radek Brich <radek.brich@devl.cz>
parents: 7
diff changeset
    42
(Container|Octree|KdTree) top;
3763b26244f0 MIT license for sources
Radek Brich <radek.brich@devl.cz>
parents: 7
diff changeset
    43
scene.setTop(top)  // top object in hierarchy
3763b26244f0 MIT license for sources
Radek Brich <radek.brich@devl.cz>
parents: 7
diff changeset
    44
top.optimize()     // build optimization structure
45
76b254ce92cf note for new camera classes
Radek Brich <radek.brich@devl.cz>
parents: 44
diff changeset
    45
76b254ce92cf note for new camera classes
Radek Brich <radek.brich@devl.cz>
parents: 44
diff changeset
    46
Rework camera
76b254ce92cf note for new camera classes
Radek Brich <radek.brich@devl.cz>
parents: 44
diff changeset
    47
-------------
46
6493fb65f0b1 Doxygen
Radek Brich <radek.brich@devl.cz>
parents: 45
diff changeset
    48
Sampler - generate points in screen plane
45
76b254ce92cf note for new camera classes
Radek Brich <radek.brich@devl.cz>
parents: 44
diff changeset
    49
Camera - transform point from sampler to a ray