Repeating terrain question
by Matthew Shapiro · in Torque Game Engine · 06/15/2001 (7:31 am) · 4 replies
out of curiosity How does the repeating terrain work (pertaining to memory usage)? Does each tile it repeats take up extra memory or does it just use the old tile without the people,items, and such?
#2
06/16/2001 (1:44 pm)
Okay If i understood that right then thats good with my theory! Then it won't take any more memory to do what i'm trying to do with my game, which is a BIG PLUS! thank you.
#3
A good terrain engine should use up memory in proportion to the viewed detail. Thus if you set the detail low, the overall memory requirements should be lower than if you have high detail.
My guess is that V12 only stores each height map once, but builds the terrain mesh in-memory for the visible area, thus consuming memory proportional to the visible detail.
Not sure if this helps in refining your understanding, basically you don't gain memory back by using many small height maps v.s. one big height map - but you're not using up more memory either.
--Bryan
06/18/2001 (7:30 am)
Matthew,A good terrain engine should use up memory in proportion to the viewed detail. Thus if you set the detail low, the overall memory requirements should be lower than if you have high detail.
My guess is that V12 only stores each height map once, but builds the terrain mesh in-memory for the visible area, thus consuming memory proportional to the visible detail.
Not sure if this helps in refining your understanding, basically you don't gain memory back by using many small height maps v.s. one big height map - but you're not using up more memory either.
--Bryan
#4
06/18/2001 (2:31 pm)
well the reason it will have more memory free is because it will kill the "tiles" that aren't adjacent to the one your in now.
Jake
I remember with Tribes1 you could not view all 9 repeating tiles simultaneously with 64mb or ram, although you could with 128mb. With Tribes2(which seems to infinitely repeat) it crashes(I'm assuming because of lack of ram) when the visible range is something like 2-3 kilometers with 256mb when viewing many tiles from the air.