61 class H3DAPI_API
Fog :
66 Fog( Inst< SFSetBind > _set_bind = 0,
67 Inst< SFNode > _metadata = 0,
68 Inst< SFTime > _bindTime = 0,
69 Inst< SFBool > _isBound = 0,
70 Inst< SFColor > _color = 0,
71 Inst< SFString > _fogType = 0,
72 Inst< SFFloat > _visibilityRange = 0 );
80 virtual void renderFog();
87 Vec3f scaled_v = m * Vec3f( 0, 0, 1 );
88 scale_local_to_global = scaled_v.length();
Header file for X3DBindableNode, X3D scene-graph node.
Header file for X3DFogObject, X3D scene-graph node.
The Fog node provides a way to simulate atmospheric effects by blending objects with the colour speci...
Definition: Fog.h:63
static Fog * getActive()
Convenience function to get the top of the Fog stack.
Definition: Fog.h:75
virtual void traverseSG(TraverseInfo &ti)
Traverse the scenegraph.
Definition: Fog.h:85
H3DFloat scale_local_to_global
The scaling factor from local to global space.
Definition: Fog.h:95
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: Fog.h:92
TraverseInfo is a structure that is passed along when traversing the scene graph.
Definition: TraverseInfo.h:57
const Matrix4f & getAccForwardMatrix()
Get the accumulated forward transformation matrix, i.e.
Definition: TraverseInfo.h:363
X3DBindableNode is the abstract base type for all bindable children nodes, including Background,...
Definition: X3DBindableNode.h:108
static X3DBindableNode * getActive(const string &bindable_stack_name)
Returns the active bindable instance, i.e.
Definition: X3DBindableNode.h:149
X3DFogObject is the abstract type that describes a node that influences the lighting equation through...
Definition: X3DFogObject.h:41
H3D API namespace.
Definition: Anchor.h:38
The H3DNodeDatabase contains a mapping between a name of a Node and the constructor for the Node with...
Definition: H3DNodeDatabase.h:194