13#ifndef OSGUTIL_HALFWAYMAPGENERATOR_
14#define OSGUTIL_HALFWAYMAPGENERATOR_
Vec3f Vec3
Definition Vec3:21
Vec4f Vec4
Definition Vec4:21
The osgUtil library provides general purpose utility classes such as update, cull and draw traverses,...
Definition NodeVisitor:25
Copy Op(erator) used to control whether shallow or deep copy is used during copy construction and clo...
Definition CopyOp:41
value_type length() const
Length of the vector = sqrt( vec .
Definition Vec3f:176
CubeMapGenerator(int texture_size=64)
static osg::Vec4 vector_to_color(const osg::Vec3 &vec)
Definition CubeMapGenerator:110
virtual ~HalfWayMapGenerator()
Definition HalfWayMapGenerator:34
HalfWayMapGenerator(const HalfWayMapGenerator ©, const osg::CopyOp ©op)
HalfWayMapGenerator & operator=(const HalfWayMapGenerator &)
Definition HalfWayMapGenerator:35
HalfWayMapGenerator(const osg::Vec3 &light_direction, int texture_size=64)
virtual osg::Vec4 compute_color(const osg::Vec3 &R) const
Override this method to define how colors are computed.
Definition HalfWayMapGenerator:45
#define OSGUTIL_EXPORT
Definition Export:40