GitXplorerGitXplorer
j

learn-webgl

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
7f6556d88eba8d03bfa804f5b7ab0c797484e030

Scene now uses camera properly

committed 11 years ago
Unverified
53ee79b3d0c4c87463cf002cdca03d3dbb9c6687

Add untested camera

committed 11 years ago
Unverified
fdf2e7efa1d06aa10d760baaf459718a51660c68

Fix view matrix maths

committed 11 years ago
Unverified
982ffec719c54d8c3a39ce19ce610bffce75e320

Implement star thingy

committed 11 years ago
Unverified
44740aa2f5820d013a4c0060a441c6b9922dd3d2

Move object initialization into function

committed 11 years ago
Unverified
eb5c7eb44da7a42bfd815206725e25ff539481d2

Add screenshot

committed 11 years ago

README

The README file for this repository.

learn-webgl

This is a framework for solving the lessons on http://learningwebgl.com/ and solutions to those problems. I am in no way affiliated the afforementioned website. The solutions can be viewed by checking out the appropriate tag. The solutions are a work in progress.

screenshot

Framework

Everything you need to get started is in app/. The js folder contains all of the javascript. Most importantly, the file you should be working with is main.js. If you need to include other javascript files, you may need to extend the concat file list in the included Gruntfile.js. Shaders are kept in app/shaders/ and are organized by shader type. The compile:shaders task uses the shader path to determine shader type. Shaders are then exposed in the javascript under the shaders variable.

The glMatrix library is included in and is accessible in main.js.

To get started npm install to fetch dependencies, and run grunt in your project directory to lint and keep things compiled. Point your browser to index.html and start hacking!