kurt miller's homepage
( My development journal and homepage has moved to a new system here: kurtm.flipcode.com )

Auto-Terrain Texturing 15 November 2004, 12:27PM

I finally got around to working on the terrain stuff I started the other night. I added auto-texture generation for the terrain meshes. The editor interface provides a slider bar where the user can specify the reference texture to use at different height ranges. During the generation process, the textures are simply weighted (based on height) and blended together. Its similiar to the approaches described here and here.

Here are some screenshots of results:



The big problem that creeps up in general with terrain texturing is texture resolution. Since the texture isn't tiled when you do it this way, unless its a relatively huge texture, the stretched look is pretty ugly when viewing the surface up close. On the other hand, tiling the texture yields freaky unnatural looking terrain. There are a number of ways to address the resolution problem for larger terrains, such as using detail textures for up-close viewing-- perhaps even generated on the fly, or using techniques like texture splatting. I'll likely fool around with both at some point.

I also set up a little junkyard page where I'll be uploading random screenshots of stuff, since I tend to snap tons of them while working. Some higher res pictures of the terrain stuff can be found in there now.






Complete List Of Journal Updates:
  • Auto-Terrain Texturing (15 November 2004, 12:27PM)
  • On Orientation Interfaces (14 November 2004, 7:30PM)
  • Basic Terrain Generation (10 November 2004, 4:39AM)
  • Engine Tool Interface (07 November 2004, 2:37AM)
  • Render Buffer Ranges (02 November 2004, 5:15AM)
  • wxWidgets GUI Toolkit (29 October 2004, 2:31AM)
  • Generic Rendering Interfaces (27 October 2004, 6:55PM)
  • Source Documentation with Doxygen (25 October 2004, 6:34PM)
  • Signs of Life? (25 October 2004, 5:14PM)
  • Key Value Scripts (08 November 2003, 4:32PM)
  • Octrees for Potential Colliders (01 November 2003, 4:09PM)
  • Flexporter and Game Levels (31 October 2003, 12:14PM)
  • New Project and More Updates (31 October 2003, 6:14AM)
  • HSL Color Space (07 May 2003, 6:14AM)
  • A Couple Graphics Books (02 December 2002, 5:12PM)
  • Texture Detail Using Colored Triangles (02 November 2002, 3:26AM)
  • Voxel Mesh Creation and Rendering (27 October 2002, 11:30AM)
  • Development Journal (25 October 2002, 10:57AM)



  • Site Contents Copyright (c) 2002-2004 Kurt Miller. Please do not reprint this jibberish anywhere.