Heightmap class with get height function!

BlitzMax Forums/OpenGL Module/Heightmap class with get height function!

ozak(Posted 2005) [#1]
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/blitzmax

Have fun

Ozak

(What will I do next you might ask? Well. 1st/3rd person camera + culling I guess.)


DaY(Posted 2005) [#2]
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?


Perturbatio(Posted 2005) [#3]
cool, compiles fine for me.

Try disabling quick build


ozak(Posted 2005) [#4]
Works fine here. Why the short filenames? Are you running windows98? (Even though. It should still work :)


Perturbatio(Posted 2005) [#5]
he's running XP Pro according to his sig.


ozak(Posted 2005) [#6]
Ahh yeah. My bad. Strange problem though :)


DaY(Posted 2005) [#7]
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


BlitzSupport(Posted 2005) [#8]
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?


DaY(Posted 2005) [#9]
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


DaY(Posted 2005) [#10]
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


Perturbatio(Posted 2005) [#11]
make sure build gui app is ticked