examples

package module
v0.0.0-...-64b743f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2014 License: BSD-3-Clause Imports: 10 Imported by: 0

README

Examples

This repository contains example programs which demonstrate the usage of the various go-gl packages.

Dependencies

Apart from the various go-gl/* packages, some of these programs use gas to locate resource files, regardless of where the programs are run from.

go get github.com/andrebq/gas

License

Copyright 2012 The go-gl Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
glfw
fsaa
This test opens a window with FSAA sampling enabled, then verifies that we indeed got a window with > 0 sampling enabled.
This test opens a window with FSAA sampling enabled, then verifies that we indeed got a window with > 0 sampling enabled.
simplewindow
This example shows how to set up a minimal GLFW application.
This example shows how to set up a minimal GLFW application.
glfw3
triangle
Draw a triangle using modern OpenGL.
Draw a triangle using modern OpenGL.
glh
glfw2/capture-mpeg-h264
This program demonstrates the use of a MeshBuffer.
This program demonstrates the use of a MeshBuffer.
glfw2/meshbuffer2d
This program demonstrates the use of a MeshBuffer.
This program demonstrates the use of a MeshBuffer.
glfw2/meshbuffer3d
This program demonstrates the use of a MeshBuffer.
This program demonstrates the use of a MeshBuffer.
glfw2/textureatlas
This program demonstrates the use of a TextureAtlas to tightly pack a number of small images into a single texture.
This program demonstrates the use of a TextureAtlas to tightly pack a number of small images into a single texture.
glfw3/meshbuffer2d
This program demonstrates the use of a MeshBuffer.
This program demonstrates the use of a MeshBuffer.
glow
cube
Command cube demonstrates simple Glow binding usage.
Command cube demonstrates simple Glow binding usage.
legacy-cube
Command legacy-cube demonstrates simple Glow binding usage with the legacy OpenGL 2.1 API.
Command legacy-cube demonstrates simple Glow binding usage with the legacy OpenGL 2.1 API.
gltext
bitmap
This program demonstrates the use of bitmap (raster) fonts.
This program demonstrates the use of bitmap (raster) fonts.
truetype
This program demonstrates the use of truetype font rendering.
This program demonstrates the use of truetype font rendering.
mathgl
nehe
03
NEHE Tutorial 03: Coloured vertices.
NEHE Tutorial 03: Coloured vertices.
04
NEHE Tutorial 04: Rotation.
NEHE Tutorial 04: Rotation.
05
NEHE Tutorial 05: 3D shapes.
NEHE Tutorial 05: 3D shapes.
06
NEHE Tutorial 06: Texture Mapping.
NEHE Tutorial 06: Texture Mapping.
07
NEHE Tutorial 07: Lighting & texture filtering.
NEHE Tutorial 07: Lighting & texture filtering.
08
NEHE Tutorial 08: Blending.
NEHE Tutorial 08: Blending.
sdl

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL