Skip to content

The amazing LearnOpenGL tutorial code examples done in go

License

Notifications You must be signed in to change notification settings

NicholasBlaskey/go-learn-opengl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-learn-opengl

Code translated into go from the great tutorial by Joey de Vries. The original repo is here.

Building

Linux specific (well ubuntu but it is mostly the same on other distros likely)

For model loading

sudo apt-get install assimp-utils

For sound

sudo apt-get install libasound2-dev

Windows specific

For model go to this page and download assimp.3.1.1 assimp-3.1.1-win-binaries.zip.

Unzip this file and find bin64/assimp.dll and move this into the C:/Windows/System32 folder. In the repo I included dlls/assimp.dll for ease.

Mac specific

For model loading

brew install assimp

Building

Download deps

go mod download

Then it is as easy as going to the folder of the example you would to to run then

go run hello_triangle.go

Open up an issue if you are having trouble with getting the code to build.

Great examples that helped along the way

https://github.com/cstegel/opengl-samples-golang

https://github.com/raedatoui/learn-opengl-golang

https://github.com/tbogdala/assimp-go/blob/master/assimp.go

About

The amazing LearnOpenGL tutorial code examples done in go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published