Changeset 1c6cd5e in opengl-game
- Timestamp:
- Jul 10, 2019, 3:10:26 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- f286a10
- Parents:
- b3671b5
- git-author:
- Dmitry Portnoy <dmp1488@…> (07/10/19 02:58:59)
- git-committer:
- Dmitry Portnoy <dmp1488@…> (07/10/19 03:10:26)
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
NewOpenGLGame.sln
rb3671b5 r1c6cd5e 1 1 2 2 Microsoft Visual Studio Solution File, Format Version 12.00 3 # Visual Studio 154 VisualStudioVersion = 1 5.0.26430.143 # Visual Studio Version 16 4 VisualStudioVersion = 16.0.29020.237 5 5 MinimumVisualStudioVersion = 10.0.40219.1 6 6 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NewOpenGLGame", "NewOpenGLGame.vcxproj", "{2D79C35D-6372-4B1F-8EFE-55F53BC9D0C7}" 7 EndProject 8 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VulkanGame", "VulkanGame.vcxproj", "{2AD86D3B-B06F-405A-99F3-941A24329905}" 7 9 EndProject 8 10 Global … … 22 24 {2D79C35D-6372-4B1F-8EFE-55F53BC9D0C7}.Release|x86.ActiveCfg = Release|Win32 23 25 {2D79C35D-6372-4B1F-8EFE-55F53BC9D0C7}.Release|x86.Build.0 = Release|Win32 26 {2AD86D3B-B06F-405A-99F3-941A24329905}.Debug|x64.ActiveCfg = Debug|x64 27 {2AD86D3B-B06F-405A-99F3-941A24329905}.Debug|x64.Build.0 = Debug|x64 28 {2AD86D3B-B06F-405A-99F3-941A24329905}.Debug|x86.ActiveCfg = Debug|Win32 29 {2AD86D3B-B06F-405A-99F3-941A24329905}.Debug|x86.Build.0 = Debug|Win32 30 {2AD86D3B-B06F-405A-99F3-941A24329905}.Release|x64.ActiveCfg = Release|x64 31 {2AD86D3B-B06F-405A-99F3-941A24329905}.Release|x64.Build.0 = Release|x64 32 {2AD86D3B-B06F-405A-99F3-941A24329905}.Release|x86.ActiveCfg = Release|Win32 33 {2AD86D3B-B06F-405A-99F3-941A24329905}.Release|x86.Build.0 = Release|Win32 24 34 EndGlobalSection 25 35 GlobalSection(SolutionProperties) = preSolution 26 36 HideSolutionNode = FALSE 27 37 EndGlobalSection 38 GlobalSection(ExtensibilityGlobals) = postSolution 39 SolutionGuid = {917DF9D1-80F5-4B8C-B930-C93DABDC8615} 40 EndGlobalSection 28 41 EndGlobal -
README.txt
rb3671b5 r1c6cd5e 53 53 -------- 54 54 55 ??? 55 Create an include directory inside the opengl-game folder 56 57 Download GLM and copy the glm folder into /include 58 Download the SDL2 pre-built Windows binaries 59 - Copy the SDL2 include folder into /include and rename it SDL2 60 - Add the location of the lib/x64 folder to the VS2019 project properties under Linker/General/Addition Library DIrectories 61 62 Download the vulkan sdk 63 - Add the location of the Include folder to the VS2019 project properties under C/C++ -> General -> Addition Include DIrectories 64 - Add the location of the Lib folder to the VS2019 project properties under Linker -> General -> Addition Library DIrectories 56 65 57 66 Linux: 58 67 -------- 59 68 69 Download the vulkan sdk (make sure VULKAN_SDK_PATH in the makefile points to it) 70 60 71 sudo apt-get install libxcb1-dev xorg-dev libsdl2-dev libglm-dev 61 62 Download the vulkan sdk (make sure VULKAN_SDK_PATH in the makefile points to it)63 72 64 73 source setup-env.sh into your current shell 65 74 66 make vulk cangame && ./vulkangame75 make vulkangame && ./vulkangame 67 76 68 77 OSX 69 78 -------- 70 79 80 Download the vulkan sdk (make sure VULKAN_SDK_PATH in the makefile points to it) 81 71 82 brew install sdl2 (might need 'brew install sdl2 --HEAD') 72 83 73 Download the vulkan sdk (make sure VULKAN_SDK_PATH in the makefile points to it) 74 75 make vulkcangame && ./vulkangame 84 make vulkangame && ./vulkangame -
vulkan-game.cpp
rb3671b5 r1c6cd5e 420 420 }; 421 421 422 int main( ) {422 int main(int argc, char* argv[]) { 423 423 424 424 #ifdef NDEBUG … … 428 428 #endif 429 429 430 /*431 430 mat4 matrix; 432 431 vec4 vec; 433 432 vec4 test = matrix * vec; 434 */435 433 436 434 cout << "Starting Vulkan game..." << endl;
Note:
See TracChangeset
for help on using the changeset viewer.