Code Monkey home page Code Monkey logo

rust_vulkan's Introduction

Rust Vulkan

an attempt at writing a general refraction shader in vulkan with rust as an excercise and learning experience. most code is boiler plate, but can be run wafter following some prereqs.

install the vulkan libraries as described in this readme.

then run the src with cargo on any wavefront object file

cargo run -- --input test_objs/teapot.obj

it may exit with a panic if your file is in the wrong format. or if you resize the window too fast.


Caveats

  1. currently only supports single objects

TODO :

  • skybox
  • move all vertex and index data to cgmath if possible
  • refraction in glsl
  • refactor code into structs
  • refactor even more code into structs

rust_vulkan's People

Contributors

kaavyajayram avatar

Stargazers

Enzo Marrama avatar

Watchers

Enzo Marrama 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.