Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
MasterTestProjekt
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kai Westerkamp
MasterTestProjekt
Commits
e958cca2
Commit
e958cca2
authored
Feb 02, 2017
by
wester
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing exposed Loader
parent
ea7c4262
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
5 deletions
+24
-5
UnrealGLTFLoader
Plugins/UnrealGLTFLoader
+1
-1
MasterTestProject.Build.cs
Source/MasterTestProject/MasterTestProject.Build.cs
+7
-1
staticGLTFComponent.cpp
Source/MasterTestProject/staticGLTFComponent.cpp
+13
-2
staticGLTFComponent.h
Source/MasterTestProject/staticGLTFComponent.h
+3
-1
No files found.
UnrealGLTFLoader
@
6cdeb206
Subproject commit
110727d81d3f44dc58f8b2c09c8c27e4c1b6a3dd
Subproject commit
6cdeb206bf470f82109e4569d2d1b0f1015b9f19
Source/MasterTestProject/MasterTestProject.Build.cs
View file @
e958cca2
...
...
@@ -6,10 +6,16 @@ public class MasterTestProject : ModuleRules
{
public
MasterTestProject
(
TargetInfo
Target
)
{
PublicDependencyModuleNames
.
AddRange
(
new
string
[]
{
"Core"
,
"CoreUObject"
,
"Engine"
,
"InputCore"
});
PublicIncludePaths
.
AddRange
(
new
string
[]
{
"GLTFLoader/Public"
,
"GLTFLoader/Classes"
});
PublicDependencyModuleNames
.
AddRange
(
new
string
[]
{
"Core"
,
"CoreUObject"
,
"Engine"
,
"InputCore"
,
"GLTFLoader"
});
PrivateDependencyModuleNames
.
AddRange
(
new
string
[]
{
});
// Uncomment if you are using Slate UI
// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
...
...
Source/MasterTestProject/staticGLTFComponent.cpp
View file @
e958cca2
// Fill out your copyright notice in the Description page of Project Settings.
#include "MasterTestProject.h"
#include "GLTFMeshBuilder.h"
#include "GLTFLoader/Public/GLTFMeshBuilder.h"
//#include "GLTF/GLTFMeshBuilder.h"
#include "StaticGLTFComponent.h"
UStaticGLTFComponent
::
UStaticGLTFComponent
()
{
GLTFPath
=
TEXT
(
"H:/Repositories/MasterArbeit/glTF-Sample-Models/1.0/Duck/glTF/Duck.gltf"
);
//Loader = new tinygltf::TinyGLTFLoader;
//Scene = new tinygltf::Scene;
}
void
UStaticGLTFComponent
::
OnRegister
()
{
GLTFMeshBuilder
Builder
(
*
GLTFPath
);
UGLTFMeshBuilder
Builder
();
//std::string TempError;
//LoadSuccess = Loader->LoadFromFile((*Scene), TempError, ToStdString(FilePath));
//Error = ToFString(TempError);
//GEngine->AddOnScreenDebugMessage(-1, 5.0f, FColor::Yellow, TEXT("Hello World, this is FPSGameMode!"));
}
Source/MasterTestProject/staticGLTFComponent.h
View file @
e958cca2
...
...
@@ -25,6 +25,8 @@ public:
virtual
void
OnRegister
()
override
;
private
:
//tinygltf::TinyGLTFLoader* Loader;
//tinygltf::Scene* Scene;
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment