Master's Thesis - Studierstube Augmented Reality Project - Graz ...
Master's Thesis - Studierstube Augmented Reality Project - Graz ...
Master's Thesis - Studierstube Augmented Reality Project - Graz ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
5.2 iMEDgine extensions<br />
23 cam_position = USE dynamicCam . position<br />
24 cam_rotation = USE dynamicCam . orientation<br />
25 }<br />
26<br />
27 #// This camera shows the controlling parts of the scene .<br />
28 DEF staticCam SoOrthographicCamera {<br />
29 focalDistance 10<br />
30 nearDistance 0.5<br />
31 farDistance 10<br />
32 viewportMapping LEAVE_ALONE<br />
33 }<br />
34<br />
35 #// This subgraph is respensable for all controlling<br />
36 #// parts of the scene<br />
37 SoSeparator {<br />
38 USE params<br />
39 USE staticCam<br />
40<br />
41 SoSeparator {<br />
42 SoTransform {<br />
43 scaleFactor 0.1 0.1 0.1<br />
44 translation 0 -0.90 0.3<br />
45 }<br />
46<br />
47 DEF volume_control SoControlDragger {<br />
48 minmax 6.0<br />
49 range = USE params . num_volumes<br />
50 translation -6 0 0<br />
51 }<br />
52<br />
53 #// [...] following some more SoControlDragger<br />
54<br />
55 #// This shows a custumized color gradient if available .<br />
56 SoSeparator {<br />
57 Transform {<br />
58 translation -0.98 0.77 0.3<br />
59 # scaleFactor 1.0 10.0 1.0<br />
60 rotation 0.0 1.0 0.0 1.57<br />
61 }<br />
62 SoImage {<br />
63 image = USE params . color_mapping_image<br />
64 height 80<br />
65 width 15<br />
66 }<br />
67 }<br />
68 }<br />
69<br />
70 #// The main scene graph contains the complete scene .<br />
71 SoSeparator {<br />
89