teaching machines

Feature 2 Post Mortem

March 4, 2013 by . Filed under cs455, postmortems, spring 2013.

Overall implementing the terrain generation and height map was not overly difficult. The first problem I came across was editing the ruby file we created in the tutorial, in order to orient the terrain in the same aspect as the camera. The grid value had to be switched to the center in output as well as changing the order of the faces to calculate the normal’s properly.

The next thing to do was to create a class separate from the object file in order to be able to access the height / y value at any location. The layout of the class is below.

The shader is using specular lighting.

 

 

[youtube http://www.youtube.com/watch?v=LY3LZH_voIo&w=420&h=315]