git-svn-id: svn://db.shs.com.ru/libs@42 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -46,10 +46,15 @@
|
||||
#define LOADER_3DS_CHUNK_MULTIPLIER 0x465B // [+]
|
||||
#define LOADER_3DS_CHUNK_CAMERA 0x4700 // [+] объект-камера
|
||||
#define LOADER_3DS_CHUNK_MATERIAL 0xAFFF // [-] материал
|
||||
#define LOADER_3DS_CHUNK_MATNAME 0xA000 // [+] название материала
|
||||
#define LOADER_3DS_CHUNK_TEXTURE 0xA200 // [-] текстура материала
|
||||
#define LOADER_3DS_CHUNK_MAPFILE 0xA300 // [+] имя файла текстуры
|
||||
|
||||
#define LOADER_3DS_CHUNK_MATERIAL_NAME 0xA000
|
||||
#define LOADER_3DS_CHUNK_AMBIENT_COLOR 0xA010
|
||||
#define LOADER_3DS_CHUNK_DIFFUSE_COLOR 0xA020
|
||||
#define LOADER_3DS_CHUNK_SPECULAR_COLOR 0xA030
|
||||
#define LOADER_3DS_CHUNK_TEXTURE_MAP 0xA200
|
||||
#define LOADER_3DS_CHUNK_BUMP_MAP 0xA230
|
||||
#define LOADER_3DS_CHUNK_REFLECTION_MAP 0xA220
|
||||
#define LOADER_3DS_CHUNK_MAP_FILENAME 0xA300
|
||||
#define LOADER_3DS_CHUNK_MAP_PARAMETERS 0xA351
|
||||
|
||||
namespace Loader3DS {
|
||||
#pragma pack(push, 1)
|
||||
@@ -65,6 +70,7 @@ namespace Loader3DS {
|
||||
};
|
||||
#pragma pack(pop)
|
||||
void init3DSMesh(GLObjectBase * o, const QVector<uint> & smooth);
|
||||
Material materialByName(const QVector<Material> & materials, const QString & name);
|
||||
}
|
||||
|
||||
GLObjectBase * loadFrom3DSFile(const QString & filepath, double scale = 1.0);
|
||||
|
||||
Reference in New Issue
Block a user