Skip to content

Commit 732eae7

Browse files
committed
Update links to https
Remove links to unmaintained Vulkan projects
1 parent 9b9a120 commit 732eae7

File tree

5 files changed

+12
-13
lines changed

5 files changed

+12
-13
lines changed

en/00_Introduction.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ See https://paroj.github.io/gltut/[this online book] for a great introduction of
4040
Some other great computer graphics resources are:
4141

4242
* https://github.com/RayTracing/raytracing.github.io[Ray tracing in one weekend]
43-
* http://www.pbr-book.org/[Physically Based Rendering book]
44-
* Vulkan being used in a real engine in the open-source https://github.com/Novum/vkQuake[Quake] and https://github.com/DustinHLand/vkDOOM3[DOOM 3]
43+
* https://www.pbr-book.org/[Physically Based Rendering book]
4544

4645
You can use C instead of C{pp} if you want, but you will have to use a different linear algebra library and you will be on your own in terms of code structuring.
4746
We will use C{pp} features like classes and RAII to organize logic and resource lifetimes.
@@ -58,7 +57,7 @@ The contents of this repository are licensed as link:https://creativecommons.org
5857

5958
We'll start with an overview of how Vulkan works and the work we'll have to do to get the first triangle on the screen.
6059
The purpose of all the smaller steps will make more sense after you've understood their basic role in the whole picture.
61-
Next, we'll set up the development environment with the https://lunarg.com/vulkan-sdk/[Vulkan SDK], the http://glm.g-truc.net/[GLM library] for linear algebra operations and http://www.glfw.org/[GLFW] for window creation.
60+
Next, we'll set up the development environment with the https://lunarg.com/vulkan-sdk/[Vulkan SDK], the https://glm.g-truc.net/[GLM library] for linear algebra operations and https://www.glfw.org/[GLFW] for window creation.
6261
The tutorial will cover how to set these up on Windows with Visual Studio, and on Ubuntu Linux with GCC.
6362

6463
After that we'll implement all of the basic components of a Vulkan program that are necessary to render your first triangle.

en/01_Overview.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ It is possible for a device with Vulkan support to not offer any graphics functi
5050
=== Step 3 - Window surface and swap chain
5151

5252
Unless you're only interested in offscreen rendering, you will need to create a window to present rendered images to.
53-
Windows can be created with the native platform APIs or libraries like http://www.glfw.org/[GLFW] and https://www.libsdl.org/[SDL].
53+
Windows can be created with the native platform APIs or libraries like https://www.glfw.org/[GLFW] and https://www.libsdl.org/[SDL].
5454
We will be using GLFW in this tutorial, but more about that in the next chapter.
5555

5656
We need two more components to actually render to a window: a window surface (VkSurfaceKHR) and a swap chain (VkSwapchainKHR).

en/02_Development_environment.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ Feel free to explore the other files, but we won't need them for this tutorial.
4141
=== GLFW
4242

4343
As mentioned before, Vulkan by itself is a platform agnostic API and does not include tools for creating a window to display the rendered results.
44-
To benefit from the cross-platform advantages of Vulkan and to avoid the horrors of Win32, we'll use the http://www.glfw.org/[GLFW library] to create a window, which supports Windows, Linux and MacOS.
44+
To benefit from the cross-platform advantages of Vulkan and to avoid the horrors of Win32, we'll use the https://www.glfw.org/[GLFW library] to create a window, which supports Windows, Linux and MacOS.
4545
There are other libraries available for this purpose, like https://www.libsdl.org/[SDL], but the advantage of GLFW is that it also abstracts away some of the other platform-specific things in Vulkan besides just window creation.
4646

47-
You can find the latest release of GLFW on the http://www.glfw.org/download.html[official website].
47+
You can find the latest release of GLFW on the https://www.glfw.org/download.html[official website].
4848
In this tutorial we'll be using the 64-bit binaries, but you can of course also choose to build in 32 bit mode.
4949
In that case make sure to link with the Vulkan SDK binaries in the `Lib32` directory instead of `Lib`.
5050
After downloading it, extract the archive to a convenient location.
@@ -55,7 +55,7 @@ image::/images/glfw_directory.png[]
5555
=== GLM
5656

5757
Unlike DirectX 12, Vulkan does not include a library for linear algebra operations, so we'll have to download one.
58-
http://glm.g-truc.net/[GLM] is a nice library that is designed for use with graphics APIs and is also commonly used with OpenGL.
58+
https://glm.g-truc.net/[GLM] is a nice library that is designed for use with graphics APIs and is also commonly used with OpenGL.
5959

6060
GLM is a header-only library, so just download the https://github.com/g-truc/glm/releases[latest version] and store it in a convenient location.
6161
You should have a directory structure similar to the following now:
@@ -210,7 +210,7 @@ It is possible that these libraries are not on the system, if not, you can insta
210210
=== GLFW
211211

212212
As mentioned before, Vulkan by itself is a platform agnostic API and does not include tools for creation a window to display the rendered results.
213-
To benefit from the cross-platform advantages of Vulkan and to avoid the horrors of X11, we'll use the http://www.glfw.org/[GLFW library] to create a window, which supports Windows, Linux and MacOS.
213+
To benefit from the cross-platform advantages of Vulkan and to avoid the horrors of X11, we'll use the https://www.glfw.org/[GLFW library] to create a window, which supports Windows, Linux and MacOS.
214214
There are other libraries available for this purpose, like https://www.libsdl.org/[SDL], but the advantage of GLFW is that it also abstracts away some of the other platform-specific things in Vulkan besides just window creation.
215215

216216
We'll be installing GLFW from the following command:
@@ -237,7 +237,7 @@ sudo pacman -S glfw-wayland # glfw-x11 for X11 users
237237
=== GLM
238238

239239
Unlike DirectX 12, Vulkan does not include a library for linear algebra operations, so we'll have to download one.
240-
http://glm.g-truc.net/[GLM] is a nice library that is designed for use with graphics APIs and is also commonly used with OpenGL.
240+
https://glm.g-truc.net/[GLM] is a nice library that is designed for use with graphics APIs and is also commonly used with OpenGL.
241241

242242
It is a header-only library that can be installed from the `libglm-dev` or `glm-devel` package:
243243

@@ -450,7 +450,7 @@ image::/images/cube_demo_mac.png[]
450450
=== GLFW
451451

452452
As mentioned before, Vulkan by itself is a platform agnostic API and does not include tools for creation a window to display the rendered results.
453-
We'll use the http://www.glfw.org/[GLFW library] to create a window, which supports Windows, Linux and MacOS.
453+
We'll use the https://www.glfw.org/[GLFW library] to create a window, which supports Windows, Linux and MacOS.
454454
There are other libraries available for this purpose, like https://www.libsdl.org/[SDL], but the advantage of GLFW is that it also abstracts away some of the other platform-specific things in Vulkan besides just window creation.
455455

456456
To install GLFW on MacOS we will use the Homebrew package manager to get the `glfw` package:
@@ -463,7 +463,7 @@ brew install glfw
463463
=== GLM
464464

465465
Vulkan does not include a library for linear algebra operations, so we'll have to download one.
466-
http://glm.g-truc.net/[GLM] is a nice library that is designed for use with graphics APIs and is also commonly used with OpenGL.
466+
https://glm.g-truc.net/[GLM] is a nice library that is designed for use with graphics APIs and is also commonly used with OpenGL.
467467

468468
It is a header-only library that can be installed from the `glm` package:
469469

en/03_Drawing_a_triangle/01_Presentation/01_Swap_chain.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ For example, `VK_FORMAT_B8G8R8A8_SRGB` means that we store the B, G, R and alpha
211211
The `colorSpace` member indicates if the SRGB color space is supported or not using the `VK_COLOR_SPACE_SRGB_NONLINEAR_KHR` flag.
212212
Note that this flag used to be called `VK_COLORSPACE_SRGB_NONLINEAR_KHR` in old versions of the specification.
213213

214-
For the color space we'll use SRGB if it is available, because it http://stackoverflow.com/questions/12524623/[results in more accurate perceived colors].
214+
For the color space we'll use SRGB if it is available, because it https://stackoverflow.com/questions/12524623/[results in more accurate perceived colors].
215215
It is also pretty much the standard color space for images, like the textures we'll use later on.
216216
Because of that we should also use an SRGB color format, of which one of the most common ones is `VK_FORMAT_B8G8R8A8_SRGB`.
217217

en/08_Loading_models.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ bool operator==(const Vertex& other) const {
274274
----
275275

276276
A hash function for `Vertex` is implemented by specifying a template specialization for `std::hash<T>`.
277-
Hash functions are a complex topic, but http://en.cppreference.com/w/cpp/utility/hash[cppreference.com recommends] the following approach combining the fields of a struct to create a decent quality hash function:
277+
Hash functions are a complex topic, but https://en.cppreference.com/w/cpp/utility/hash[cppreference.com recommends] the following approach combining the fields of a struct to create a decent quality hash function:
278278

279279
[,c++]
280280
----

0 commit comments

Comments
 (0)