dtrajko / VulkanRenderer

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/

About

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

License:Creative Commons Zero v1.0 Universal


Languages

Language:C++ 51.0%Language:HTML 32.5%Language:C 13.4%Language:Python 0.8%Language:Lua 0.7%Language:JavaScript 0.6%Language:CSS 0.5%Language:Objective-C 0.3%Language:GLSL 0.2%