- Timestamp:
- 12/29/06 10:28:00 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/System/Material/Simple/OSGSimpleMaterialBase.cpp
r439 r459 76 76 \ingroup GrpSystemMaterial 77 77 78 The simple material class. See \ref PageSystemMaterialSimpleMaterial 79 for adescription.78 The simple material class. See \ref PageSystemMaterialSimpleMaterial for a 79 description. 80 80 81 81 This material wraps the standard calls to glMaterial() in 82 OSG::SimpleMaterial::_sfAmbient, OSG::SimpleMaterial::_sfDiffuse, 83 OSG::SimpleMaterial::_sfEmission, OSG::SimpleMaterial::_sfSpecular, 84 OSG::SimpleMaterial::_sfShininess. In addition it supports transparency 85 (OSG::SimpleMaterial::_sfTransparency), can switch lighting 86 (OSG::SimpleMaterial::_sfLit) and the color material 82 OSG::SimpleMaterial::_sfAmbient, OSG::SimpleMaterial::_sfDiffuse, 83 OSG::SimpleMaterial::_sfEmission, OSG::SimpleMaterial::_sfSpecular, 84 OSG::SimpleMaterial::_sfShininess. In addition it supports transparency 85 (OSG::SimpleMaterial::_sfTransparency), can switch lighting 86 (OSG::SimpleMaterial::_sfLit) and the color material 87 87 (OSG::SimpleMaterial::_sfColorMaterial). 88 88 */ … … 95 95 The ambient color for the material. 96 96 */ 97 97 98 /*! \var Color3r SimpleMaterialBase::_sfDiffuse 98 99 The diffuse color for the material. 99 100 */ 101 100 102 /*! \var Color3r SimpleMaterialBase::_sfSpecular 101 103 The color used for the specular highlight on the object. 102 104 */ 105 103 106 /*! \var Real SimpleMaterialBase::_sfShininess 104 The shininess value to use when lighting the object. Higher values 105 equal smaller and brighter highlights. 107 The shininess value to use when lighting the object. Higher values equal smaller and brighter highlights. 106 108 */ 109 107 110 /*! \var Color3r SimpleMaterialBase::_sfEmission 108 111 109 112 */ 113 110 114 /*! \var Real SimpleMaterialBase::_sfTransparency 111 115 Defines how transparent objects are rendered with this material. 112 116 */ 117 113 118 /*! \var bool SimpleMaterialBase::_sfLit 114 119 115 120 */ 121 116 122 /*! \var GLenum SimpleMaterialBase::_sfColorMaterial 117 123 Defines which color material mode this material affects. 118 124 */ 125 119 126 120 127 void SimpleMaterialBase::classDescInserter(TypeObject &oType) … … 413 420 "\n", 414 421 "\\ingroup GrpSystemMaterial\n" 422 "\n" 415 423 "The simple material class. See \\ref PageSystemMaterialSimpleMaterial for a\n" 416 424 "description.\n" 425 "\n" 417 426 "This material wraps the standard calls to glMaterial() in\n" 418 427 "OSG::SimpleMaterial::_sfAmbient, OSG::SimpleMaterial::_sfDiffuse, \n" … … 595 604 } 596 605 #endif 606 607 597 608 598 609
