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