Saturday, July 30, 2016

WebGL terrain tutorial

Today I put together a quick tutorial on how to build a 3d terrain in Javascript, from setting up three.js to loading a heightmap and texture. More will be added later (controls and collision).

Each step is organized as a release in the Github repo so you can download them all individually or browse through the commit diffs to see each change being made.

The Github project is here:

And, if course, there's a demo of it here:

1 comment:

Catalin George Festila said...

I saw it into my feedly at Planet Python, but is javascript.
Is a raw 3D. You can do better ...
Why don't try on python OpenGL ?