Changed the near clip plane to 0.1f regardless. Previously, it jumped
to 10m after takeoff, but that doesn't really make sense any more, especially if models are going to have interior views. Is there any real saving in pushing the near plane out anyway?
This commit is contained in:
parent
be99e1549a
commit
0618c2cae8
1 changed files with 1 additions and 8 deletions
|
@ -661,14 +661,7 @@ void fgRenderFrame( void ) {
|
|||
ssgSetFOV( globals->get_current_view()->get_h_fov(),
|
||||
globals->get_current_view()->get_v_fov() );
|
||||
|
||||
double agl = current_aircraft.fdm_state->get_Altitude() * SG_FEET_TO_METER
|
||||
- scenery.get_cur_elev();
|
||||
|
||||
if ( agl > 10.0 ) {
|
||||
ssgSetNearFar( 10.0f, 120000.0f );
|
||||
} else {
|
||||
ssgSetNearFar( 0.5f, 120000.0f );
|
||||
}
|
||||
ssgSetNearFar( 0.1f, 120000.0f );
|
||||
|
||||
current_model.update(0); // FIXME: use real delta time
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue