You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+39-19Lines changed: 39 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,14 @@ Because of the MPL license, any community changes made to the rendering code wil
94
94
| RAM | 8 GB |
95
95
| GPU | Nvidia GTX 1050 Ti |
96
96
97
+
# Downloading Sample 3D Model Data
98
+
99
+
1) A zip file containing Sponza, Interrogation Room, San Miguel, Bistro, Bathroom, etc. can be found here: [https://drive.google.com/file/d/1m56T8cWMwAOHTAIbxAn-891trehgJpzH/view?usp=drive_link](https://drive.google.com/file/d/1m56T8cWMwAOHTAIbxAn-891trehgJpzH/view?usp=drive_link)
100
+
101
+
2) Extract the Resources.zip folder into the root of StratusGFX. It will then be at the same level as Bin/, Examples/, Source/, Tests/. Make sure that the folder structure looks like StratusGFX/Resources/* where * will be folders such as Sponza, Bistro, etc.
102
+
103
+
(see further down this README for a full list of credits for where the sample 3D model data came from)
104
+
97
105
# Building For Windows & Linux
98
106
99
107
This code base will currently not work on MacOS. Linux and Windows should both be fine so long as the graphics driver supports OpenGL 4.6 and the compiler supports C++17.
This is the preferred build if all you want to do is build the examples and run them.
117
+
118
+
python3 ./build_examples.py --assimp
119
+
120
+
-> LINUX NOTE: If you get an error during the assimp build of the above step, use your local package manager to install assimp instead. Then re-run the above step as:
121
+
122
+
python3 ./build_examples.py
123
+
124
+
Now you should be able to go into the StratusGFX/Bin/ folder and run the examples!
125
+
126
+
## Option 2: Development Build
127
+
128
+
Use this if you plan to make source code changes to anything in Examples/ Source/ or Tests/. You will only need to build the dependencies once and then after that you can just re-run the cmake build step any time you make changes.
129
+
106
130
Build 3rd party dependencies -> should only need to do this once per clone
107
131
108
132
python3 ./dependency_build.py --assimp
@@ -115,40 +139,30 @@ Now build the StratusGFX source
All executables will be put into StratusGFX/Bin. Make sure you run them while inside Bin/. Good ones to run to see if it worked are
150
+
All executables will be put into StratusGFX/Bin folder. Make sure you run them while inside StratusGFX/Bin/. Good ones to run to see if it worked are
127
151
128
152
Ex00_StartupShutdown.exe (runs through initialize, run one frame, shutdown sequence)
129
153
Ex01_StratusGFX.exe (you should see a forest of red cubes since textures aren't bundled with source)
130
154
StratusEngineUnitTests.exe
131
155
StratusEngineIntegrationTests.exe
132
156
133
-
# First Places to Look
134
-
135
-
You can check [High Level Architecture Overview](https://ktstephano.github.io/rendering/stratusgfx/architecture), or you can start by looking through the code under Examples/ExampleEnv00 and Examples/ExampleEnv01. They both depend on code that is inside of Examples/Common which is another good place to look around.
136
-
137
-
None of the test scenes are bundled with this source so the rest of the environments will be completely blank when running.
138
-
139
-
# Running Example Environments 2-7
140
-
141
-
When starting the examples will take a bit to load/process. You can see the status in the console. After starting you may experience some temporary frame drops but this will stabilize quickly.
142
-
143
-
-> More in depth explanation here: [Examples](https://github.com/KTStephano/StratusGFX/wiki/Examples)
157
+
# Running The Examples
144
158
145
-
1) A zip file containing Sponza, Interrogation Room, San Miguel, Bistro and Bathroom can be found here:[https://drive.google.com/file/d/1m56T8cWMwAOHTAIbxAn-891trehgJpzH/view?usp=drive_link](https://drive.google.com/file/d/1m56T8cWMwAOHTAIbxAn-891trehgJpzH/view?usp=drive_link)
159
+
If you are having trouble with the downloading of the 3D assets or running the examples, a good place to check is here:
146
160
147
-
2) Extract the Resources.zip folder into the root of StratusGFX. It will then be at the same level as Bin/, Examples/, Source/, Tests/. Make sure that the folder structure looks like StratusGFX/Resources/* where * will be folders such as Sponza, Bistro, etc.
You can check [High Level Architecture Overview](https://ktstephano.github.io/rendering/stratusgfx/architecture), or you can start by looking through the code under Examples/ExampleEnv00 and Examples/ExampleEnv01. They both depend on code that is inside of Examples/Common which is another good place to look around.
188
+
189
+
None of the test scenes are bundled with this source so the rest of the environments will be completely blank when running.
0 commit comments