View on GitHub

PowerVR Graphics WebGL SDK

WebGL 3D graphics demos and helper code written in Javascript. Optimized for PowerVR devices

Download this project as a .zip file Download this project as a tar.gz file

WebGLWaterDemo

This repository contains the source code for the PowerVR Graphics WebGL SDK. Although the WebGL SDK is written from the ground up in Javascript, it retains the coding style of the native C/C++ PowerVR Graphics OpenGL ES SDK. This should make the code instantly recognisable to programmers who have used our OpenGL ES SDK before.

The WebGL SDK includes an abstraction layer that handles application life-cycle events (Shell), a 3D maths, text printing and resource loading framework (Tools), and a sub-set of the native OpenGL ES SDK's 3D graphics example applications. The SDK has been optimized for PowerVR devices, but should run efficiently on all WebGL capable phones, tablets, laptops and PCs.

Setup

Many of the WebGL Examples require the code to be hosted on a server. For demonstration purposes, we've used GitHub's Pages feature to host the WebGL SDK. If you fork the code on GitHub, you can use the same mechanism to host your modified code. If you would prefer not to use GitHub, you must host the code on your own web server.

Beginner

  1. 01_HelloAPI
  2. 02_IntroducingPVRShell
  3. 03_Texturing
  4. 04_BasicTnL
  5. 05_IntroducingPVRTools
  6. 06_IntroducingPrint3D
  7. 07_IntroducingPOD

Intermediate

  1. RenderToTexture

Advanced

  1. Water

License

The SDK is distributed under the MIT license.