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.

Author
Message
Dr OcCuLt
22
Years of Service
User Offline
Joined: 27th Nov 2002
Location: a Dark Deep Dark pit, it dark in here
Posted: 26th Feb 2003 02:09
i trying to make a game that has a outdoor matrix land-scap. i thinking that if u can HIDE bits of the land-scap
the uesr can`t see the program will run faster but MATRIXs do not have a hide command.

do`s eney one now an easyer way of doing this are do u just have to DELETE and remake MATRIX all the time.

--Dr 0--
QuothTheRaven
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 26th Feb 2003 03:11
you could just move the matrix to -100000,-100000,-1000000, then back

Darken the skies, we are God.
Dr OcCuLt
22
Years of Service
User Offline
Joined: 27th Nov 2002
Location: a Dark Deep Dark pit, it dark in here
Posted: 26th Feb 2003 15:09
that is an good ider but you still have store all the y data and updata the matrix when you move it.

--Dr 0--
Galiem
22
Years of Service
User Offline
Joined: 27th Nov 2002
Location: United States
Posted: 27th Feb 2003 18:53
Don't load all the matrices at one time.

Simply have a matrix directory, which lists all the matrice by filename and ID.

Load only the matrices the user can see, and delete the ones they can't, as they move.

Let's say the user in the middle of a matrix, for example, and the matrices are relatively small (would have to be for this to work). When the user goes forward, say, ten tiles, so that the matrix behind them can't be seen, it is deleted. Then, they run to the boarder of that matrix. The next one will be visible, they run halfway across. The next one after that is loaded. Ten more tiles forward, the one behind them is deleted, and so on.

Only thing is, like I said, matrices have to be small for this to work effectively. Reason being, you would have 5 matrices loaded at a time: The one the user is on, and the ones surronding that one.

Next step is only to set your cameras so that they can't see beyond the loaded matrices. Fog and objects on the may come in handy for that purpose, as well.

spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 28th Feb 2003 15:15
That is really weird, Galiem. I was thinking of doing something exactly the same! I had an idea of creating a REALLY large one level seamless game where you could effectively walk for miles.

I too had idea of having lots of matrices but only visible ones are one you are on and the 8 surrounding ones. As you cross borders it would load up and delete matrices in the background but all you would notice is maybe a slight pause.

I will probably have a go over the weekend and see if it works.

Gronda, Gronda
mimesis
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Norway
Posted: 28th Feb 2003 15:17
HIDE MATRIX should be definitely be a future command in DBpro.
TogaMario
22
Years of Service
User Offline
Joined: 30th Jan 2003
Location:
Posted: 28th Feb 2003 22:19
Is there a way to delete texture on matrices? I noticed that untextured matrixes load a lot quicker, so why don't you just load all the matrices, and only load the textures on the 8 around the one you're on? Or is that a stupid idea?

P.S. This is what the alphabet would look like if Q and R were eliminated.

Login to post a reply

Server time is: 2025-05-20 01:59:16
Your offset time is: 2025-05-20 01:59:16