55
66Step 1. Download the Spatial Reality SDK from the project's [ GitHub Releases page] ( https://github.com/LeiaInc/LeiaSR-Windows-Releases/releases ) .
77
8- Expand the zip archive contents to the root folder of the C:\ drive. (This will keep the filepaths simple when compiling the code) :
8+ Expand the zip archive contents to the root folder of the C:\ drive and rename the folder to "simulatedreality-SDK" :
99
1010 C:\simulatedreality-SDK\
1111
12+ (This folder name choice will keep the filepaths simple when compiling the code.)
13+
1214SDK Reference URLs:
1315
1416- [ Leia SDK] ( https://support.leiainc.com/sdk )
@@ -28,6 +30,10 @@ Download the [Visual Studio 2019 community installer](https://aka.ms/vs/16/relea
2830
2931Step 4. Create the Visual Studio solution for the "OpenGL Weaving" demo using cmake from the command prompt:
3032
33+ ![ VS Build] ( Images/opengl_weaving_command_prompt.png )
34+
35+ Enter the following shell commands:
36+
3137 cd C:\simulatedreality-SDK\examples\opengl_weaving
3238 mkdir build
3339 cd build
@@ -40,14 +46,24 @@ Step 5. Compile the code in Visual Studio
4046
4147Change the build output from "Debug" to "Release". Then select the "Build > Build Solution" menu item.
4248
49+ ![ VS Build] ( Images/opengl_weaving_vs.png )
50+
4351The compiled output can be found on disk at:
4452
4553 C:\simulatedreality-SDK\examples\opengl_weaving\build\Release\
4654
55+ ![ opengl weaving] ( Images/opengl_weaving_app.png )
56+
57+ ![ opengl weaving Command Prompt] ( Images/opengl_weaving_app_running.png )
58+
4759* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
4860
4961Step 6. Create the Visual Studio solution for the "OpenGL Image Viewer" demo using cmake from the command prompt:
5062
63+ ![ VS Build] ( Images/opengl_image_viewer_command_prompt.png )
64+
65+ Enter the following shell commands:
66+
5167 cd C:\simulatedreality-SDK\examples\opengl_image_viewer
5268 mkdir build
5369 cd build
@@ -60,11 +76,14 @@ Step 5. Compile the code in Visual Studio
6076
6177Change the build output from "Debug" to "Release". Then select the "Build > Build Solution" menu item.
6278
79+ ![ VS Build] ( Images/opengl_image_viewer_vs.png )
80+
6381The compiled output can be found on disk at:
6482
6583 C:\simulatedreality-SDK\examples\opengl_image_viewer\build\Release\
6684
67- When you run the example_opengl_image_viewer program the syntax is:
85+ When you run the example_opengl_image_viewer.exe program the syntax is:
6886
6987 example_opengl_image_viewer.exe "C:\Path\To\image.png"
7088
89+ ![ opengl image viewer Command Prompt] ( Images/opengl_image_viewer_app_running.png )
0 commit comments