Fix the build.
parent
f76d77955d
commit
cc10967913
|
@ -990,6 +990,7 @@ MESSAGE(STATUS "Disabled exporter formats:${ASSIMP_EXPORTERS_DISABLED}")
|
|||
SET( assimp_src
|
||||
# Assimp Files
|
||||
${Core_SRCS}
|
||||
${CApi_SRCS}
|
||||
${Common_SRCS}
|
||||
${Logging_SRCS}
|
||||
${Exporter_SRCS}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
ply
|
||||
format ascii 1.0
|
||||
comment Created by Open Asset Import Library - http://assimp.sf.net (v4.1.3297435427)
|
||||
comment Created by Open Asset Import Library - http://assimp.sf.net (v4.1.4151146389)
|
||||
element vertex 8
|
||||
property float x
|
||||
property float y
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
---------------------------------------------------------------------------
|
||||
*/
|
||||
#include "UnitTestPCH.h"
|
||||
#include "Importer.h"
|
||||
#include "Common/Importer.h"
|
||||
#include "TestIOSystem.h"
|
||||
|
||||
using namespace ::Assimp;
|
||||
|
|
|
@ -41,11 +41,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
---------------------------------------------------------------------------
|
||||
*/
|
||||
#include "UnitTestPCH.h"
|
||||
#include "BlenderIntermediate.h"
|
||||
#include "./../include/assimp/camera.h"
|
||||
#include "./../include/assimp/light.h"
|
||||
#include "./../include/assimp/mesh.h"
|
||||
#include "./../include/assimp/texture.h"
|
||||
#include "Blender/BlenderIntermediate.h"
|
||||
#include <assimp/camera.h>
|
||||
#include <assimp/light.h>
|
||||
#include <assimp/mesh.h>
|
||||
#include <assimp/texture.h>
|
||||
|
||||
using namespace ::Assimp;
|
||||
using namespace ::Assimp::Blender;
|
||||
|
|
|
@ -48,7 +48,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include <assimp/scene.h>
|
||||
#include <assimp/postprocess.h>
|
||||
|
||||
#include "D3MFExporter.h"
|
||||
#include "3MF/D3MFExporter.h"
|
||||
|
||||
class utD3MFImporterExporter : public AbstractImportExportBase {
|
||||
public:
|
||||
|
|
|
@ -42,8 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
*/
|
||||
#include "UnitTestPCH.h"
|
||||
|
||||
#include <FindDegenerates.h>
|
||||
|
||||
#include "PostProcessing/FindDegenerates.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace Assimp;
|
||||
|
|
|
@ -42,9 +42,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
*/
|
||||
#include "UnitTestPCH.h"
|
||||
|
||||
#include <FindInvalidDataProcess.h>
|
||||
#include "../../include/assimp/mesh.h"
|
||||
|
||||
#include "PostProcessing/FindInvalidDataProcess.h"
|
||||
#include <assimp/mesh.h>
|
||||
|
||||
using namespace std;
|
||||
using namespace Assimp;
|
||||
|
@ -61,8 +60,7 @@ protected:
|
|||
};
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
void FindInvalidDataProcessTest::SetUp()
|
||||
{
|
||||
void FindInvalidDataProcessTest::SetUp() {
|
||||
ASSERT_TRUE( AI_MAX_NUMBER_OF_TEXTURECOORDS >= 3);
|
||||
|
||||
piProcess = new FindInvalidDataProcess();
|
||||
|
|
|
@ -41,7 +41,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
---------------------------------------------------------------------------
|
||||
*/
|
||||
#include "UnitTestPCH.h"
|
||||
#include <GenVertexNormalsProcess.h>
|
||||
|
||||
#include "PostProcessing/GenVertexNormalsProcess.h"
|
||||
|
||||
using namespace ::std;
|
||||
using namespace ::Assimp;
|
||||
|
|
|
@ -43,14 +43,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "UnitTestPCH.h"
|
||||
|
||||
#include <assimp/scene.h>
|
||||
#include <JoinVerticesProcess.h>
|
||||
|
||||
#include "PostProcessing/JoinVerticesProcess.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace Assimp;
|
||||
|
||||
class JoinVerticesTest : public ::testing::Test
|
||||
{
|
||||
class JoinVerticesTest : public ::testing::Test {
|
||||
public:
|
||||
virtual void SetUp();
|
||||
virtual void TearDown();
|
||||
|
|
|
@ -43,7 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "UnitTestPCH.h"
|
||||
|
||||
#include <assimp/scene.h>
|
||||
#include <LimitBoneWeightsProcess.h>
|
||||
#include "PostProcessing/LimitBoneWeightsProcess.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace Assimp;
|
||||
|
|
|
@ -43,13 +43,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "UnitTestPCH.h"
|
||||
|
||||
#include <assimp/scene.h>
|
||||
#include <MaterialSystem.h>
|
||||
#include "Material/MaterialSystem.h"
|
||||
|
||||
using namespace ::std;
|
||||
using namespace ::Assimp;
|
||||
|
||||
class MaterialSystemTest : public ::testing::Test
|
||||
{
|
||||
class MaterialSystemTest : public ::testing::Test {
|
||||
public:
|
||||
virtual void SetUp() { this->pcMat = new aiMaterial(); }
|
||||
virtual void TearDown() { delete this->pcMat; }
|
||||
|
|
|
@ -41,8 +41,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
---------------------------------------------------------------------------
|
||||
*/
|
||||
#include "UnitTestPCH.h"
|
||||
#include "ObjTools.h"
|
||||
#include "ObjFileParser.h"
|
||||
#include "Obj/ObjTools.h"
|
||||
#include "Obj/ObjFileParser.h"
|
||||
|
||||
using namespace ::Assimp;
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "UnitTestPCH.h"
|
||||
#include "SceneDiffer.h"
|
||||
#include "AbstractImportExportBase.h"
|
||||
#include "MMDImporter.h"
|
||||
#include "MMD/MMDImporter.h"
|
||||
|
||||
#include <assimp/Importer.hpp>
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "UnitTestPCH.h"
|
||||
|
||||
#include <assimp/scene.h>
|
||||
#include <PretransformVertices.h>
|
||||
#include "PostProcessing/PretransformVertices.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
|
|
|
@ -43,22 +43,18 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "UnitTestPCH.h"
|
||||
|
||||
#include <assimp/scene.h>
|
||||
#include <RemoveVCProcess.h>
|
||||
#include <MaterialSystem.h>
|
||||
|
||||
#include "PostProcessing/RemoveVCProcess.h"
|
||||
#include "Material/MaterialSystem.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace Assimp;
|
||||
|
||||
class RemoveVCProcessTest : public ::testing::Test
|
||||
{
|
||||
class RemoveVCProcessTest : public ::testing::Test {
|
||||
public:
|
||||
|
||||
virtual void SetUp();
|
||||
virtual void TearDown();
|
||||
|
||||
protected:
|
||||
|
||||
RemoveVCProcess* piProcess;
|
||||
aiScene* pScene;
|
||||
};
|
||||
|
|
|
@ -43,24 +43,19 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "UnitTestPCH.h"
|
||||
|
||||
#include <assimp/scene.h>
|
||||
#include <RemoveRedundantMaterials.h>
|
||||
#include <MaterialSystem.h>
|
||||
|
||||
#include "PostProcessing/RemoveRedundantMaterials.h"
|
||||
#include "Material/MaterialSystem.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace Assimp;
|
||||
|
||||
class RemoveRedundantMatsTest : public ::testing::Test
|
||||
{
|
||||
class RemoveRedundantMatsTest : public ::testing::Test {
|
||||
public:
|
||||
|
||||
virtual void SetUp();
|
||||
virtual void TearDown();
|
||||
|
||||
protected:
|
||||
|
||||
RemoveRedundantMatsProcess* piProcess;
|
||||
|
||||
aiScene* pcScene1;
|
||||
};
|
||||
|
||||
|
|
|
@ -41,7 +41,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
---------------------------------------------------------------------------
|
||||
*/
|
||||
#include "UnitTestPCH.h"
|
||||
#include "code/RemoveVCProcess.h"
|
||||
#include "PostProcessing/RemoveVCProcess.h"
|
||||
|
||||
#include <assimp/mesh.h>
|
||||
#include <assimp/scene.h>
|
||||
|
||||
|
|
|
@ -42,9 +42,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
*/
|
||||
#include "UnitTestPCH.h"
|
||||
|
||||
#include "SIBImporter.h"
|
||||
#include "SIB/SIBImporter.h"
|
||||
|
||||
#include <assimp/Importer.hpp>
|
||||
#include <assimp/postprocess.h>
|
||||
|
||||
#include "AbstractImportExportBase.h"
|
||||
|
||||
using namespace ::Assimp;
|
||||
|
|
|
@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
*/
|
||||
#include "UnitTestPCH.h"
|
||||
|
||||
#include "SMDLoader.h"
|
||||
#include "SMD/SMDLoader.h"
|
||||
#include <assimp/Importer.hpp>
|
||||
#include <assimp/postprocess.h>
|
||||
#include "AbstractImportExportBase.h"
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
---------------------------------------------------------------------------
|
||||
*/
|
||||
#include "UnitTestPCH.h"
|
||||
#include "ScaleProcess.h"
|
||||
#include "PostProcessing/ScaleProcess.h"
|
||||
#include "TestModelFactory.h"
|
||||
|
||||
namespace Assimp {
|
||||
|
|
|
@ -45,7 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include <assimp/mesh.h>
|
||||
#include <assimp/scene.h>
|
||||
#include <assimp/Importer.hpp>
|
||||
#include <ScenePreprocessor.h>
|
||||
#include "Common/ScenePreprocessor.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace Assimp;
|
||||
|
|
|
@ -43,21 +43,18 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "UnitTestPCH.h"
|
||||
|
||||
#include <assimp/scene.h>
|
||||
#include <BaseProcess.h>
|
||||
|
||||
#include "Common/BaseProcess.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace Assimp;
|
||||
|
||||
class SharedPPDataTest : public ::testing::Test
|
||||
{
|
||||
class SharedPPDataTest : public ::testing::Test {
|
||||
public:
|
||||
|
||||
virtual void SetUp();
|
||||
virtual void TearDown();
|
||||
|
||||
protected:
|
||||
|
||||
SharedPostProcessInfo* shared;
|
||||
};
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
#include "UnitTestPCH.h"
|
||||
|
||||
#include "simd.h"
|
||||
#include "Common/simd.h"
|
||||
|
||||
using namespace ::Assimp;
|
||||
|
||||
|
|
|
@ -43,29 +43,25 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "UnitTestPCH.h"
|
||||
|
||||
#include <assimp/scene.h>
|
||||
#include <ScenePreprocessor.h>
|
||||
#include <SortByPTypeProcess.h>
|
||||
#include "Common/ScenePreprocessor.h"
|
||||
#include "PostProcessing/SortByPTypeProcess.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace Assimp;
|
||||
|
||||
|
||||
class SortByPTypeProcessTest : public ::testing::Test
|
||||
{
|
||||
class SortByPTypeProcessTest : public ::testing::Test {
|
||||
public:
|
||||
|
||||
virtual void SetUp();
|
||||
virtual void TearDown();
|
||||
|
||||
protected:
|
||||
|
||||
SortByPTypeProcess* process1;
|
||||
aiScene* scene;
|
||||
};
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
static unsigned int num[10][4] =
|
||||
{
|
||||
static unsigned int num[10][4] = {
|
||||
{0,0,0,1000},
|
||||
{0,0,1000,0},
|
||||
{0,1000,0,0},
|
||||
|
|
|
@ -43,16 +43,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "UnitTestPCH.h"
|
||||
|
||||
#include <assimp/scene.h>
|
||||
#include <SplitLargeMeshes.h>
|
||||
|
||||
#include "PostProcessing/SplitLargeMeshes.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace Assimp;
|
||||
|
||||
class SplitLargeMeshesTest : public ::testing::Test
|
||||
{
|
||||
class SplitLargeMeshesTest : public ::testing::Test {
|
||||
public:
|
||||
|
||||
virtual void SetUp();
|
||||
virtual void TearDown();
|
||||
|
||||
|
|
|
@ -43,7 +43,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "UnitTestPCH.h"
|
||||
|
||||
#include <assimp/scene.h>
|
||||
#include <TriangulateProcess.h>
|
||||
|
||||
#include "PostProcessing/TriangulateProcess.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
|
|
|
@ -42,19 +42,16 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
*/
|
||||
#include "UnitTestPCH.h"
|
||||
|
||||
#include "assimp/types.h"
|
||||
#include "assimp/mesh.h"
|
||||
|
||||
#include <VertexTriangleAdjacency.h>
|
||||
#include <assimp/types.h>
|
||||
#include <assimp/mesh.h>
|
||||
|
||||
#include "Common/VertexTriangleAdjacency.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace Assimp;
|
||||
|
||||
class VTAdjacencyTest : public ::testing::Test
|
||||
{
|
||||
class VTAdjacencyTest : public ::testing::Test {
|
||||
protected:
|
||||
|
||||
void checkMesh(const aiMesh& mesh);
|
||||
};
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ const char* AICMD_MSG_CMPDUMP_HELP =
|
|||
"\tCompare two short dumps produced with \'assimp dump <..> -s\' for equality.\n"
|
||||
;
|
||||
|
||||
#include "../../code/assbin_chunks.h"
|
||||
#include "Common/assbin_chunks.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#include "generic_inserter.hpp"
|
||||
|
@ -62,7 +62,7 @@ const char* AICMD_MSG_CMPDUMP_HELP =
|
|||
#include <stack>
|
||||
#include <sstream>
|
||||
#include <iostream>
|
||||
#include "../../include/assimp/ai_assert.h"
|
||||
#include <assimp/ai_assert.h>
|
||||
|
||||
// get << for aiString
|
||||
template <typename char_t, typename traits_t>
|
||||
|
|
|
@ -46,7 +46,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
*/
|
||||
|
||||
#include "Main.h"
|
||||
#include "../code/ProcessHelper.h"
|
||||
#include "PostProcessing/ProcessHelper.h"
|
||||
|
||||
const char* AICMD_MSG_DUMP_HELP =
|
||||
"assimp dump <model> [<out>] [-b] [-s] [-z] [common parameters]\n"
|
||||
|
@ -59,7 +59,7 @@ const char* AICMD_MSG_DUMP_HELP =
|
|||
"\t -cfull Fires almost all post processing steps \n"
|
||||
;
|
||||
|
||||
#include "../../code/assbin_chunks.h"
|
||||
#include "Common/assbin_chunks.h"
|
||||
|
||||
FILE* out = NULL;
|
||||
bool shortened = false;
|
||||
|
|
|
@ -41,11 +41,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
#include "assimp_view.h"
|
||||
|
||||
#include "GenFaceNormalsProcess.h"
|
||||
#include "GenVertexNormalsProcess.h"
|
||||
#include "JoinVerticesProcess.h"
|
||||
#include "CalcTangentsProcess.h"
|
||||
#include "MakeVerboseFormat.h"
|
||||
#include "PostProcessing/GenFaceNormalsProcess.h"
|
||||
#include "PostProcessing/GenVertexNormalsProcess.h"
|
||||
#include "PostProcessing/JoinVerticesProcess.h"
|
||||
#include "PostProcessing/CalcTangentsProcess.h"
|
||||
#include "PostProcessing/MakeVerboseFormat.h"
|
||||
|
||||
namespace AssimpView {
|
||||
|
||||
|
|
|
@ -72,8 +72,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include <assimp/LogStream.hpp>
|
||||
#include <assimp/DefaultLogger.hpp>
|
||||
|
||||
|
||||
#include "../../code/MaterialSystem.h" // aiMaterial class
|
||||
#include "Material/MaterialSystem.h" // aiMaterial class
|
||||
#include <assimp/StringComparison.h> // ASSIMP_stricmp and ASSIMP_strincmp
|
||||
|
||||
#include <time.h>
|
||||
|
|
Loading…
Reference in New Issue