#include <projtexShader.h>
#include <spotlightShader.h>
#include <projtexShadower.h>
#include <planarReflector.h>
#include <chancfg.h>
#include <texture.h>
#include <texturePool.h>
#include <textureTransition.h>
#include <shaderTransition.h>
#include <lightTransition.h>
#include <transformTransition.h>
#include <colorBlendTransition.h>
#include <light.h>
#include <spotlight.h>
#include <pt_NamedNode.h>
#include <geomNode.h>
#include <renderRelation.h>
#include <nodeRelation.h>
#include <dataRelation.h>
#include <dconfig.h>
#include <framework.h>
#include <loader.h>
#include <eventHandler.h>
#include <geomLine.h>
#include <transform2sg.h>
#include <look_at.h>
#include <perspectiveLens.h>
#include <get_rel_pos.h>
#include <planarSlider.h>
#include <mouse.h>
#include <animControl.h>
#include <animControlCollection.h>
#include <auto_bind.h>
Go to the source code of this file.
Functions | |
Configure (min_herc) | |
ConfigureFn (min_herc) | |
PT (LensNode) tex_proj | |
Allocates a new Lens just like this one. | |
PT (Trackball) tex_proj_trackball | |
PT (ProjtexShader) proj_shader | |
PT (ProjtexShadower) proj_shadow | |
PT (PlanarReflector) preflect | |
PT (GeomNode) proj_geom_node | |
Returns a Geom that renders the particular glyph. | |
PT (Spotlight) tex_proj_spot | |
PT (PlanarSlider) ball_slider | |
PT (MouseAndKeyboard) mak | |
void | set_alt_trackball (Node *trackball) |
PT (GraphicsWindow) main_win | |
Creates a new window on the pipe, if possible. | |
int | framework_main (int argc, char *argv[]) |
void | herc_overrides_func (ChanCfgOverrides &override, std::string &) |
void | herc_idle () |
void | event_p (CPT_Event) |
Toggle the projective texture being on and off. | |
void | event_s (CPT_Event) |
Toggle the spotlight being on and off. | |
void | event_d (CPT_Event) |
Toggle projected shadows. | |
void | event_r (CPT_Event) |
Toggle planar reflection. | |
void | event_z (CPT_Event) |
void | event_Z (CPT_Event) |
void | herc_keys (EventHandler &eh) |
int | main (int argc, char *argv[]) |
Variables | |
PT_NamedNode | spot_shaft |
PT_NamedNode | herc |
PT_NamedNode | ball |
PT_NamedNode | hide_ball |
ShaderTransition | shader_trans |
bool | follow_ball |
RenderRelation * | room_arc |
RenderRelation * | spot_arc |
RenderRelation * | ball_arc |
RenderRelation * | hide_ball_arc |
RenderRelation * | herc_arc |
RenderRelation * | herc_rot_arc |
RenderRelation * | camera_model_arc |
PT_NamedNode | render |
NodeAttributes | initial_state |
PT_NamedNode | lights |
PT_NamedNode | egg_root |
PT_NamedNode | cameras |
void(* | extra_display_func )() |
void(* | define_keys )(EventHandler &) |
void(* | extra_overrides_func )(ChanCfgOverrides &, std::string &) |
void(* | additional_idle )() |
Definition in file min_herc.cxx.
|
|
|
Definition at line 78 of file min_herc.cxx. References herc, and spot_shaft. |
|
Toggle projected shadows.
Definition at line 219 of file min_herc.cxx. References clear_shader(), NULL, room_arc, and set_alt_trackball(). |
|
Toggle the projective texture being on and off.
Definition at line 167 of file min_herc.cxx. References ball_arc, clear_shader(), herc_arc, NULL, room_arc, and set_alt_trackball(). |
|
Toggle planar reflection.
Definition at line 235 of file min_herc.cxx. References clear_shader(), and room_arc. |
|
Toggle the spotlight being on and off.
Definition at line 194 of file min_herc.cxx. References ball_arc, clear_shader(), herc_arc, NULL, room_arc, set_alt_trackball(), and spot_shaft. |
|
Definition at line 255 of file min_herc.cxx. References hide_ball_arc. |
|
Definition at line 250 of file min_herc.cxx. |
|
|
|
Definition at line 135 of file min_herc.cxx. References ball, ClockObject::get_dt(), ClockObject::get_global_clock(), herc, herc_arc, herc_rot_arc, length(), and look_at(). |
|
Definition at line 268 of file min_herc.cxx. References additional_idle, ball, ball_arc, camera_model, camera_model_arc, follow_ball, geomnode, herc, herc_arc, herc_idle(), herc_rot_arc, hide_ball, hide_ball_arc, loader, NULL, room, room_arc, root, spot_arc, spot_shaft, tball2cam, and tex. |
|
Definition at line 128 of file min_herc.cxx. |
|
Definition at line 443 of file min_herc.cxx. |
|
Creates a new window on the pipe, if possible.
|
|
|
|
|
|
|
|
Returns a Geom that renders the particular glyph. This generates and returns a new GeomNode but does not automatically parent it to the ProjectionScreen node; see regenerate_screen(). The specified projector need not be the same as the projector given to the ProjectionScreen with set_projector() (although this is often what you want). num_x_verts and num_y_verts specify the number of vertices to make in the grid across the horizontal and vertical dimension of the projector, respectively; distance represents the approximate distance of the screen from the lens center. Definition at line 237 of file projectionScreen.cxx. |
|
|
|
|
|
|
|
|
|
Allocates a new Lens just like this one.
Definition at line 41 of file cylindricalLens.cxx. |
|
|
|
Definition at line 126 of file min_herc.cxx. |
|
Definition at line 90 of file min_herc.cxx. |
|
Definition at line 104 of file min_herc.cxx. |
|
Definition at line 108 of file min_herc.cxx. |
|
Definition at line 115 of file min_herc.cxx. |
|
Definition at line 124 of file min_herc.cxx. |
|
Definition at line 113 of file min_herc.cxx. |
|
Definition at line 123 of file min_herc.cxx. |
|
Definition at line 125 of file min_herc.cxx. |
|
Definition at line 100 of file min_herc.cxx. |
|
Definition at line 89 of file min_herc.cxx. |
|
Definition at line 106 of file min_herc.cxx. |
|
Definition at line 107 of file min_herc.cxx. |
|
Definition at line 91 of file min_herc.cxx. |
|
Definition at line 105 of file min_herc.cxx. |
|
Definition at line 111 of file min_herc.cxx. |
|
Definition at line 112 of file min_herc.cxx. |
|
Definition at line 110 of file min_herc.cxx. |
|
Definition at line 102 of file min_herc.cxx. |
|
Definition at line 93 of file min_herc.cxx. |
|
Definition at line 103 of file min_herc.cxx. |
|
Definition at line 87 of file min_herc.cxx. |