main derived from none Example Source Header

Author: Dave Pape
11/01/01
05/02/03 Alex Hill - added --viewer option for distributed applications
06/28/05 Alex Hill - removed world reset call because reset is now done by ygParser
02/01/06 Alex Hill - transfered all messages duplicated by ygWorld there to reduce redundency
Revision: 07/01/06 Alex Hill - added logic to use CAVElib distribution

create ygWorld
distributed nodes must wait for the master to load scene and upload
all distributed nodes download at the same time
parse the downloaded database and load models
allow all distributed nodes to load scenes before connecting
all distributed nodes wait a different time to add their local root node
find root node
setup a secondary transparency bin that is rendered last
set the global lighting model to 2 sided and localized
 This is needed to keep it from crashing an Impact when the textures
      exceed texture memory 

printf("got message (%s)\n",message);
else
printf("WARNING: unrecognized command\n");
    Comments