GarageGames/Torque3D — pull request #909 by Winterleaf (2014-11-06 13:32:03+00:00)
Title: Client side Far Clipping adjuster, Client side scene culling and fixing the hitch when players zoom out after loading in.

I couldn't create separate pulls due to the way these features are inter-dependant.

First, I've added Far Clipping Client culling to the scene. In my benchmarks it increases framerate by 5-10 fps in heavily populated zones.
I've added a new global TorqueScript Variable $pref::Camera::FarDistance to allow easy setting and getting of the clipping distance.
I also added it to the Options Dialog for in game use.
The max value the Far Clipping Distance can be is the max Viewable distance defined in the mission.

With this patch, I've also included a fix for the hitching for when players zoom out for the first time or when they enter a heavily populated area.
The idea is to load all LOD's of all Shapebase and Static objects into the video card before the first render. This removes the hitch players
see when they scroll out after loading into the game.