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
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
14 deletions
+33
-14
UnrealGLTFLoader
Plugins/UnrealGLTFLoader
+1
-1
MasterTestProject.Build.cs
Source/MasterTestProject/MasterTestProject.Build.cs
+16
-10
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
...
...
@@ -5,17 +5,23 @@ using UnrealBuildTool;
public
class
MasterTestProject
:
ModuleRules
{
public
MasterTestProject
(
TargetInfo
Target
)
{
PublicDependencyModuleNames
.
AddRange
(
new
string
[]
{
"Core"
,
"CoreUObject"
,
"Engine"
,
"InputCore"
});
{
PrivateDependencyModuleNames
.
AddRange
(
new
string
[]
{
});
PublicIncludePaths
.
AddRange
(
new
string
[]
{
"GLTFLoader/Public"
,
"GLTFLoader/Classes"
});
// Uncomment if you are using Slate UI
// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
// Uncomment if you are using online features
// PrivateDependencyModuleNames.Add("OnlineSubsystem");
PublicDependencyModuleNames
.
AddRange
(
new
string
[]
{
"Core"
,
"CoreUObject"
,
"Engine"
,
"InputCore"
,
"GLTFLoader"
});
// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
}
PrivateDependencyModuleNames
.
AddRange
(
new
string
[]
{
});
// Uncomment if you are using Slate UI
// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
// Uncomment if you are using online features
// PrivateDependencyModuleNames.Add("OnlineSubsystem");
// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
}
}
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