From: curt Date: Wed, 30 Jun 1999 00:25:13 +0000 (+0000) Subject: Ssg tweaks. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=35dc68a0d09afd4cb503e79cfbeb361969abcf3c;p=flightgear.git Ssg tweaks. --- diff --git a/src/Main/3dfx.sh b/src/Main/3dfx.sh index 0e7b718be..ec61f49be 100755 --- a/src/Main/3dfx.sh +++ b/src/Main/3dfx.sh @@ -1,6 +1,6 @@ #!/bin/sh -if [ $1 = "--full" ]; then +if [ "x$1" = "x--full" ]; then echo "Running full screen ..." shift WINDOW=NO diff --git a/src/Main/main.cxx b/src/Main/main.cxx index a072216fe..19d796e1b 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -378,7 +378,7 @@ static void fgRenderFrame( void ) { // xglMaterialfv (GL_FRONT, GL_DIFFUSE, white); } - global_tile_mgr.render(); + // global_tile_mgr.render(); // ssg test @@ -425,7 +425,8 @@ static void fgRenderFrame( void ) { sgMat4 sgVIEW; sgMultMat4( sgVIEW, current_view.sgVIEW, sgTRANS ); ssgSetCamera( sgVIEW ); - // ssgSetCamera( current_view.sgVIEW ); + + global_tile_mgr.prep_ssg_nodes(); ssgCullAndDraw( scene ); xglDisable( GL_TEXTURE_2D );