Skip to content

pkamenarsky/ocean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ocean WebGL demo

This is a small WebGL demo showcasing procedural waves with fresnel reflections, thus simulating a realistic water surface. It runs in all modern WebGL compatible browsers. The demo is written in Java and compiled to JavaScript using the Google Web Toolkit compiler.

You can rotate the view by pressing either A or D.

Live Demo

Check out a complete functioning live demo here.

Note: Browsers seem to have problems loading the textures when the page is opened by clicking the link with the middle mouse button. When that happens, either reload the page or just copy the link and paste it into a fresh tab.

Building

First download and istall GWT. Then open build.xml and adjust the following line:

<property name="gwt.sdk" location="../gwt"/>

to your specific GWT path. Now run:

ant gwtc-GL

Open release\ocean.html and enjoy :)

About

WebGL ocean demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published