A raster image which can depict a 3D environment through mapping out the height at every point. Can be thought of as a mechanically consumeable form of topographical map.
0
votes
1answer
74 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 + ...
1
vote
0answers
44 views
How to determine character's foot contact point on a uniform triangle mesh terrain?
For a terrain that is modelled by a heightmap with a uniform triangle mesh, what are some techniques I could use to determine the contact point of the foot of a character standing on the terrain?
...
5
votes
1answer
118 views
Smoothing Heightmap Data
I've made a Heightmap Generator that creates island heightmaps like in this picture:
I am dividing the grayscale ( 0 - 255 ) into 4 diferent parts ( water, sand, gras and forrest )
and after ...
-2
votes
1answer
49 views
procedural height map that changes
This a a weird question.
I'm making a game in unity.
I have a grid of columns and the height of the columns is changing (lerping) randomly (just cus it looks cool!)
I was wondering could I ...
-1
votes
1answer
156 views
Creating physics in xna
I am creating a racing game using visual studio 2010 and xna 4.0. I'm trying to create some simple physics so my car sticks to the heightmap I have created within my game world and the model adjusts ...
2
votes
0answers
152 views
Collision detection with heightmap based terrain
I am developing a 2D tank game. The terrain is generated by Midpoint Displacement Algorithm, so the terrain is represented by an array:
index ---> height of terrain
[0] ---> 5
[1] ---> ...
-6
votes
1answer
144 views
Heightmap VS actual model of environment [closed]
I've been looking at 3D environments for games and I would like to know (case by case) which would be the best fit for development. The types in question are between heightmaps or a model of an ...
1
vote
2answers
127 views
How to get the height at a position in a triangle
I have a heightmap, and I store the heights in a giant array. However, when I move, it's quite choppy on the Y-axis, so I need a way to get the height at a certain point in a triangle.
I currently ...
2
votes
1answer
215 views
Spherical procedural terrain shader based on slope
I've created a spherical terrain object out of 6 sphere projected (normalised) planes, each plane has been heightmapped post to being normalised.
I'm looking to create a CG shader which will ...
3
votes
1answer
173 views
Dealing with edges on spherical heightmapped terrain
This is the problem I'm having: where the height has been applied to the vertex, the edge of each face has been pushed apart. I was wondering how I can best deal with this issue?
I read elsewhere ...
7
votes
1answer
326 views
Is 1 pixel of a height map representative of 1 vertex on the mesh?
I'm trying to get my head around heightmap terrain generation. If I have a plane say 64 x 64 verts will I need to create a 64px by 64px greyscale heightmap in order to displace the geometry of the ...
2
votes
2answers
336 views
What is the best way to “carve” a terrain created from a heightmap?
I have a 3d landscape created from a heightmap. I'd like to "carve" some holes in that terrain. That will allow me to create bridges, caverns and tunnels inside it.
That operation will be done in ...
1
vote
0answers
116 views
loading a heightmap as texture in shader
I have a height map of 256x256, containing, foreach cell, not only height as a normal float value ( not 0-1 ) and also 2 gradient values ( for X and Y ), also as normal float values ( not 0-1 ).
I ...
1
vote
1answer
237 views
Heightmap in Shader not working
I'm trying to implement GPU-based geometry clipmapping and have problems to apply a simple heightmap to my terrain. For the heightmap I use a simple texture with the surface format "single". I've ...
4
votes
1answer
506 views
Island Generation Library
Can anyone recommend a tile map generator (written in Java is a plus), where one can control some land types? For example: islands, large continents, singe large continent, archipelago, etc.
I've ...