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

Revision as of 18:01, 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 of 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 system does not require collision at all.