/Cube3D

3D rendering script via OpenGL

Primary LanguageGo

Cube 3D( via openGL for GoLang )

This script rendering via openGL / OpenGL for GoLang rotaiting 3D Cube

Quick Start

    git clone https://github.com/GHRik/Cube3D.git
    cd Cube3D
    go run cube.go

Requirements

To properly run script you have to gave instaled and ready to use:

go get github.com/go-gl/gl/v4.1-core/gl
go get github.com/go-gl/glfw/v3.3/glfw
go get github.com/go-gl/mathgl/mgl32

Dir structure

Dir structure

  • cube.go - file with script
  • demo_vide - directory with video which is on youtube
  • images - directory with image necessary to use in README
  • square.png - texture which is on rotaiting cube)

Demo vid

Watch the video

Reference links