Heightmap class with get height function!
BlitzMax Forums/BlitzMax OpenGL Programming/Heightmap class with get height function!
Yep. I got bored again and build a heightmap example with texturing and get height function to align players/objects with the terrain. Also added simple static vertex lighting.
Just load a heightmap and a texture an call Draw() :)
Get it at
http://www.furi.dk/blitzmaxHave fun
Ozak
(What will I do next you might ask? Well. 1st/3rd person camera + culling I guess.)
cool but it just keeps giving me this error
Building HEIGHT~1
Compiling:HEIGHT~1.BMX
Compile Error: Unable to open file '.bmx/Texture.bmx.debug.win32.i'
[C:/DOCUME~1/DAMIAN~1/Desktop/HEIGHT~1/HEIGHT~1.BMX;5;1]
Process complete
dunno why any one now?
cool, compiles fine for me.
Try disabling quick build
Works fine here. Why the short filenames? Are you running windows98? (Even though. It should still work :)
he's running XP Pro according to his sig.
Ahh yeah. My bad. Strange problem though :)
the short filenames i have no idear why that happening maybe sommet to do with the ide
disableing the quickbuild also fails to make it work :/
but if i do open from inside the ide it works fine but if i doubble click the HeightMapTest.bmx it fails weired ill report in the bug seccsion with ur code
DaY, could you try deleting the .bmx folder, make sure Quick Build is still off, and rebuild? Have you installed any related 'extras' such as MinGW?
i did that it now compiles but the exe wont run just brings up a msdos console then exsits but as above it works with open then compile with anyopetion on or off lol ive installed MinGW but i dont use it lol ill uninstall it and se wot happens
Uninstalled Mingw and it still does it but now its gone back to the origanal error with the bmx file deleted also and all options off
Building HEIGHT~1
Compiling:HEIGHT~1.BMX
Compile Error: Unable to open file '.bmx/Texture.bmx.debug.win32.i'
[C:/DOCUME~1/DAMIAN~1/Desktop/HEIGHT~1/HEIGHT~1.BMX;5;1]
Process complete
ill run a spyware remover later 2 night and try it after that
make sure build gui app is ticked