55#ifndef _SO_ENVIRONMENT_
56#define _SO_ENVIRONMENT_
165 static float computeDensity(
float visibility,
bool squared);
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_NODE_HEADER(className)
Non-abstract classes have everything abstract classes have, plus a way to create an instance.
Performs a generic traversal of the scene graph.
SoEnvironment()
Creates an environment node with default settings.
SoSFColor ambientColor
Intensity and RGB color of ambient lighting (for Phong lighting).
@ FOG
Exponential increase in opacity.
@ HAZE
Linear increase in opacity with distance.
virtual void callback(SoCallbackAction *action)
SoSFFloat ambientIntensity
Intensity and RGB color of ambient lighting (for Phong lighting).
virtual void GLRender(SoGLRenderAction *action)
These virtual functions implement all of the actions for nodes, Most of the default implementations d...
Renders a scene graph using OpenGL.
Abstract base class for all database nodes.
Field containing an RGB color.
Field containing an enumerated value.
Field containing a floating-point value.
Field containing a three-dimensional vector.