Tagged Questions
0
votes
1answer
98 views
Heightmap implementation in javascript question, a 2D water heightmap
I have a height map function from GPU Gems 2 Chapter 18, where they're generating a set of B/W pixels from this equation:
H(x,y,t) = Σi=0N h (
Axi x + Bxi,
Ayi y + Byi,
Ati x + ...
2
votes
2answers
542 views
How to interpolate a height-map with normals
My Task
I want to interpolate a heightmap by using the normal of each nearby point of the heightmap which is calculated before. When having 4 Points before i gonna have 9 points after it. ( See this ...
5
votes
2answers
809 views
Arrays for a heightmap tile-based map
I'm making a game that uses a map which have tiles, corners and borders. Here's a graphical representation:
I've managed to store tiles and corners in memory but I'm having troubles to get ...