Hello again,
Hope it's ok that I post this here, since it didn't seem to fit the Program Announcement or the Snippets sections...
I was fiddling around trying to easily make some nice Landscapes, and I came up with these handy functions.
Basically it lets you easily create a Matrix Landscape with a HeightMap and a Texture.
REM - Initialize the Landscape functions.
UFC_InitLandscapes()
REM - Create a new Landscape, load and apply a HeightMap and a Texture.
ls = UFC_NewLandscape(2500,2500,64,64)
UFC_LoadLSHeightMap(ls, "heightmap.bmp", 4.0)
UFC_LoadLSTexture(ls, "texture.bmp")
Instructions are in the source files.
I have also included this in my UFC utility collection which includes all sorts of helpful utility functions. You can find the UFC collection under the WIP section.
Comments are welcome.
EDIT: Fixed a bug which caused the Texture to be applied incorrectly. The Download has been updated.
- enderleit
