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.

3 Dimensional Chat / using more than one image on a matrix.....

Author
Message
Lancewrath
17
Years of Service
User Offline
Joined: 30th Dec 2002
Location:
Posted: 5th Jan 2003 16:46
ya im not sure how you do that cause it asks for a tile of the image already specified by the prepare matrix texture..but i want to use a different image for other parts of the same matrix.. anyone know how to do this?
Thanks a bunch
if god = infinity and infinity = 0 then god = 0
Kale
17
Years of Service
User Offline
Joined: 8th Sep 2002
Location: United Kingdom
Posted: 5th Jan 2003 17:17
you use 'prepare matrix texture' to chop up a big image containing you textures then apply each of these 'tile' onto your matrix using 'set matrix tile'.

Here i use a huge terrain texture mapped to the entire matrix



What the flame does not consume, consumes the flame.
------------------------------------------------------------------------
AMD XP2100+, Geforce4Ti 4400, 512Mb DDR, Abit KX7, WinXP Home
Lancewrath
17
Years of Service
User Offline
Joined: 30th Dec 2002
Location:
Posted: 5th Jan 2003 19:43
ya i was making a level editor for my game and i wanted to load up textures for my matrix..but thats ok ill just have it load up tiled textures

if god = infinity and infinity = 0 then god = 0
Kale
17
Years of Service
User Offline
Joined: 8th Sep 2002
Location: United Kingdom
Posted: 10th Jan 2003 20:17
see this post of what can be achieved using the above code:

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

What the flame does not consume, consumes the flame.
------------------------------------------------------------------------
AMD XP2100+, Geforce4Ti 4400, 512Mb DDR, Abit KX7, WinXP Home
Furiousuk
17
Years of Service
User Offline
Joined: 10th Jan 2003
Location: United Kingdom
Posted: 11th Jan 2003 00:38
Hey, i'm new to the forums but have been programming DB for a while now. I haven't upgraded to DBPro yet.

I'm making a turn based strategy game that uses a very large matrix. I want to incorporate many different tile textures that are very realistic. Ideally i'd like to have each individual tile texture 256*256. If i want 100 textures then this means cutting up a large bitmap (2560*2560) into 10x10 segments.

However, i'm experiencing a lot of visual distortion when cutting up any bitmap over about 512*512.
Does anyone know, is there a limit on the size of the bitmap being prepared for a matrix texture?
How can i get rid of this colour distortion when segmenting large bitmaps?

Kangaroo2
17
Years of Service
User Offline
Joined: 26th Sep 2002
Location: United Kingdom
Posted: 14th Jan 2003 21:24
Yes I read somewhere that images larger than 512x512 pixels are resized. This may not be true, I just read it on the forums

Login to post a reply

Server time is: 2020-08-06 08:38:30
Your offset time is: 2020-08-06 08:38:30