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

Revision as of 06:37, 24 February 2009

An object's draw distance is declared in the IDE 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 3 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.