Difference between revisions of "LOD"
Prince-Link (talk | contribs) (→San Andreas & GTA IV) |
m |
||
Line 1: | Line 1: | ||
{{tutorial-stub}} | {{tutorial-stub}} | ||
− | '''LOD''' models are the ''' | + | '''LOD''' models are the low '''level of detail''' versions of the original models. This is what you see loaded far away. As you get closer to the LOD model, it should change to the original model if it has one. |
==How to== | ==How to== |
Revision as of 14:00, 12 December 2010
LOD models are the low level of detail versions of the original models. This is what you see loaded far away. As you get closer to the LOD model, it should change to the original model if it has one.
How to
To create an LOD version of the original model, create a model that has a lower level of detail than the original model, i.e. less polygons and smaller textures.
In the IDE file, the draw distance of the LOD object should be 301-3000 units. The draw distance of the original object should be 300 units or less.
Vice City
The LOD models should have the same name as the original model, except the first three letters of the LOD model are replaced by the letters "LOD
." Create an LOD version of the collision model of the original model. The LOD collision should be the same size as the original model's but with nothing in it.
San Andreas & GTA IV
In San Andreas and GTA IV LODs are linked within an indexing system. Basicly each line (or entry for binary file formats like binary IPLs or WPL/XPL) gets an index starting with 0 which represents the first line and increasing by one with each entry. The LOD index value for an non-LOD object defines the instance entry/line of an object which should be used as LOD object. To prevent display glitches make sure that the objects or at least their pivots of both (LOD and normal model) are placed near to each other.(example for GTA-IV: 69 would indicate that the lod model is placed on the map at line 69). In GTA-IV this has been changed a little bit. The LOD index in the Stream wpl files (the wpl's inside the IMG files) points to a line in the WPL outside the IMG. This means if the streamed WPL LOD index is 69 it points to line 69 in the wpl outside the IMG.
External Link
- GTAForums: Explanation of GTA SA LOD System - Post by steve-m explaining the LOD system for IPL files in GTA SA.
Grand Theft Auto IV | |
---|---|
File Formats | .dat • .gxt • .ide • .img • .ipl • .nod • .sco • .rpf • .rrr • .wad • .wbd/.wbn • .wdd • .wdr • .wft • .whm • .wpl • .wtd |
Documentation | Audio • Bink Video • Cryptography • Cutscenes • GXT Text • Image listing • Keycodes • Map Listing • Native functions • Paths • Radar Blips • Radio Stations • Saves • Scenarios • VTable • Weapons |
Tools | ASI Loader • ENBSeries • G-Texture • GIMS IV • Ingame WPL Editor • IV Needle • OpenIV • SparkIV • XLiveLess • WPL Manager • X Mod Installer Alice • C++ Script Hook • .NET Script Hook • Scocl |
Tutorials | Importing Textures with OpenIV • Importing Textures with SparkIV |
Modifications | GTA Connected • Gostown IV • Four Multiplayer • IV Multiplayer • CitizenMP:IV Reloaded |
Useful links | Community portal • Discussion forums • Modding forums • Mods on GTAGarage.com |