First pass of Collada ZAE support

Reads the manifest and loads the DAE
Does not yet load embedded textures
pull/2545/head
RichardTea 2019-07-12 11:29:35 +01:00
parent 2c7f607e7c
commit d64e1bde13
6 changed files with 1852 additions and 1721 deletions

File diff suppressed because it is too large Load Diff

View File

@ -94,7 +94,7 @@ public:
public:
/** Returns whether the class can handle the format of the given file.
* See BaseImporter::CanRead() for details. */
bool CanRead( const std::string& pFile, IOSystem* pIOHandler, bool checkSig) const;
bool CanRead( const std::string& pFile, IOSystem* pIOHandler, bool checkSig) const override;
protected:
/** Return importer meta information.

File diff suppressed because it is too large Load Diff

View File

@ -54,6 +54,7 @@
namespace Assimp
{
class ZipArchiveIOSystem;
// ------------------------------------------------------------------------------------------
/** Parser helper class for the Collada loader.
@ -75,6 +76,9 @@ namespace Assimp
/** Destructor */
~ColladaParser();
/** Attempts to read the ZAE manifest and returns the DAE to open */
static std::string ReadZaeManifest(ZipArchiveIOSystem &zip_archive);
/** Reads the contents of the file */
void ReadContents();

Binary file not shown.

Binary file not shown.