Difference between revisions of "Draw distance"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
The '''draw distance''' is the radius (in [[unit]]s) from the camera in which the engine draws world objects. The usual distance of a map object is 150 to 300. The '''maximum draw distance''' of a (high detail) map object is 300. With values higher than 300 the object is still drawn, but is not [[collision file|solid]] anymore. Such values are mainly used for [[LOD]] objects, which have a much higher draw distance.
+
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 usually rendered for a distance between 50 and 300 [[unit]]s. [[LOD]] objects are rendered from 301 to 3000 [[unit]]s.
  
The draw distance value is defined in the [[IDE]].
+
In GTA III and Vice City, [[collision file|collision data]] for an object assigned a draw distance 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 17:58, 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 usually rendered for a distance between 50 and 300 units. LOD objects are rendered from 301 to 3000 units.

In GTA III and Vice City, collision data for an object assigned a draw distance greater than 300 is ignored by the engine. San Andreas' LOD system does not require collision at all.