Not logged in, Join Here! or Log In Below:  
 
News Articles Search    
 


Submitted by Warren Marshall, posted on November 01, 1999




Image Description, by Warren Marshall



Sorry for not updating my column, but that will change very soon. In the meantime, here's a shot of what I've been spending my time on. A terrain function for my engine.

In a nutshell, I'm reading a grayscale image to get the height data (that's the little image in the top right -- I scaled it way up so you can see it ... it's actual size is 16x16). I create a mesh of triangles to represent the terrain. I then read in 3 textures (grass, rock and ice) and blend them together based on height data, and create a custom texture with which to texture the landscape. It works pretty well, and ... well, there you have it.


[prev]
Image of the Day Gallery
www.flipcode.com

[next]

 
Archive Notice: This content is archived, and commenting is no longer active. It is here for reference purposes. This content was added on an older version of flipcode, before the site closed in 2005.
 
 
Hosting by Solid Eight Studios, maker of PhotoTangler Collage Maker.