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.

DarkBASIC Professional Discussion / Ways to create huge terrain?

Author
Message
mhack
23
Years of Service
User Offline
Joined: 24th Apr 2003
Location:
Posted: 2nd May 2003 04:41
Mostly, matrix is fine but how to get more then one 256x256 image for all the tiles? I mean it's only like 4 128x128 tiles
rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 2nd May 2003 06:30
you don't, sorry

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
The Wendigo
23
Years of Service
User Offline
Joined: 13th Sep 2002
Location: A hole near the base of a tree in the US
Posted: 2nd May 2003 11:02
hows about a 1024x1024 image? Then you can divide this into 256x256 images.

<<Insert signature here>
mhack
23
Years of Service
User Offline
Joined: 24th Apr 2003
Location:
Posted: 2nd May 2003 16:53
But it says in help that for matrix, texture can't be more then 256x256..

And also, 4 images it's nothing, if you need to create landscape.. with different types of grass/sand/water/ice/rocks/roads etc..

How about BSP? What you can do with that? Are they faster then matrix or regular objects?

APEXnow
Retired Moderator
23
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 2nd May 2003 16:58
BSP files are also limited in size but they may not prove useful for large terrains, BSP files are really used for indoor locations to cut down on Polygon counts. Large exterior locations will still prove inefficient for BSP files.

"Man who looses key to woman's appartment...... He get no nookie" - A wise chinese man.
Beta1
23
Years of Service
User Offline
Joined: 28th Dec 2002
Location:
Posted: 2nd May 2003 16:58
BSPs are for room/indoor type terrain rather than outside.

Have you tried using more than a 256x256? It may work depending on your Graphics card. Also you can have more than 4 tiles (my current on has 16). Remember that the texture is applied per square of the matrix, so if you keep your tile size to something sensible you can get away with lower res textures. And hopefully your matrx will be covered in lots of objects to hide the floor anyhow!

mhack
23
Years of Service
User Offline
Joined: 24th Apr 2003
Location:
Posted: 2nd May 2003 17:30
Ok, I'll try using 1024 textures..

Beta1
23
Years of Service
User Offline
Joined: 28th Dec 2002
Location:
Posted: 2nd May 2003 17:38
well maybe 512x512s would be a better starting point

Dave J
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 2nd May 2003 18:21
Err, I thought you were talking about the matrix size but in any case, I think Magic World had some Monster Matrix utility which made enormous matrix's... they truly were large.

"Computers are useless they can only give you answers."
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 2nd May 2003 18:29
Why not have an image that is 1024 * 1024 which is actually 16 different textures (4 * 4) at 256 pixels by 256 pixels.

like this:

01 02 03 04
05 06 07 08
09 10 11 12
13 14 15 16

Even if EACH texture is limited to 256*256, the big image that the textures are cut out of can be massive.

Gronda, Gronda
Van B
Moderator
23
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 2nd May 2003 19:27
Or...

Make a few little 128x128 textures, one for sand, one for grass, one for rock etc. Then use VANtrans to make 4 seperate transition textures and stick them together in an art package. That would give you a 1024x1024 matrix texture, which contains 64 different tile textures. This is a very similar approach to what Dead Glory has done with TML, and 128x128 is a reasonably nice resolution. You'd need to make a texture editor though, so you could select which tile texture goes on which matrix tile, no biggie though.


Van-B
mhack
23
Years of Service
User Offline
Joined: 24th Apr 2003
Location:
Posted: 2nd May 2003 20:00
I was thinking that texture file itself can't be larger then 256?

What's Magic world?

I need two things first more textures.. I probably will go with 256x256 tiles in 1024x1024 texture or even 2048.

Then I need huge matrix so I can pan over it and don't see matrix end..

I'm thinking of using one 30x30 matrix with size of 900,000 camera will be in the center, then I'll try to use small 2000x2000 30x30 matrix just in front of camera to create some kind of LOD on the fly..

Kale
23
Years of Service
User Offline
Joined: 8th Sep 2002
Location: United Kingdom
Posted: 2nd May 2003 21:36 Edited at: 2nd May 2003 21:37
i started this:

http://www.darkbasicpro.com/apollo/view.php?t=4348&b=8

a while ago i made it using a 4096x4096 image tiled into smaller pieces and mapped to each tile. This might need the images flipping now due to a bug fix. (old code )



What the flame does not consume, consumes the flame.
------------------------------------------------------------------------
AMD XP2100+, Geforce4Ti 4400, 512Mb DDR, Abit KX7, WinXP Home
Firesea
23
Years of Service
User Offline
Joined: 7th Apr 2003
Location:
Posted: 2nd May 2003 22:22
One trick that seems to work for me is using 4 matrixs each 1000x1000 in size with each one having 100x100 grids. I then slice my large picture 1056x1056 into 200x200 tiles and work out the spacing to apply on all four matrix. I've tried as high as 7x7 matirx the same size but of course it gets real slow...
mhack
23
Years of Service
User Offline
Joined: 24th Apr 2003
Location:
Posted: 3rd May 2003 00:19
I think real, unlimited size and texture, LOD terrain would be very nice addition to DB Pro

Login to post a reply

Server time is: 2026-07-11 14:17:17
Your offset time is: 2026-07-11 14:17:17