Graphics.PrettyDougStartup - lordmundi/wikidoctest GitHub Wiki

Pretty Doug Startup

Intro

This script wraps the run_graphics script and formats the output. Anything (like errors) that the wrapper doesn't recognized get printed to the screen.

Setup

% cp [rg.tcl][1] ~/bin ; # If you don't put it in ~/bin, you need to change the top line of rg.tcl
 % cd ~/bin
 % ln -s rg.tcl rg ; # I like to keep the *.tcl extension, but hate to type it
 % rehash

Try It

% rg

Example Output

sinistar|doug% rg
Files
                Type             Path
               -----             -----
             package            /users/vetter/doug/bin_Linux_FC3/../eng_graph.pkg
          base-cache            /users/vetter/doug/bin_Linux_FC3/../cache/eng_graph.base
               cache            /users/vetter/doug/bin_Linux_FC3/../cache/eng_graph.update
           basestate            /users/vetter/doug/states/BASE_CEV
           plugindir            /users/vetter/doug/bin_Linux_FC3/../mapplugin_Linux_FC3
             cachdir            /users/vetter/doug/bin_Linux_FC3/../gisdata



Plugins
        dsp_mapservice
        dsp_ssmloader
        dsp_hslloader
        dsp_acloader
        dsp_fltloader
        dsp_state
        dsp_script
        dsp_dcomm_tc
        dsp_cctv
        dsp_ideal
        dsp_canvas
        dsp_drawcanvas
        dsp_overlays
        dsp_simdata
        dsp_jpegsave
        dsp_timeit
        dsp_trackcam
        dsp_speedtest
        dsp_planet2



Maps
                Name   N-blocks    N-tiles
               -----      -----      -----
            moon.map          3       2636
        moon_elv.map         41      41449
           earth.map         29      29050
     earth_cloud.map          1        640
       earth_elv.map         63      64136



Stats
                   Description        Value
                         -----        -----
         Number of scene nodes          461
                  Screen width         3200
                 Screen height         1200
                  Largest geom       335000
                  Unique verts      4083906
                Unique normals      4083906
                    Unique uvs       300421
             Nodes with models          157
                 Models loaded          262
            Triangles in scene      2592488
           Avg triangles/strip         3.38
               Avg geoms/model        11.80
                     Load time         2.08
ExitPlugin=dsp_state
ExitPlugin=dsp_dcomm_tc
ExitPlugin=dsp_canvas
ExitPlugin=dsp_drawcanvas
ExitPlugin=dsp_planet2