From 35dc68a0d09afd4cb503e79cfbeb361969abcf3c Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 30 Jun 1999 00:25:13 +0000 Subject: [PATCH] Ssg tweaks. --- src/Main/3dfx.sh | 2 +- src/Main/main.cxx | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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 );