I have used the example terrain source, which works, to create my own terrain, but I get a
"memory failure". No more, no less, just that one message in a message box.
My images are 512 x 512
load image "media/terrain_colour.jpg", 1
load image "media/terrain_colour.jpg", 2
make object terrain 1 ` create the terrain object
set terrain heightmap 1, "media/terrain1.bmp" ` set the heightmap
set terrain scale 1, 100, 100, 100 ` set the scale
set terrain split 1, 4 ` split value by 16 * 16
set terrain tiling 1, 4 ` detail map tiling
set terrain light 1, 1, -0.25, 0, 1, 1, 0.78, 0.5 ` light - xdir, ydir, zdir, red, green, blue, intensity
set terrain texture 1, 1, 2 ` base and detail texture
build terrain 1 ` finally build the terrain
Any ideas?
BatVink
http://biglaugh.co.uk/catalog AMD 3000+ Barton, 512Mb Ram, 120 Gig Drive space, GeForce 5200 FX 128 Mb, Asus A7N8X Mobo.
Terms & Conditions apply