Resolution LOD Samples – Operation Flashpoint
(added intro, disclaimer) |
m (typo) |
||
Line 1: | Line 1: | ||
[[category:Operation Flashpoint: Modelling]] | [[category:Operation Flashpoint: Modelling]] | ||
== Introduction == | == Introduction == | ||
A well made model will include several [[LOD#.3Cresolution.3E | Resolution LODs]] | A well made model will include several [[LOD#.3Cresolution.3E | Resolution LODs]] that the game engine will switch in between. | ||
How the engine determines ''which'' of the available LODs to use is a complex issue that involves several factors: | How the engine determines ''which'' of the available LODs to use is a complex issue that involves several factors: | ||
*View distance (how far the player is from the object he | *View distance (how far the player is from the object he is looking at) | ||
*Visible objects (how many objects are currently displayed on the screen) | *Visible objects (how many objects are currently displayed on the screen) | ||
*Video settings (visual quality, terrain detail, shadows, etc.) | *Video settings (visual quality, terrain detail, shadows, etc.) | ||
Line 11: | Line 11: | ||
To demonstrate the effect of these different parameters a series of tests have been made, and are documented below. | To demonstrate the effect of these different parameters a series of tests have been made, and are documented below. | ||
Keep in mind that the numbers listed are only useful to demonstrate the interdependency of the different factors. They are ''not'' to be taken as absolutes, since they will vary from situation to situation. (i.e. if you reproduce this test on your system you will most likely receive different absolute numbers, since your hardware/software configuration will be different.) The results should give you ''some'' clues as to what kind of LODs make sense, and how they are chosen, but don't interpret them as ''hard numbers''. | Disclaimer: Keep in mind that the numbers listed are ''only'' useful to demonstrate the interdependency of the different factors. They are ''not'' to be taken as absolutes, since they will vary from situation to situation. (i.e. if you reproduce this test on your system you will most likely receive different absolute numbers, since your hardware/software configuration will be different from the test setup.)<br>The results should give you ''some'' clues as to what kind of LODs make sense, and how they are chosen, but don't interpret them as ''hard numbers''. | ||
== Test Results == | == Test Results == |
Revision as of 15:06, 28 July 2006
Introduction
A well made model will include several Resolution LODs that the game engine will switch in between.
How the engine determines which of the available LODs to use is a complex issue that involves several factors:
- View distance (how far the player is from the object he is looking at)
- Visible objects (how many objects are currently displayed on the screen)
- Video settings (visual quality, terrain detail, shadows, etc.)
- CPU load (how much processing power is left to handle visible objects)
To demonstrate the effect of these different parameters a series of tests have been made, and are documented below.
Disclaimer: Keep in mind that the numbers listed are only useful to demonstrate the interdependency of the different factors. They are not to be taken as absolutes, since they will vary from situation to situation. (i.e. if you reproduce this test on your system you will most likely receive different absolute numbers, since your hardware/software configuration will be different from the test setup.)
The results should give you some clues as to what kind of LODs make sense, and how they are chosen, but don't interpret them as hard numbers.
Test Results
The official BIS 5tTruck uses the following resolution LODs:
LOD | 0.75 | 1.50 | 3.00 | 5.00 | 7.00 | 9.00 |
---|---|---|---|---|---|---|
Points | 2409 | 1517 | 994 | 696 | 464 | 222 |
Faces | 1832 | 1096 | 555 | 331 | 191 | 91 |
If you test this on an empty map (desert), with just one truck visible, you will get the following switching distances:
0.75 | 1.50 | 3.00 | 5.00 | 7.00 | 9.00 |
---|---|---|---|---|---|
0 | 175 | 310 | 535 | >1000 | >1000 |
(Which means that LOD 0.75 will be used from 0-175 meters, LOD 1.50 from 175-310 meters, and so on.)
View distance isn't the only variable that comes into play though.
If, instead of one truck, you look at ten instead, you will get the following results:
0.75 | 1.50 | 3.00 | 5.00 | 7.00 | 9.00 |
---|---|---|---|---|---|
0 | 40 | 100 | 210 | 300 | 380 |
As you can see, the switching distances are significantly smaller.
Instead of switching to LOD 1.50 at a distance of 175 meters, with 10 trucks visible LOD 1.50 becomes active at a distance of 40 meters already!
If you tighten the whole range a bit (instead of going from 0.75 to 9.00 you go from 0.00 to 5.00), you will see that the lowest resolution LOD (5.0) becomes active at 190 meters already. (Whereas in the original setting the car wasn't even visible anymore at the highest LOD, as it was more than 1000 meters away.)
0.00 | 1.00 | 2.00 | 3.00 | 4.00 | 5.00 | |
---|---|---|---|---|---|---|
1 car | 0 | 40 | 80 | 115 | 155 | 190 |
10 cars' | 0 | 30 | 60 | 100 | 145 | 185 |
Game settings also come into play, when it comes to LOD selection, as you can see from the following example.
The first series was done with video settings set to 'High Detail', and the second one with 'Low Detail'.
Since in the 'Low Detail' setting fewer other objects/polygons are visible, model LODs are switched later:
hi-res | 1.00 | 2.00 | 3.00 | 4.00 | 5.00 | 6.00 |
---|---|---|---|---|---|---|
1 car | 0 | 80 | 140 | 180 | 230 | 280 |
10 cars | 0 | 50 | 100 | 130 | 200 | 235 |
lo res | 1.00 | 2.00 | 3.00 | 4.00 | 5.00 | 6.00 |
1 car | 90 | 205 | 300 | 380 | 460 | >1000 |
10 cars | 220 | 335 | 440 | 555 | >1000 | >1000 |
To demonstrate a very extreme setting, you will see that with LOD settings of 100 and more, the second LOD never even comes into play with a single vehicle, and even with 10 vehicles it only switches from the highest LOD to the second stage one at a distance of 520 meters:
0.00 | 100.00 | 200.00 | |
---|---|---|---|
1 car | 0 | >1000 | >1000 |
10 cars | 0 | 520 | >1000 |