Browse Source

Add the skeleton for the new GLTF importer

Panagiotis Christopoulos Charitos 6 years ago
parent
commit
2eb8ce0319

+ 1 - 1
thirdparty

@@ -1 +1 @@
-Subproject commit 174bad7eb14d570dcca37097c25174b207c35a4a
+Subproject commit 1b6ed99944f741db13dedc24f3a0c31c6ce3e318

+ 7 - 0
tools/gltf_importer/CMakeLists.txt

@@ -0,0 +1,7 @@
+include_directories("../../src")
+
+file(GLOB_RECURSE SOURCES *.cpp)
+
+add_executable(gltf_exporter_2 ${SOURCES})
+target_link_libraries(gltf_exporter_2 anki)
+installExecutable(gltf_exporter_2)

+ 4 - 0
tools/gltf_importer/CgltfImpl.cpp

@@ -0,0 +1,4 @@
+// Copyright (C) 2009-2019, Panagiotis Christopoulos Charitos and contributors.
+// All rights reserved.
+// Code licensed under the BSD License.
+// http://www.anki3d.org/LICENSE

+ 11 - 0
tools/gltf_importer/Importer.cpp

@@ -0,0 +1,11 @@
+// Copyright (C) 2009-2019, Panagiotis Christopoulos Charitos and contributors.
+// All rights reserved.
+// Code licensed under the BSD License.
+// http://www.anki3d.org/LICENSE
+
+#include "Importer.h"
+
+namespace anki
+{
+
+} // end namespace anki

+ 18 - 0
tools/gltf_importer/Importer.h

@@ -0,0 +1,18 @@
+// Copyright (C) 2009-2019, Panagiotis Christopoulos Charitos and contributors.
+// All rights reserved.
+// Code licensed under the BSD License.
+// http://www.anki3d.org/LICENSE
+
+#pragma once
+
+#include <src/anki/AnKi.h>
+#include <tinygltf/tiny_gltf.h>
+
+namespace anki
+{
+
+class Importer
+{
+};
+
+} // end namespace anki

+ 11 - 0
tools/gltf_importer/Main.cpp

@@ -0,0 +1,11 @@
+// Copyright (C) 2009-2019, Panagiotis Christopoulos Charitos and contributors.
+// All rights reserved.
+// Code licensed under the BSD License.
+// http://www.anki3d.org/LICENSE
+
+#include "Exporter.h"
+
+int main(int argc, char** argv)
+{
+	return 0;
+}