[Solved] Loading Terrain Files

Blitz3D Forums/Blitz3D Beginners Area/[Solved] Loading Terrain Files

RustyKristi(Posted 2014) [#1]
When I tried loading a heightmap file located on the parent directory of my script it fails. But for images or meshes it works with the "../" path.

Any help on making this clear?


Matty(Posted 2014) [#2]
How big is your terrain image. There may be a size limit. ...can't remember.


RustyKristi(Posted 2014) [#3]
its just 256 but I also tried 512. When I tried loading it on the same folder it works.

So only model and images works with parent folder loading paths? thanks.


Floyd(Posted 2014) [#4]
So only model and images works with parent folder loading paths?

No, the problem is something else.

A heightmap is just an image. You can load it as an image with LoadImage. If that works then the same path will work with LoadTerrain.


RustyKristi(Posted 2014) [#5]
Yes, I guess I got some stuff mixed up. It's working now finally! :) thanks guys for the confirmation.