OCCL: Difference between revisions
(contributions from myself) |
mNo edit summary |
||
Line 3: | Line 3: | ||
| description = Creates occlusion culling zones | | description = Creates occlusion culling zones | ||
}} | }} | ||
''' | '''<code>occl</code>''' is a section in the item placement file in [[Grand Theft Auto: Vice City]], [[Grand Theft Auto: San Andreas]], and [[Grand Theft Auto IV]]. It is used to create [[wikipedia:Hidden surface determination|occlusion culling]] zones that helps make the game run smoother in certain parts of the world. Since it is wasteful to render models behind opaque models, these zones can disable the rendering of any models that are directly behind the zones. | ||
== Format == | == Format == | ||
=== GTA Vice City === | === GTA Vice City === | ||
{{Pre| | |||
occl | occl | ||
MidX, MidY, BottomZ, WidthX, WidthY, Height, Rotation | MidX, MidY, BottomZ, WidthX, WidthY, Height, Rotation | ||
end | end | ||
}} | |||
The section is used in the <code>\data\occlu.ipl</code> file but it can be used in any IPL files. | The section is used in the <code>\data\occlu.ipl</code> file but it can be used in any IPL files. | ||
Line 33: | Line 33: | ||
=== GTA San Andreas === | === GTA San Andreas === | ||
The section is used in <code>\data\occluint.ipl</code>, <code>\data\occluLA.ipl</code>, <code>\data\occlusf.ipl</code>, and <code>\data\occluveg.ipl</code> files. | The section is used in <code>\data\occluint.ipl</code>, <code>\data\occluLA.ipl</code>, <code>\data\occlusf.ipl</code>, and <code>\data\occluveg.ipl</code> files. | ||
{{Pre| | |||
occl | occl | ||
MidX, MidY, BottomZ, WidthX, WidthY, Height, Rotation, , , | MidX, MidY, BottomZ, WidthX, WidthY, Height, Rotation, , , | ||
end | end | ||
}} | |||
{|class="wikitable center-col-1 center-col-2" | {|class="wikitable center-col-1 center-col-2" | ||
Line 64: | Line 64: | ||
== Statistics == | == Statistics == | ||
Total number of | Total number of <code>occl</code> entries in: | ||
:Vice City: 344 (max 350) | :GTA Vice City: 344 (max 350) | ||
Latest revision as of 03:22, 6 July 2018
Supported games: | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Short description: | Creates occlusion culling zones | ||||||||||||
IPL Sections:
|
occl
is a section in the item placement file in Grand Theft Auto: Vice City, Grand Theft Auto: San Andreas, and Grand Theft Auto IV. It is used to create occlusion culling zones that helps make the game run smoother in certain parts of the world. Since it is wasteful to render models behind opaque models, these zones can disable the rendering of any models that are directly behind the zones.
Format
GTA Vice City
occl MidX, MidY, BottomZ, WidthX, WidthY, Height, Rotation end
The section is used in the \data\occlu.ipl
file but it can be used in any IPL files.
GTA San Andreas
The section is used in \data\occluint.ipl
, \data\occluLA.ipl
, \data\occlusf.ipl
, and \data\occluveg.ipl
files.
occl MidX, MidY, BottomZ, WidthX, WidthY, Height, Rotation, , , end
Issues
When removing buildings from the world, you may see unexpected pop ups caused by existing occlusion zones. Deleting all the occlusion zones is the easiest solution. An example of this issue is the Liberty City project. Before this section was researched, the team experienced unexpected pop ups with models loading and unloading behind areas where Vice City's buildings used to be. Someone realized that the occlu.ipl
was the problem and deleted every line in that file. The pop ups disappeared and the issue was resolved.
Statistics
Total number of occl
entries in:
- GTA Vice City: 344 (max 350)