Vulkan Learning Notes (i)-Start __vulkan

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.