Skip to content

Basic renderer to be used as a starting project for the game physics book series

License

Notifications You must be signed in to change notification settings

gamephysicsweekend/VulkanRenderer

Repository files navigation

VulkanRenderer

This is a very basic renderer that is meant to be used in conjuction with the Game Physics In One Weekend book series.

It is currently only targeted for Windows 10 and Visual Studio 2019.

When you get the project to build and run, you should see a small sphere on top of a large sphere. This is the hello world of the book series.

Hello World

Usage

Scene.cpp is where you should begin writing the code from the book series. And sprinkled throughout the rest of the code will be comments:

// TODO: Add code here

This is where you would fill in the code snippets from the texts.

Controls

The controls for the renderer are very basic.

Mouse look to rotate the camera around the origin.
Scroll to zoom.
"R" to reset the scene.
"T" to pause and unpause time.
"Y" to step the simulation by a single frame (only works when the simulation is paused).

Vulkan Resources

Although this "renderer" uses Vulkan, it is not intended as a resource for learning it. Instead, I recommend the following:

https://vulkan-tutorial.com/

https://www.fasterthan.life/blog/2017/7/11/i-am-graphics-and-so-can-you-part-1

https://github.com/SaschaWillems/Vulkan

https://www.lunarg.com/vulkan-sdk/

https://vkguide.dev/

https://zeux.io/2020/02/27/writing-an-efficient-vulkan-renderer/

About

Basic renderer to be used as a starting project for the game physics book series

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published