Gs farclipplane set: Difference between revisions
Jump to navigation
Jump to search
m (+cat) |
|||
(9 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
'''''void [[gs_farclipplane_set]](float plane)''''' | |||
Sets the distance of the far clipping plane in world units. | |||
The command Gs_farclipplane_set is really cool. | |||
The function gs_farclipplane_set is really cool. | |||
This sets the distance of the far clipping plane in world units. If you call <code>[[gs_farclipplane_set]](1000)</code>, then all polygons whose closest point is more than 1,000 world units (328.084 ft, or 100 m) away from the camera will be culled. The default distance of the far clipping plane is 10,000 world units (3,280.84 ft, or 1,000 m). | |||
(The maximum size of the visible world is 819.2 x 819.2 x 819.2 m, see [[OBD:OTLF|HERE]]. Therefore the default far clip distance imposes no restriction at all, unless the camera is taken far away from the center of the world.) | |||
[[Category:BSL functions]] |
Latest revision as of 16:33, 8 April 2023
void gs_farclipplane_set(float plane)
Sets the distance of the far clipping plane in world units.
The command Gs_farclipplane_set is really cool.
The function gs_farclipplane_set is really cool.
This sets the distance of the far clipping plane in world units. If you call gs_farclipplane_set(1000)
, then all polygons whose closest point is more than 1,000 world units (328.084 ft, or 100 m) away from the camera will be culled. The default distance of the far clipping plane is 10,000 world units (3,280.84 ft, or 1,000 m).
(The maximum size of the visible world is 819.2 x 819.2 x 819.2 m, see HERE. Therefore the default far clip distance imposes no restriction at all, unless the camera is taken far away from the center of the world.)