terrain

Building/Rendering a geographical-like (shaded?) relief map from data points in a matrix of cells

I have a 2D "map" of items in discrete cells (some cells having no items). Each item has a mutual "relationship" level with every other item -- the higher the relationship level, the more related they are. I ran a simple self-organizing map algorithm (each item tends to drift towards items that they are more related to), so the map is ...

[DELPHI] Canvas/Bitmap scrolling question

Hello. I'm trying to make a small game based on the canvas in Delphi. Basically, I'd like to make a fairly large bitmap ( 3000x3000, for example ), then load it into the canvas, and being able to scroll right/left/up/down just like an ordinary image viewer, however I can't seem to find what I'm looking for. Any ideas? ...

Is there an easy way to get shadows in OpenGL?

Hi, I recently created a landscape code which I full understand, and added some diffuse lighting to the scene. However to my disappointment there was no shadows. I looked around the web for hours, looking for ways to get shadows in OpenGL, however they all seemed terribly complicated; and very unique to their own demo programs. Is thei...

Playable Heightmap

Hi, I have a game with infinity procedually generated terrain. I'm using 1/f noise for the height (I think this is perlin noise?). Anyway it looks nice, but its not very playable since it doesn't really have flat areas. Just decreasing the amplitude won't work since I still want a large variation in height. Does anyone know of a filter ...

Google Maps API change default map style labels

I've developed an app using the Google Maps API (V3) and I have some custom map styles defined as described here. I can add a name on this tab quite easily by giving it a 'name' in the styledMapOptions when creating it. The problem I have is that I need the default terrain map in there but with another name/label. I was thinking I could ...