GTA San Andreas
- galdrusa
- Gnoblar
- Posts: 10
- Joined: Tue Aug 31, 2004 1:22 pm
- Location: Spain
GTA San Andreas
Hi
Have you tried GTA San Andreas? You can go through its huge map with no loading times. I've known that smaller parts are loaded / unloaded while you are moving across the level.
Do you think that would be possible to do something like this using DotScene?
Have you tried GTA San Andreas? You can go through its huge map with no loading times. I've known that smaller parts are loaded / unloaded while you are moving across the level.
Do you think that would be possible to do something like this using DotScene?
- eugen
- OGRE Expert User
- Posts: 1422
- Joined: Sat May 22, 2004 5:28 am
- Location: Bucharest
- x 8
- Contact:
i think it can be using your own scene manager...or even with current scene manager (7-th life guys did it ina way look on the forum for their game), or u can even use a separate thread to feed the manager with additional data when needed...i dont think this is a default feature i'm afraid, but it can be easely implemented
- katoun
- Halfling
- Posts: 65
- Joined: Wed Mar 23, 2005 8:28 pm
- Location: Romania-Bucharest
- Contact:
- Chris Jones
- Lich
- Posts: 1742
- Joined: Tue Apr 05, 2005 1:11 pm
- Location: Gosport, South England
- x 1
no, i read somewhere, that the map is split up into sections, the sections are loaded as the player gets close to them, and others are taken out of memory, this means that the only loading time is before the game, not during it
also if it were loaded when it was in the frustum, it wouldnt really run, as it would have to be loaded off a dvd which isnt too fast, also if the object only loaded when it is in the frustum, the how would you know when it was in the frustum, cos it wouldnt have been loaded yet
what do u mean by real time generated?I think every object is real time generated when is in the
frustum
also if it were loaded when it was in the frustum, it wouldnt really run, as it would have to be loaded off a dvd which isnt too fast, also if the object only loaded when it is in the frustum, the how would you know when it was in the frustum, cos it wouldnt have been loaded yet
- Falagard
- OGRE Retired Moderator
- Posts: 2060
- Joined: Thu Feb 26, 2004 12:11 am
- Location: Toronto, Canada
- x 3
- Contact:
- galdrusa
- Gnoblar
- Posts: 10
- Joined: Tue Aug 31, 2004 1:22 pm
- Location: Spain
Exactly, that's what I've known.i read somewhere, that the map is split up into sections, the sections are loaded as the player gets close to them, and others are taken out of memory
Then... do you think that PagingLandscapeManager could be used for doing small parts of a map with meshes and load/unload them when you move on the map?PagingLandscapeManager pages terrain in as the player walks around. I'm working on an extension to it that also pages in meshes at the same time.
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
What he said!galdrusa wrote:Then... do you think that PagingLandscapeManager could be used for doing small parts of a map with meshes and load/unload them when you move on the map?
In fact, you can do that already, if you hook into the page loading code.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- katoun
- Halfling
- Posts: 65
- Joined: Wed Mar 23, 2005 8:28 pm
- Location: Romania-Bucharest
- Contact:
OK, my mistake, my bad.
About this:, how?Please tall more details for a newbie like me, what do I have to do, to get a project similar to GTA SA, actualy how could I use PagingLandscapeManager to page meshes(how to page terrains I know how, but how to add meshes on that terrains is the most important to get that work like in GTA).
About this:
Code: Select all
galdrusa wrote:
Then... do you think that PagingLandscapeManager could be used for doing small parts of a map with meshes and load/unload them when you move on the map?
What he said! Smile
In fact, you can do that already, if you hook into the page loading code.
Kat'Oun
-
- Halfling
- Posts: 46
- Joined: Sat Oct 02, 2004 12:32 pm
- Chris Jones
- Lich
- Posts: 1742
- Joined: Tue Apr 05, 2005 1:11 pm
- Location: Gosport, South England
- x 1
- Aklix
- Goblin
- Posts: 222
- Joined: Mon Dec 27, 2004 5:21 am
- Contact:
- Chris Jones
- Lich
- Posts: 1742
- Joined: Tue Apr 05, 2005 1:11 pm
- Location: Gosport, South England
- x 1
the disk is almost always spinning, either loading new cars/people etc, and yea when you move it loads the part your moving towards
good thing about being on the computer, it should load faster shouldnt it? if its not taking it from the cd/dvd drive, and loading it from the harddrive?
even with a 16x DVD drive, it only loads data from it at 21MB/s or something like that, instead of 133MB/s on a ATA 133 harddrive. also the seek times are ALOT faster on the harddrive, so should run alot better than the PS2 game
good thing about being on the computer, it should load faster shouldnt it? if its not taking it from the cd/dvd drive, and loading it from the harddrive?
even with a 16x DVD drive, it only loads data from it at 21MB/s or something like that, instead of 133MB/s on a ATA 133 harddrive. also the seek times are ALOT faster on the harddrive, so should run alot better than the PS2 game
- galdrusa
- Gnoblar
- Posts: 10
- Joined: Tue Aug 31, 2004 1:22 pm
- Location: Spain
Firstly, I have the PC version of GTA SA and have to say that load and unload are enough fast processes - since parts are loaded from the HD, you don't even notice them.
On the other hand, if you set a good rendering distance, you can see a large portion of land. I think the fog is correctly used in this game, I like the result.
On the other hand, if you set a good rendering distance, you can see a large portion of land. I think the fog is correctly used in this game, I like the result.