Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / 20 line heightmap function

Author
Message
NathanF
15
Years of Service
User Offline
Joined: 24th Mar 2004
Location:
Posted: 7th Apr 2004 08:52
Hi all!
Here's a function I made to load a heightmap into a matrix.




Use the following images if you don't want to use your own:
grass,

and height,
[img]http://sephiroth7769.tripod.com/sitebuildercontent/sitebuilderpictures/height.bmp
[/img]
if they don't show get them here:
http://sephiroth7769.tripod.com/sitebuildercontent/sitebuilderpictures/grass.bmp
http://sephiroth7769.tripod.com/sitebuildercontent/sitebuilderpictures/height.bmp
Hope you like it

Current Project: DarkEssence, an Action/RPG style game.
teh game wiz
15
Years of Service
User Offline
Joined: 24th Feb 2004
Location: EWS
Posted: 9th Apr 2004 01:55
you could just use a "load terrain" command

W0000000000000000000T
NathanF
15
Years of Service
User Offline
Joined: 24th Mar 2004
Location:
Posted: 10th Apr 2004 07:38
But isn't that only for the 'world' commands? Anyway, if you're right, then i've wasted a lot of time...

Current Project: DarkEssence, an Action/RPG style game.

Login to post a reply

Server time is: 2019-09-15 14:51:35
Your offset time is: 2019-09-15 14:51:35