Start Anaglyph Programming Young Joon Kim Stereoscopic & Anaglyph Course
2 Topics Anaglyph Build 3D Environment Add Anaglyph Camera Change the position of camera
3 Preparation Contents of this document need anaglyph glass
4 Introduction of Anaglyph
5 Anaglyph Anaglyph is used to provide a stereoscopic 3D effect as human’s eye view object Left eyeRight eye
6 Anaglyph 2 color cameras are used - usually red and cyan object Left eyeRight eye Red channel Cyan channel (Blue+Green)
7 Source, red and cyan channel image Anaglyph Red channel from the left eye position Cyan channel from the right eye position Source target
8 Anaglyph Red + Cyan channel
9 Build 3D Environment
10 Build 3D Environment Start SPL editor
11 Build 3D Environment Add “StartSimulationEngine” by double-clicking command Double-click
12 Build 3D Environment Add “SimState/BasicObstacles.xml” by double-clicking option Double-click
13 Build 3D Environment Save as “/Script/Anaglyph1.txt Run script by pressing “F5” key
14 Add Anaglyph Camera
15 Click “Entities” tab menu Add “AddAnaglyphCam” command by double-clicking Add Anaglyph Camera Double-click
16 Add “FlushScript” command to send script to the engine Add Anaglyph Camera Double click
17 Add Anaglyph Camera Save and execute script
18 Change the position of camera
19 Change the position of camera Use Left key and Right key to move left and right Press Left keyPress Right key
20 Change the position of camera Use Up key and Down key to move forwards and backwards Press Down key to move backwardsPress Up key to move farwards
21 Change the position of camera Use Shift+Left or Shift+Right key to change LookAt angle Press Shift+Left key to turn left sidePress Shift+Right key to turn right side
22 Change the position of camera Use Shift+Up or Shift+Down key to change the position of camera up and down Press Shift+Up key to move upPress Shift+Down key to move down
23 Change the position of camera Use mouse dragging with left mouse button click to change the LookAt point of camera Use mouse dragging with right mouse button click to change the position of camera forwards and backwards
24 Change the position of camera Press Ctrl+Alt+H key to hide main simulation window or show again