Browse

Browsing projects where Tag is Maths.

Real maps to Heightmaps

  1. Final result with a texture added.
  2. Converting height changes to an image.
  3. Heightmap in Matlab before convolution.
  4. Heightmap in Matlab after convolution.
PreviousNext Final result with a texture added.Converting height changes to an image. Heightmap in Matlab before convolution.Heightmap in Matlab after convolution.

The aim with this project was to convert a normal map (i.e from Google Maps) to a heightmap with values corresponding to a three dimensional representation of the area. Since the circles in a map represent height changes, I painted the areas between the circles with different tone values. In order to get a smooth transition between each circle, I used 2D convolution together with a mean value kernel. This process was done in a Matlab environment and could therefore be accomplished with very few written lines of code. The major drawback of this project was that I never figured out how to completely automatize the filling of the cirlces. I solved it by doing it manually in Illustrator. I might return to this step later on in my education when I have read more courses about image processing.


Computer Graphics

Already in the first year at university we had courses in Computer Graphics. As soon as the Linear Algebra course was done, we were introduced to the basic concepts of 3D computer graphics. We were given an existing and working framework (taking care of mainly animation and rendering) in Java where we had to write our own functions for culling, shading, depth sorting, parallell and perspective projection. In order to get a higher grade, one had to implement Phong highlights.


Sumary of the course. Movie made by Marcus Stenbeck.


Version 1.0. Dev by Per Karlsson (Log in) 10-11-20 Validate xhtml Validate CSS