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
5b57cf19
Commit
5b57cf19
authored
Feb 21, 2017
by
Kai Westerkamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Node Transfom
parent
3cacd365
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
90 additions
and
60 deletions
+90
-60
Minimal_Default.umap
Content/MobileStarterContent/Maps/Minimal_Default.umap
+0
-0
Minimal_Default_BuiltData.uasset
...obileStarterContent/Maps/Minimal_Default_BuiltData.uasset
+0
-0
MasterTestProject.Build.cs
Source/MasterTestProject/MasterTestProject.Build.cs
+1
-1
ProceduralEntity.cpp
Source/MasterTestProject/ue4-assimp/ProceduralEntity.cpp
+82
-57
ProceduralEntity.h
Source/MasterTestProject/ue4-assimp/ProceduralEntity.h
+7
-2
No files found.
Content/MobileStarterContent/Maps/Minimal_Default.umap
View file @
5b57cf19
No preview for this file type
Content/MobileStarterContent/Maps/Minimal_Default_BuiltData.uasset
View file @
5b57cf19
No preview for this file type
Source/MasterTestProject/MasterTestProject.Build.cs
View file @
5b57cf19
...
@@ -20,7 +20,7 @@ public class MasterTestProject : ModuleRules
...
@@ -20,7 +20,7 @@ public class MasterTestProject : ModuleRules
public
MasterTestProject
(
TargetInfo
Target
)
public
MasterTestProject
(
TargetInfo
Target
)
{
{
PublicDependencyModuleNames
.
AddRange
(
new
string
[]
{
"Core"
,
"CoreUObject"
,
"Engine"
,
"InputCore"
,
"ImageWrapper"
,
"RawMesh"
,
"ProceduralMeshComponent"
});
PublicDependencyModuleNames
.
AddRange
(
new
string
[]
{
"Core"
,
"CoreUObject"
,
"Engine"
,
"InputCore"
,
"ImageWrapper"
,
"RawMesh"
,
"ProceduralMeshComponent"
});
PrivateDependencyModuleNames
.
AddRange
(
new
string
[]
{
});
PrivateDependencyModuleNames
.
AddRange
(
new
string
[]
{
});
...
...
Source/MasterTestProject/ue4-assimp/ProceduralEntity.cpp
View file @
5b57cf19
This diff is collapsed.
Click to expand it.
Source/MasterTestProject/ue4-assimp/ProceduralEntity.h
View file @
5b57cf19
...
@@ -46,6 +46,8 @@ public:
...
@@ -46,6 +46,8 @@ public:
UPROPERTY
(
EditAnywhere
,
BlueprintReadOnly
,
Category
=
"Materials"
)
UPROPERTY
(
EditAnywhere
,
BlueprintReadOnly
,
Category
=
"Materials"
)
TMap
<
int32
,
UMaterialInterface
*>
MaterialMap
;
TMap
<
int32
,
UMaterialInterface
*>
MaterialMap
;
UPROPERTY
(
EditAnywhere
,
BlueprintReadOnly
,
Category
=
"Materials"
)
UTexture2D
*
diffTexture
;
private
:
private
:
int32
_selectedVertex
;
int32
_selectedVertex
;
...
@@ -76,8 +78,8 @@ private:
...
@@ -76,8 +78,8 @@ private:
void ChangeAddModifier();
void ChangeAddModifier();
void ChangeVertex(FVector dv);*/
void ChangeVertex(FVector dv);*/
void
processMesh
(
aiMesh
*
mesh
,
const
aiScene
*
scene
);
void
processMesh
(
aiMesh
*
mesh
,
const
aiScene
*
scene
,
FMatrix
modelTransform
);
void
processNode
(
aiNode
*
node
,
const
aiScene
*
scene
);
void
processNode
(
aiNode
*
node
,
const
aiScene
*
scene
,
FMatrix
modelTransform
);
void
loadModel
(
std
::
string
path
);
void
loadModel
(
std
::
string
path
);
UMaterialInterface
*
GetMaterialForIndex
(
unsigned
int
index
,
const
aiScene
*
scene
);
UMaterialInterface
*
GetMaterialForIndex
(
unsigned
int
index
,
const
aiScene
*
scene
);
...
@@ -85,4 +87,6 @@ private:
...
@@ -85,4 +87,6 @@ private:
UTexture2D
*
LoadTexture2D
(
uint8
*
RawFileData
,
int32
lenght
,
EImageFormat
::
Type
Format
,
bool
&
IsValid
,
int32
&
Width
,
int32
&
Height
);
UTexture2D
*
LoadTexture2D
(
uint8
*
RawFileData
,
int32
lenght
,
EImageFormat
::
Type
Format
,
bool
&
IsValid
,
int32
&
Width
,
int32
&
Height
);
EImageFormat
::
Type
GetImageTypeByExtension
(
const
FString
&
extension
);
EImageFormat
::
Type
GetImageTypeByExtension
(
const
FString
&
extension
);
};
};
\ No newline at end of file
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