Commit Graph

839 Commits

Author SHA1 Message Date
ladysadie 06165e5245
Fix typo in the html generation instructions. (#412)
* Fix typo in the html generation instructions.

* Add a code block for the GLFW window pointer.

Almost all of the code listed in this chapter uses a c++ code block. The
block for the 'GLFWWindow* window' was missing.
2025-09-21 19:11:34 +02:00
ladysadie 3e78cbe874
Add a code block for the GLFW window pointer. (#413)
Almost all of the code listed in this chapter uses a c++ code block. The
block for the 'GLFWWindow* window' was missing.
2025-09-21 19:11:09 +02:00
Alexander Overvoorde c7ec526bd3 Update default PDF margins (fixes #396) 2025-09-21 17:06:20 +00:00
Lluís Alemany Puig 527216eb95
Optionally specify margin size #396 (#411)
Whoever wants to shrink the margins, they can now do so via the new
optional command line arguments

--geometry:left
--geometry:right
--geometry:top
--geometry:bottom

which are default options in pandoc (see pandoc's documentation
[here](https://pandoc.org/demo/example33/6.2-variables.html)).

Their default value is ''. These options are not passed to pandoc when
their value is ''.

The argument parser added can be extended easily with other pandoc's
argument options. If the new options' default value is '' then they will
not be passed to pandoc.
2025-08-30 15:04:00 +02:00
Daxturus 02e283d548
Remove invalid "warn" argument passed to tinyobj::loadObject(...) (#406)
* Update 28_model_loading.cpp

Removed "warn" argument passed to tinyobj::LoadObj(...).

* Update 29_mipmapping.cpp

Removed "warn" argument passed to tinyobj::LoadObj(...).

* Update 30_multisampling.cpp

Removed "warn" argument passed to tinyobj::LoadObj(...).

* Update 08_Loading_models.md

Removed "warn" argument passed to tinyobj::LoadObj(...) from e-book.

* Update 08_Charger_des_modèles.md

Removed "warn" argument passed to tinyobj::LoadObj(...).
2025-05-11 12:26:42 +02:00
Alexander Overvoorde d61a0f1e7c
Update Vulkan guide link (fixes #405) 2025-05-02 13:33:57 +02:00
qiyuewuyi2333 404a54800d
Fix: a miss language typo (#400) 2025-04-07 08:27:26 +02:00
Vincent Giraud f4122e5104
Replace mesa-vulkan-devel with mesa-vulkan-drivers in Fedora (#398) 2025-02-26 22:55:00 +01:00
Alexander Overvoorde 7d8dbddb49
Fix broken link (fixes #395) 2025-01-22 22:37:39 +01:00
triacontakai b42b308210
Fix Xxf68vm typo (#393) 2024-11-08 15:16:28 +07:00
Alexander Overvoorde 3bf8f964e0
Update Debian package name for validation layers 2024-06-30 19:16:38 +02:00
Zach Madsen efed1afa16
Remove an extra word (#385) 2024-06-30 19:03:35 +02:00
Anonymous Coward c54c38236c
Update 02_Development_environment.md (#383)
Arch Linux doesn't have separate `glfw-wayland` and `glfw-x11` packages now.
2024-06-30 19:03:00 +02:00
Jacob Anderson b2ea3a7337
Patch 1 (#380)
* fix casing of a create info struct field

* fix French too
2024-05-09 13:35:18 +02:00
Hyungki Kim fe5f29e23f
fix misleading description (#376) 2024-03-06 20:31:38 +01:00
Jing Luo f4a98c0c5a
Add license files and a license section in introduction (#372)
* 00_Introduction.md: add a license section

Add a "license" section to clarify the copyright status of the website/ebook.

* Add LICENSE.CC-BY-SA-40

* Add LICENSE.CC0
2024-01-04 20:08:39 +01:00
Alexander Overvoorde eb5e70e580
Add a link to a Chinese translation of the tutorial 2023-12-11 20:11:37 +01:00
BRH 51f440d436
Fix typo (#370)
Forgot an "a".
2023-12-04 20:47:38 +01:00
Ryan Linnit 2f3ac600c1
Use range-based loops in markdown (#365) 2023-11-14 19:22:52 +01:00
Sascha Willems 2742b9f1a7
Add compute shader compilation to cmake (#362)
* Add compute shader to build targets (if present)

Fixes #351
Fixes #361

* Add compute shader to build targets (if present)

Fixes #351
Fixes #361

* Add compute shader to build targets (if present)

Fixes #351
Fixes #361
2023-10-30 21:43:40 +01:00
Hyungki Kim fe86b765dd
Update 01_Shader_modules.md (#360) 2023-10-16 20:25:58 +02:00
Chuigda WhiteGive 71b71e4841
replace "descriptor layout" with "descriptor set layout" (#358) 2023-09-25 21:31:00 +02:00
Hugo Locurcio 898f655f92
Use `VK_LOD_CLAMP_NONE` constant to set mipmap max LOD level in sampler (#354)
This allows for using different texture sizes without having to
know the mipmap count in advance.

All conformant Vulkan implementations should be able to handle this
constant, which is equal to `1000.0f`.
2023-08-09 21:35:09 +02:00
Chuigda WhiteGive 1dbd594b5c
Add another good Rust tutorial (#352)
* Add another good Rust tutorial

* Update 00_Introduction.md
2023-08-02 23:24:31 +02:00
Reese Gallagher bba1ee6e63
Update development environment tutorial for Linux to indicate possible libraries which may need to be installed (#353) 2023-08-02 23:22:31 +02:00
Jay Xu 681c588e3b
Fix multisampled color attachment sync (#349) (#350)
* Fix multisampled color attachment sync (#349)

* Update 10_Multisampling.md

fix typo
2023-07-24 20:43:47 +02:00
Gleb Ezhov e16c142424
Added missing dot (#348) 2023-07-16 19:13:16 +02:00
Petr Kraus dc02dccc62
Fix depth buffer reuse sync (#345) 2023-07-13 22:29:37 +02:00
Bot-Kerem 489ea25524
More elegant code (#342) 2023-06-23 23:04:50 +02:00
Johnson Sun b60f145a93
Fix Vulkan SDK path on Windows (#338) 2023-05-16 20:23:23 +02:00
Lucas Merritt 6fa5edd222
Fix incorrect create image view error message (#334)
The function "createImageView" has a somewhat incorrect error message,
saying that it failed to create a texture image view. However, the
function is also used by more than simply the texture image view
creation process(e.g., the swapchain image view creation process, "createImageViews").
2023-05-09 21:39:12 +02:00
Marcin Serwin e064106c98
Change Makefile snippets to use tabs (#333)
Makefile requires usage of tabs for indentation, otherwise it throws `*** missing separator.  Stop.`
2023-05-04 21:37:34 +02:00
Gleb Ezhov a7de542550
Added missing "to" (#331) 2023-04-26 19:27:46 +02:00
Maíra Canal 1eb2223b15
A collection of minor fixes (#330)
* Apply coherent indentation all over the file

* Use static_cast to perform casting

* Add three dots to indicate that it isn't the top of the function
2023-04-24 21:16:12 +02:00
Light7734 b811ac1af9
fix: typoe in 11_compute_shader.md (#329) 2023-04-23 22:37:51 +02:00
Alexander Overvoorde 404879a3f1 Update remaining ebook links 2023-03-27 22:28:41 +02:00
Alexander Overvoorde 0a9eed604c Remove git lfs references 2023-03-27 22:27:27 +02:00
Alexander Overvoorde 733b02a5ad Stop hosting the ebook files in the repo altogether 2023-03-27 22:24:56 +02:00
Alexander Overvoorde a5d2e8b620 Remove spaces from ebook filenames 2023-03-27 22:09:26 +02:00
Alexander Overvoorde bc93e0e647 Fix links to ebook files 2023-03-09 18:05:14 +01:00
Alexander Overvoorde ddd8649403 Move generated ebook files to git lfs 2023-03-08 23:29:44 +01:00
Alexander Overvoorde d51734eb41 Merge branch 'H-G-Hristov-hgh/added-build_ebook_v2.py' 2023-03-08 23:07:27 +01:00
Alexander Overvoorde 9ee1426c38 Clean up script and regenerate ebooks 2023-03-08 23:06:57 +01:00
Alexander Overvoorde cf033d10c7 Merge branch 'hgh/added-build_ebook_v2.py' of https://github.com/H-G-Hristov/VulkanTutorial into H-G-Hristov-hgh/added-build_ebook_v2.py 2023-03-08 21:27:58 +01:00
Alexander Overvoorde 1db3e81e45 Fix broken link 2023-02-22 22:46:56 +01:00
Hristo Hristov 418558bb2e Minor tweaks 2023-02-22 23:23:08 +02:00
Hristo Hristov 3da8d07c86 Formatting 2023-02-22 23:16:53 +02:00
Hristo Hristov e935a359b2 More cleanup 2023-02-22 22:58:06 +02:00
Hristo Hristov 649d199b3f Updated ebook artifacts for English and French 2023-02-22 22:51:17 +02:00
Hristo Hristov 88ce6741d5 Renamed `build_ebook_v2.py` -> `build_ebook.py` 2023-02-22 22:48:35 +02:00