Giter Site home page Giter Site logo

mainliner / vulkanrenderer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gamephysicsweekend/vulkanrenderer

0.0 0.0 0.0 3.94 MB

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

License: Creative Commons Zero v1.0 Universal

JavaScript 0.64% C++ 50.98% Python 0.76% C 13.45% Objective-C 0.26% Lua 0.72% CSS 0.52% HTML 32.49% GLSL 0.17%

vulkanrenderer's Introduction

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/

vulkanrenderer's People

Contributors

gamephysicsweekend avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.