#include <iostream>
#include <archon/math/vector.H>
#include <archon/util/time.H>
#include <archon/util/thread.H>
#include <archon/util/ref.H>
#include <archon/util/options.H>
#include <archon/util/polygon_mesher.H>
#include <archon/x3d/proxy/exception.H>
#include <archon/x3d/proxy/proxy.H>
Include dependency graph for main.C:
Go to the source code of this file.
Namespaces | |
namespace | Archon |
namespace | Archon::SaiTestApps |
namespace | Archon::SaiTestApps::Spot |
Functions | |
void | Archon::SaiTestApps::Spot::toggleRed (Time) |
void | Archon::SaiTestApps::Spot::toggleGreen (Time) |
void | Archon::SaiTestApps::Spot::toggleBlue (Time) |
int | Archon::SaiTestApps::Spot::main (int argc, const char *argv[]) |
int | main (int argc, const char *argv[]) throw () |
Variables | |
Ref< SpotLight > | Archon::SaiTestApps::Spot::redSpot |
Ref< SpotLight > | Archon::SaiTestApps::Spot::greenSpot |
Ref< SpotLight > | Archon::SaiTestApps::Spot::blueSpot |
It illustrates how events can be routed from the scene to the application, ie. when clicking of the spot lights.
It also illustrates how it's somtimes easier to generate geometry rather than specifying it manually, ie. the floor consists of a dense mesh generated as a quadrilateralization of a circle. It would obviously have been a cumbersome task to type in all the vertices of this mesh.
Definition in file main.C.