Difference between revisions of "Draw distance"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
An object's '''draw distance''' is declared in the [[IDE|Item Definition]] files.  
+
An object's '''draw distance''' is declared in the [[IDE|Item Definition]] files. <br>
It tells the engine how far away any given object  should render with relevancy to  
+
It tells the engine how far away any given object  should render with <br>
the [[Player Position|player's position]]. Close range objects are rendered for a  
+
relevancy to the [[Player Position|player's position]]. Close range objects are rendered for a <br>
distance of up to 300 [[unit]]s. [[LOD]] objects are rendered from 301 to 3000 [[unit]]s.
+
distance up to 300 [[unit]]s. [[LOD]] objects are rendered from 301 to 3000 [[unit]]s. <br><br>
  
In GTA III and Vice City, [[collision file|collision data]] for an [[LOD]] object (draw  
+
In GTA III and Vice City, [[collision file|collision data]] for an [[LOD]] object (draw <br>
distance is greater than 300) is ignored by the engine. San Andreas' [[LOD]] system does
+
distance is greater than 300) is ignored by the engine. San Andreas' <br>
not require collision at all.
+
[[LOD]] models do not require collision at all.<br><br>
  
 
[[Category:Mapping]][[Category:Documentation]]
 
[[Category:Mapping]][[Category:Documentation]]

Revision as of 18:03, 4 February 2008

An object's draw distance is declared in the Item Definition files.
It tells the engine how far away any given object should render with
relevancy to the player's position. Close range objects are rendered for a
distance up to 300 units. LOD objects are rendered from 301 to 3000 units.

In GTA III and Vice City, collision data for an LOD object (draw
distance is greater than 300) is ignored by the engine. San Andreas'
LOD models do not require collision at all.