separated hight map code from rendering code
Merge pull request #1 from tantalor/master

separating code