The goal here is to create a graphics engine in the style of minecraft, with total control of terrain generation. For starters the goal currently is not to have destructible terrain. It should be usable as a basis for participation in GameJams. Along the way I want to learn:
- Mesh generation/handling/modification
- Terrain generation
- FPS & 3rd person camera
- ...
- ...
- networking support for multiplayer
- Fork the project, add your code & create a pull request.
- Create an issue
compileShader took 4.465966ms
compileShader took 269.372µs
newProgram took 6.134061ms
NewMeshFromFile took 12.344038ms
NewObjModelFromFile took 10.254944ms
ToIndexedModel took 1.53439ms
Mesh init took 509.496µs
- Meshing
- OBJ loader
- Figure out why the drawing is not working from the Mesh
- Change to my window code
- Use mouse to rotate camera eventually?
- Test if windows binary is still working
- MagicaVoxel imports
Look into this:
- https://github.com/raedatoui/learn-opengl-golang
- http://www.opengl-tutorial.org/beginners-tutorials/
...
-
Install Homebrew
-
Install go dependencies
go get github.com/go-gl/gl/v4.1-core/gl go get github.com/go-gl/mathgl/mgl32 go get -v github.com/veandco/go-sdl2/{sdl,mix,img,ttf}
-
Install SDL2 via brew:
brew install sdl2{,_image,_ttf,_mixer} pkg-config
-
run
make
-
run
./bin/app
...
...