3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1] 2

Author Topic: Loading time  (Read 3656 times)

« on: July 31, 2010, 02:09:06 PM »
Hello everyone ive been working on a Rail simulator and have got quite far problem is the loading time, it seems the more i add to the project the longer it takes to load a route, at the minute i have over 1 mile of track and a couple of trees and it takes 2 minutes to load? ive seen somewhere it mentioned about objects only loading when in the distance but cant seem to find any reference on this can someone help please?

EDIT! after 1 mile i would think it be good for everything to be invisable and only load when you get closer to the area like most off the shelf games you buy, you can sometimes see buildings rezzing while getting closer to them but if you drive away they dissapear which increase performance and loading time!
« Last Edit: July 31, 2010, 02:50:05 PM by pablo »
« Reply #1 on: July 31, 2010, 02:25:53 PM »
loading takes times yes, and... yes! the more you add the more it increases  :D go figure  :D

and you cannot do nothing about it.

some tips:
* smaller textures
* dds format textures
* less objects as possible
* textprints takes a lot to load
Crashing Boxes - winner of the 3d games category at the 5th Uruguayan video game contest
get a copy for your iPad/iPhone!
« Reply #2 on: July 31, 2010, 02:33:53 PM »
Well im starting to think is it already takes 2 minute to load 1 mile of land with small detail then add another 4 mile so 5 x 2 would equal to 10 minutes, no one in the right mind would sit for 10 minutes waiting for a game to load surely? there must be a way around that?
« Reply #3 on: July 31, 2010, 02:35:46 PM »
loading takes times yes, and... yes! the more you add the more it increases  :D go figure  :D

and you cannot do nothing about it.

some tips:
* smaller textures
* dds format textures
* less objects as possible
* textprints takes a lot to load

I will try the tips you mentioned and see, im also going to remove the train skin mesh too and see what difference it makes!
« Reply #4 on: July 31, 2010, 02:37:14 PM »
I have to agree with pablo because the game we are working on involves a hole lot of land.We would of course scale that down from real life but its still gonna take some time to load.I also read somewhere about loading objects once in a certain distance.I know its possible would just use a little code and have it running in the background of the game.
www.xtrmgames.com
Currently using 3d Rad v6.50/v7.03b (sw).

Extreme Logging Coming Soon.
« Reply #5 on: July 31, 2010, 02:37:44 PM »
Infact the rail is very high detail and ive noticed since laying more track the loading as reduced so your point about textures ect are right on Q
« Reply #6 on: July 31, 2010, 02:40:13 PM »
I have to agree with pablo because the game we are working on involves a hole lot of land.We would of course scale that down from real life but its still gonna take some time to load.I also read somewhere about loading objects once in a certain distance.I know its possible would just use a little code and have it running in the background of the game.

Exactly i mean for me a simple rail game doesnt really have much detail apart from the eye view of the train, a full on FPS game for instance has lots of foilage buildings ect so i wouldnt like to think how long one of them would take to load if im strugglin all ready!
« Reply #7 on: July 31, 2010, 02:48:59 PM »
Check also for "infinite terrain" in forum. (search)
http://3dradder.blogspot.com/ <- Stuff 4 3DRad   | *Donate now: Post-prosessing shaders | External Script editor mEH*
« Reply #8 on: July 31, 2010, 02:52:16 PM »
Check also for "infinite terrain" in forum. (search)

Is this the one where they did a youtube video showing it? i seem to recall the person flying and driving around a city that only rezz when you get close to the buildings which 3drad desperatly needs if it wants to have bigger game play and increased performance!


EDIT! #Here is the topic i think mgear was talking about and i would like to thank everyone who showed intrest , im about to try and implment this into my game im confident i can do it  i will tile 1 mile terrain and have it load up during game play and not on startup http://www.3drad.com/forum/index.php?PHPSESSID=23e17f49699d641012f843642c4af2a9&topic=4183.0
« Last Edit: July 31, 2010, 03:12:36 PM by pablo »
« Reply #9 on: July 31, 2010, 03:14:54 PM »
I also read somewhere about loading objects once in a certain distance.I know its possible would just use a little code and have it running in the background of the game.

no, you cannot load in the background of the game with 3drad.
you can refresh (lets say load) objects whenever you want, but the game is freezed, so no "in the background loadings" around here.

also, keep in mind that usually you should tile images.

for example the rails...
I dont know how your texture is, but it shoudnt be like this:
-|-|-|-|-|
-|-|-|-|-|
it should be like this:
-|
-|
and tiled all along the way.

and if possible like this:
-|
and tiled side by side and all along the way.

so your rails texture would be really really little and load fast.

the same goes for big terrains, if you have a big mountain you wont have a BIIIIGGG texture of the whole mountain... you'll have a lot of little textures tiled all along the way.
Crashing Boxes - winner of the 3d games category at the 5th Uruguayan video game contest
get a copy for your iPad/iPhone!
« Reply #10 on: July 31, 2010, 03:26:36 PM »
I also read somewhere about loading objects once in a certain distance.I know its possible would just use a little code and have it running in the background of the game.

no, you cannot load in the background of the game with 3drad.
you can refresh (lets say load) objects whenever you want, but the game is freezed, so no "in the background loadings" around here.

also, keep in mind that usually you should tile images.

for example the rails...
I dont know how your texture is, but it shoudnt be like this:
-|-|-|-|-|
-|-|-|-|-|
it should be like this:
-|
-|
and tiled all along the way.

and if possible like this:
-|
and tiled side by side and all along the way.

so your rails texture would be really really little and load fast.

the same goes for big terrains, if you have a big mountain you wont have a BIIIIGGG texture of the whole mountain... you'll have a lot of little textures tiled all along the way.


Ok well i took a look at the project tile demo included and i see what you mean, so instead of the balls being fired i would need to add track instead but ofcourse that didnt fire and ran under and in the distance of the train i will look into this more and it is most proberly the solution i was looking for thanks.
« Reply #11 on: July 31, 2010, 03:33:20 PM »
when I talk about tiling Im talking about the modeling stage, nothing related to 3drad really.

I suppose the trails is a custom model of yours??
you should model it with a little texture and tiling it.
Crashing Boxes - winner of the 3d games category at the 5th Uruguayan video game contest
get a copy for your iPad/iPhone!
« Reply #12 on: August 01, 2010, 01:02:14 AM »
when I talk about tiling Im talking about the modeling stage, nothing related to 3drad really.

I suppose the trails is a custom model of yours??
you should model it with a little texture and tiling it.

I might do a cab view only its something ive been thinking about and i am going to make the rail line less detail, i basiclly want to get the route finished so the princible is there and a working route, after that i can look at other ways of progressing the game
« Reply #13 on: April 23, 2011, 04:30:23 PM »
this game will be so fun 2 play :o
I ❤ Boxing
« Reply #14 on: April 24, 2011, 11:59:08 AM »
you're never gonna get this done the way you are going... you're trying to do everything at once... the train, the terrain, the models for the buildings... it just aint gonna happen...

a 2 minute load time is entirely toooooooooooooooooo long...  from what i see in the pics, there's no reason for the extended loading time...

i'd suggest you stop for a second,  step back,  so that you can view the entire project from a distance... and determine exactly what you're going to need...


first thing i see you needing is an infinite terrain... that can be done easily enough, but the terrain is gonna basically be flat... you can add some hills and stuff in but that'll come later...


second thing i see you needing is a way to use a limited number of models all over the place... several types of buildings... some trees... etc... clone em and position em as the terrain changes...

third thing is the need to lay track where none has existed, and for the train to be able to follow the track...  some sorta reference to a predetermined database might be the solution here (also could be used in deploying the various structures, etc)...

those are the issues before you... solve one at a time before starting to code or assemble your project and you stand a chance of succeeding... don't, and you'll have fun working on a game, but you'll never get it done...

the type game you've embarked on is one of the most difficult types to do... an expansive terrain with many varying landscapes... and a looooong winding train track...

anyway... good luck...  ZaZa is right... this does sound like something that'd be fun to play...  if you ever get it done...


--Mike
Pages: [1] 2