Monday, September 8, 2008

Terrain Texturing

After my initial approach to handling dynamic terrain texturing failed to produce results, as such I have spent today working on a new method.
The new method required that I map the functions run when terrain textures are applied manually. There are two major actions that must be carried out in order for textures to be applied, first the texture must be loaded and then it must be applied. By stepping through the script as the game runs I have determined the functions run, the important lines of script they run, and the expected formats for variables.
Using what I have found I should be able to create a function to run at Mission Start that applies a texture to the terrain. Once this is achieved it should be relatively simple to add fucntionality to apply multiple textures at different locations.

No comments: