#include <projtexShader.h>
#include <spotlightShader.h>
#include <projtexShadower.h>
#include <planarReflector.h>
#include <spheretexReflector.h>
#include <spheretexHighlighter.h>
#include <outlineShader.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 <transform2sg.h>
#include <look_at.h>
#include <perspectiveLens.h>
#include <geomLine.h>
Go to the source code of this file.
Compounds | |
class | BaseViz |
class | Oldviz |
class | Tiledviz |
class | Viztex |
Defines | |
#define | DISPLAY_TEXPROJFRUST |
#define | DISPLAY_TEXPROJSPOTFRUST |
#define | DISPLAY_SHAFT |
Functions | |
Configure (min_shader) | |
ConfigureFn (min_shader) | |
PT (LensNode) tex_proj | |
Allocates a new Lens just like this one. | |
PT (Trackball) tex_proj_trackball | |
PT (ProjtexShader) proj_shader | |
PT (Spotlight) tex_proj_spot | |
PT (ProjtexShadower) proj_shadow | |
PT (PlanarReflector) preflect | |
PT (SpheretexShader) spheretex | |
PT (SpheretexHighlighter) highlight | |
PT (SpheretexReflector) sreflect | |
PT (OutlineShader) outline_shader | |
PT (LightTransition) light_transition | |
PT (GeomNode) geomnode | |
Returns a Geom that renders the particular glyph. | |
PT (MouseAndKeyboard) mak | |
void | set_alt_trackball (Node *trackball) |
int | framework_main (int argc, char *argv[]) |
PT (GraphicsWindow) main_win | |
Creates a new window on the pipe, if possible. | |
void | shader_display_func (void) |
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_e (CPT_Event) |
Toggle sphere texture. | |
void | event_h (CPT_Event) |
Toggle sphere texture highlight. | |
void | event_m (CPT_Event) |
Toggle sphere texture reflector. | |
void | event_o (CPT_Event) |
Toggle outline shader. | |
void | setup_projtex (void) |
void | setup_spotlight (void) |
void | setup_planar (void) |
void | setup_projshadow (void) |
void | setup_vizes (void) |
void | min_shader_keys (EventHandler &eh) |
Set event handlers for the various keys needed, and do any initialization necessary. | |
int | main (int argc, char *argv[]) |
Variables | |
ShaderTransition | shader_trans |
RenderRelation * | room_arc |
RenderRelation * | spot_arc |
RenderRelation * | jack_arc |
RenderRelation * | camera_model_arc |
RenderRelation * | smiley_arc |
PT_NamedNode | render |
NodeAttributes | initial_state |
RenderRelation * | first_arc |
PT_NamedNode | lights |
PT_NamedNode | root |
PT_NamedNode | cameras |
void(* | extra_display_func )() |
void(* | define_keys )(EventHandler &) |
LPoint3f | center_pos = LPoint3f::origin() |
Transform2SG * | tball2cam |
Texture * | tex |
Definition in file min_shader.cxx.
|
|
|
|
|
|
|
|
|
Definition at line 72 of file min_shader.cxx. References room_arc, and shader_trans. |
|
Toggle projected shadows.
Definition at line 440 of file min_shader.cxx. References room_arc, set_alt_trackball(), and set_shader(). |
|
Toggle sphere texture.
Definition at line 491 of file min_shader.cxx. References clear_shader(), jack_arc, and set_shader(). |
|
Toggle sphere texture highlight.
Definition at line 515 of file min_shader.cxx. References clear_shader(), and jack_arc. |
|
Toggle sphere texture reflector.
Definition at line 536 of file min_shader.cxx. |
|
Toggle outline shader.
Definition at line 558 of file min_shader.cxx. References center_pos, and tball2cam. |
|
Toggle the projective texture being on and off.
Definition at line 385 of file min_shader.cxx. |
|
Toggle planar reflection.
Definition at line 467 of file min_shader.cxx. References clear_shader(), jack_arc, and set_shader(). |
|
Toggle the spotlight being on and off.
Definition at line 415 of file min_shader.cxx. |
|
|
|
Definition at line 859 of file min_shader.cxx. |
|
Set event handlers for the various keys needed, and do any initialization necessary.
Definition at line 764 of file min_shader.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 691 of file min_shader.cxx. References Shader::get_viz(), and PT. |
|
Definition at line 707 of file min_shader.cxx. |
|
Definition at line 578 of file min_shader.cxx. |
|
Definition at line 628 of file min_shader.cxx. References Colorf. |
|
Definition at line 729 of file min_shader.cxx. References tex. |
|
Definition at line 369 of file min_shader.cxx. |
|
Definition at line 101 of file min_shader.cxx. |
|
Definition at line 113 of file min_shader.cxx. |
|
Definition at line 125 of file min_shader.cxx. Referenced by event_o(), and shader_keys(). |
|
Definition at line 120 of file min_shader.cxx. |
|
Definition at line 119 of file min_shader.cxx. |
|
Definition at line 109 of file min_shader.cxx. |
|
Definition at line 108 of file min_shader.cxx. |
|
Definition at line 100 of file min_shader.cxx. Referenced by event_e(), event_h(), event_p(), and event_r(). |
|
Definition at line 110 of file min_shader.cxx. |
|
Definition at line 107 of file min_shader.cxx. |
|
Definition at line 98 of file min_shader.cxx. |
|
Definition at line 111 of file min_shader.cxx. |
|
Definition at line 96 of file min_shader.cxx. |
|
Definition at line 102 of file min_shader.cxx. |
|
Definition at line 99 of file min_shader.cxx. |
|
Definition at line 126 of file min_shader.cxx. Referenced by WindowFramework::enable_keyboard(), event_o(), herc_keys(), setup_shaders(), and shader_keys(). |
|