Recently just the system to read computer graphics, want to learn a graphics API, just found in the Vulkan, seemingly very promising, so I intend to learn, seemingly also can not buy books, online tutorials are not many, found a series of tutorials, the Web site is https:// Software.intel.com/zh-cn/articles/api-without-secrets-introduction-to-vulkan-preface, want to follow the author to learn again, knocking again, This series of learning notes are mainly recorded in the course of learning with this tutorial encountered problems and solutions and some of their own feelings, will not systematically introduce vulkan related things.
The No. 0 part of the tutorial mainly carried out a number of self-introduction, compared Vulkan and the current mainstream graphics API similarities and differences, advantages and disadvantages, and finally the source code for the tutorial, and can be downloaded to the source of the tutorial in the page. Source code is not directly using some of the common IDE directly as a project open, but the author has written the production of engineering files, can generate Windows and Linux under the project, respectively, BUILD.bat and build.sh. I'm using a Windows system, so I use BUILD.bat to generate a vs2015 solution. However, running the author's batch file directly will cause problems, either finding the compiler or not finding the CmakList.txt file under the original folder. You need to make some changes to the BUILD.bat file. The method is as follows:
1, download and install CMake to the system.
2, edit the BUILD.bat file, the build after the Makdir and CD after the build into an absolute path, such as I changed to C:\Users\ER\Desktop\IntroductionToVulkan-master\ Introductiontovulkan-master\project\build, this folder can be arbitrarily specified, the resulting project files are in this folder.
3, will cmake.exe ... -DUSE_PLATFORM=VK_USE_PLATFORM_WIN32_KHR-G Visual Studio 14 2015 in the "Visual Studio 2013 Win64" line Win64 the corresponding name of the version of VS you installed. I changed to Visual Studio 2015 Win64 because I used vs2015.
4, click to run BUILD.bat, will be able to generate the desired solution, the build will automatically open after the completion. Here is my BUILD.bat file:
Baidu Network Disk-I generated the VS2015 engineering documents
The source code of the tutorial