main.C File Reference

A test application for 3-D Console with rotating spot-lights. More...

#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< SpotLightArchon::SaiTestApps::Spot::redSpot
Ref< SpotLightArchon::SaiTestApps::Spot::greenSpot
Ref< SpotLightArchon::SaiTestApps::Spot::blueSpot


Detailed Description

A test application for 3-D Console with rotating spot-lights.

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.

See also:
Utilities::meshPolygon

Definition in file main.C.


Generated on Sun Jul 30 22:55:54 2006 for Archon by  doxygen 1.4.4