Difference between revisions of "Draw distance"
Jump to navigation
Jump to search
m |
|||
Line 2: | Line 2: | ||
distance 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. | ||
− | 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. | + | 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. However it is recommend to create one, because the game may crash, if you forget to link the LOD object to another object. As long as the object has an LOD flag which is -1 the game searches for a collision. |
[[Category:Mapping]][[Category:Documentation]] | [[Category:Mapping]][[Category:Documentation]] |
Revision as of 16:35, 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. However it is recommend to create one, because the game may crash, if you forget to link the LOD object to another object. As long as the object has an LOD flag which is -1 the game searches for a collision.