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
draw command
fsaa command
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 command
This example shows how to set up a minimal GLFW application.
This example shows how to set up a minimal GLFW application.
glfw3
gears command
gophercube command
modern command
triangle command
Draw a triangle using modern OpenGL.
Draw a triangle using modern OpenGL.
glh
glfw2/capture-mpeg-h264 command
This program demonstrates the use of a MeshBuffer.
This program demonstrates the use of a MeshBuffer.
glfw2/meshbuffer2d command
This program demonstrates the use of a MeshBuffer.
This program demonstrates the use of a MeshBuffer.
glfw2/meshbuffer3d command
This program demonstrates the use of a MeshBuffer.
This program demonstrates the use of a MeshBuffer.
glfw2/textureatlas command
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 command
This program demonstrates the use of a MeshBuffer.
This program demonstrates the use of a MeshBuffer.
glow
cube command
Command cube demonstrates simple Glow binding usage.
Command cube demonstrates simple Glow binding usage.
legacy-cube command
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 command
This program demonstrates the use of bitmap (raster) fonts.
This program demonstrates the use of bitmap (raster) fonts.
truetype command
This program demonstrates the use of truetype font rendering.
This program demonstrates the use of truetype font rendering.
mathgl
nehe
03 command
NEHE Tutorial 03: Coloured vertices.
NEHE Tutorial 03: Coloured vertices.
04 command
NEHE Tutorial 04: Rotation.
NEHE Tutorial 04: Rotation.
05 command
NEHE Tutorial 05: 3D shapes.
NEHE Tutorial 05: 3D shapes.
06 command
NEHE Tutorial 06: Texture Mapping.
NEHE Tutorial 06: Texture Mapping.
07 command
NEHE Tutorial 07: Lighting & texture filtering.
NEHE Tutorial 07: Lighting & texture filtering.
08 command
NEHE Tutorial 08: Blending.
NEHE Tutorial 08: Blending.
sdl
gears command
mandel command

Jump to

Keyboard shortcuts

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