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.

Code Snippets / dynamic loading terrain

Author
Message
wh1sp3r
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Czech republic
Posted: 13th Mar 2004 17:10
ok, here is my source code :



Height.bmp is heightmap you have to create own heightmap about size ....ex: 64x64 or 2000x2000 its 64x64 tiles and 2000x2000 tiles

grass2.bmp is texture of tile

☺☺ PIII 950 Mhz, 320 MB RAM, GeForce4MX440 64MB, SB LIVE!, monitor 19" ☺☺
wh1sp3r
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Czech republic
Posted: 15th Mar 2004 23:07
any questions ?

☺☺ PIII 950 Mhz, 320 MB RAM, GeForce4MX440 64MB, SB LIVE!, monitor 19" ☺☺
DigiBO
20
Years of Service
User Offline
Joined: 31st Jan 2004
Location:
Posted: 16th Mar 2004 21:32
Yeah... what IS this?

^_^
wh1sp3r
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Czech republic
Posted: 17th Mar 2004 20:27
hmmm ! viz Thread

☺☺ PIII 950 Mhz, 320 MB RAM, GeForce4MX440 64MB, SB LIVE!, monitor 19" ☺☺
Cyberflame
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: Im not sure....
Posted: 18th Mar 2004 16:05 Edited at: 18th Mar 2004 16:05
Yeah... what IS this?

I think it loads height maps...but i'm not sure.

DANGIT NEO, YOU CHANGED THE CODE AND NOW THE MATRIX WONT TEXTURE RIGHT.
Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 18th Mar 2004 18:41
General will correct me if I am wrong but its basically a way of creating an infinite matrix. Its the method seen in games such as Bullfrog's Magic Carpet and others.

Its very cool.

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P1.3ghz / 384 megs / GeForce MX 5200 128meg / WinXP home
wh1sp3r
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Czech republic
Posted: 19th Mar 2004 11:04 Edited at: 19th Mar 2004 11:06
hmm ... Yes, Its true .. but infinite ? no. I have created ex: heightmap 1000x1000 ..normally will be create matrix 1000x1000 (tiles) but my program create matrix only 30x30 and is dynamic loading. i can walk for all heightmap. So, this function work in game FLASHPOINT. Look to Codebase ... Is in codebase with all media.

☺☺ PIII 950 Mhz, 320 MB RAM, GeForce4MX440 64MB, SB LIVE!, monitor 19" ☺☺

Login to post a reply

Server time is: 2024-11-23 21:45:21
Your offset time is: 2024-11-23 21:45:21