DEVNOTES
branchpyrit
changeset 45 76b254ce92cf
parent 44 3763b26244f0
child 46 6493fb65f0b1
equal deleted inserted replaced
44:3763b26244f0 45:76b254ce92cf
    17 Container Usage
    17 Container Usage
    18 ---------------
    18 ---------------
    19 (Container|Octree|KdTree) top;
    19 (Container|Octree|KdTree) top;
    20 scene.setTop(top)  // top object in hierarchy
    20 scene.setTop(top)  // top object in hierarchy
    21 top.optimize()     // build optimization structure
    21 top.optimize()     // build optimization structure
       
    22 
       
    23 Rework camera
       
    24 -------------
       
    25 Sampler - points in screen plane, 0..w:0..h
       
    26 Camera - transform point from sampler to a ray