30 osg::ref_ptr<osg::Light> m_osgLight;
31 osg::ref_ptr<osg::LightSource> m_osgLightSource;
33 virtual void SetThisPointers();
34 virtual void CreateGraphicsGeometry();
36 virtual void SetupLighting();
37 virtual void SetAttenuation();
38 virtual int GetGlLight();
44 virtual void Enabled(
bool bVal);
46 virtual void Position(CStdFPoint &oPoint,
bool bUseScaling =
true,
bool bFireChangeEvent =
false,
bool bUpdateMatrix =
true);
47 virtual void Ambient(CStdColor &aryColor);
48 virtual void Diffuse(CStdColor &aryColor);
49 virtual void Specular(CStdColor &aryColor);
51 virtual osg::MatrixTransform *ParentOSG();
53 virtual void SetupGraphics();
54 virtual void DeleteGraphics();
55 virtual void SetupPhysics() {};
56 virtual void DeletePhysics(
bool bIncludeChildren) {};
58 virtual void Create();
59 virtual void ResetSimulation();
60 virtual void Physics_Resize();
61 virtual void Physics_SetColor();
Base class for the light object.
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
Vortex physical structure implementation.