StelOBJ.hpp   StelOBJ.hpp 
skipping to change at line 99 skipping to change at line 99
//! Specular coefficient. Contains all -1 if not set by .mtl //! Specular coefficient. Contains all -1 if not set by .mtl
QVector3D Ks; QVector3D Ks;
//! Emissive coefficient. Contains all -1 if not set by .mtl //! Emissive coefficient. Contains all -1 if not set by .mtl
QVector3D Ke; QVector3D Ke;
//! Specular shininess (exponent), should be > 0. Default 8. 0 //! Specular shininess (exponent), should be > 0. Default 8. 0
float Ns; float Ns;
//! Alpha value (1 means opaque). -1 if not set by .mtl //! Alpha value (1 means opaque). -1 if not set by .mtl
//! Note that both the \c d and \c Tr statements can change this value //! Note that both the \c d and \c Tr statements can change this value
float d; float d;
//! The ambient map path //! The ambient texture map file path
QString map_Ka; QString map_Ka;
//! The diffuse map path //! The diffuse texture map file path
QString map_Kd; QString map_Kd;
//! The specular map path //! The specular texture map file path
QString map_Ks; QString map_Ks;
//! The emissive map path //! The emissive texture map file path
QString map_Ke; QString map_Ke;
//! The bump/normal map path //! The bump/normal texture map file path
QString map_bump; QString map_bump;
//! The height map path //! The height map texture file path
QString map_height; QString map_height;
typedef QMap<QString,QStringList> ParamsMap; typedef QMap<QString,QStringList> ParamsMap;
//! Contains all other material parameters that are not reco gnized by this class, //! Contains all other material parameters that are not reco gnized by this class,
//! but can still be accessed by class users this way. //! but can still be accessed by class users this way.
//! The key is the statement name (like are \c Ka, \c map_bu mp etc.), the value is the list of //! The key is the statement name (e.g. \c Ka, \c map_bump e tc.), the value is the list of
//! space-separated parameters to this statement //! space-separated parameters to this statement
ParamsMap additionalParams; ParamsMap additionalParams;
//! Loads all materials contained in an .mtl file. //! Loads all materials contained in an .mtl file.
//! Does not check if the texture map files exist. //! Does not check if the texture map files exist.
//! @return empty vector on error //! @return empty vector on error
static QVector<Material> loadFromFile(const QString& filenam e); static QVector<Material> loadFromFile(const QString& filenam e);
protected: protected:
//! Parses a bool from a parameter list (like included in th e ::additionalParams) //! Parses a bool from a parameter list (like included in th e ::additionalParams)
//! using the same logic StelOBJ uses internally //! using the same logic StelOBJ uses internally
 End of changes. 7 change blocks. 
7 lines changed or deleted 7 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/