Terran Detail?
by Edward Smith · in General Discussion · 11/19/2002 (2:33 pm) · 4 replies
Terran detail? I'm not very good at C++ etc, but I was wondering if there is an simple way so I can make it have more ploys on the terran? Does anyone know where to look?
because thinking of it right now, there must be something which says, 4 ploys in every meter (squared), and maybe can just make that to like a 8?
Well I don't really think that would be the numbers but close to that maybe?
So does anyone knows where to find this part of the code?
because thinking of it right now, there must be something which says, 4 ploys in every meter (squared), and maybe can just make that to like a 8?
Well I don't really think that would be the numbers but close to that maybe?
So does anyone knows where to find this part of the code?
About the author
Currently working on a WW2 FPS game.
#2
11/19/2002 (5:33 pm)
Yeah thats what i thought, but I remember it kind of just getting smaller (as in map etc(kind of anyway)). maybe I have to redo the map?
#3
11/19/2002 (5:55 pm)
The terrain will get finer when you change that number - from 8 to 4 decreases the size in half, I believe. But, you are correct - that also means the map gets smaller. Yuo can go smaller than that, but, I think 2 is the limit. I've also hit some oddities a couple o' times where there were spots where the collision mesh wasn't handled right after reducing the terrain size.
#4
To get higher detail, and not the repeat problem, you have two courses of action available. First and most complex would be to completly rework the terrain system to have a greater number of control points. Currently it has 256 control points (hence the 250m figure at 1m square size). The second method might be to reduce the square size, and page in terrain rather than repeat the same one block. There is a resource running around (the terrain manager by Bryan Turner http://www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=4474) that would be a good starting point.
11/19/2002 (6:23 pm)
In very basic terms the terrain is a repeating grid of squares. The size of these squares is set in the mis file. A smaller size square will mean a more detailed terrain, but a smaller distance before repeats. With the square size set to 8 the terrain repeats after a little over 2000 units. If you world scale is 1 unit = 1 metre then the terrain is about 2km square. If you wanted to be able to adjust the terrain hights at say metre intervals, then changing te square size would effect that, but the terrain would now repeat about ever 250m. At that distance the repeat would be very obvious.To get higher detail, and not the repeat problem, you have two courses of action available. First and most complex would be to completly rework the terrain system to have a greater number of control points. Currently it has 256 control points (hence the 250m figure at 1m square size). The second method might be to reduce the square size, and page in terrain rather than repeat the same one block. There is a resource running around (the terrain manager by Bryan Turner http://www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=4474) that would be a good starting point.
Associate Matt Mitman