Giter VIP home page Giter VIP logo

vulkanrendersystem's Introduction

#Vulkan Render System

This is a replacement for common's Render system in engo that uses Vulkan instead of OpenGL to render to screens.

Getting Started

First, you'll need the Vulkan SDK on your system.

Linux / Windows

On linux and windows make sure you have LunarG's Vulkan SDK installed.

OSX

On OSX make sure you have MoltenVK installed.

Building with engo

Use the build tag vulkan from engo to run.

go run --tags=vulkan *.go

TODO

In order to make this a replacement for the common.RenderSystem's stuff, it has to be able to do the following exactly as the regular RenderSystem does:

[ ] use .png .jpg .bmp and .svg images [ ] blit an image to the screen [ ] blit multiple images to the screen at locations based on their space component [ ] animation [ ] hud vs non-hud elements [ ] text from .ttf and .otf [ ] TMX maps [ ] Global Scale [ ] Scale on Resize [ ] Full Screen [ ] Utilize custom shaders [ ] View Culling [ ] Blend Maps

vulkanrendersystem's People

Contributors

noofbiz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

vulkanrendersystem's Issues

Can't build

Not sure if this is a vendoring version issue or not.

Build output:

# engo.io/engo
../../go/pkg/mod/engo.io/[email protected]/engo_glfw.go:247:35: cannot use *Window (type "github.com/go-gl/glfw/v3.1/glfw".Window) as type "github.com/go-gl/glfw/v3.2/glfw".Window in argument to glfwMojaveFix.UpdateNSGLContext

Library versions:

module github.com/Noofbiz/vulkanRenderSystem

require (
	engo.io/ecs v1.0.1
	engo.io/engo v1.0.2
	engo.io/systems v1.0.0
	github.com/Noofbiz/glfwMojaveFix v0.0.0-20181213035730-7c9c843f7008 // indirect
	github.com/go-gl/glfw v0.0.0-20181213070059-819e8ce5125f // indirect
	github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e // indirect
	github.com/gopherjs/gopherwasm v1.0.1 // indirect
	github.com/vulkan-go/vulkan v0.0.0-20181015060211-df48e8cc1538
	golang.org/x/exp v0.0.0-20181219184115-56fce82a7454 // indirect
	golang.org/x/image v0.0.0-20181116024801-cd38e8056d9b // indirect
	golang.org/x/mobile v0.0.0-20181130133120-ca3c58166ed8 // indirect
	golang.org/x/sys v0.0.0-20181218192612-074acd46bca6 // indirect
)

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.