Skip to content

Commit a0010df

Browse files
committed
commit cowboy model for unit test
1 parent 13dc528 commit a0010df

File tree

11 files changed

+163
-1
lines changed

11 files changed

+163
-1
lines changed

Assets/FbxExporters/Editor/UnitTests/ModelExporterTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ private void CompareCameraValues(Camera camera, Camera fbxCamera, float delta=0.
382382
public void TestSkinnedMeshExport(){
383383
// for now use this cowboy taken from the asset store as the test file
384384
// TODO: find a better/simpler test file
385-
var fbxPath = "Cowboy/3D assets/Cowboy/cowboyMidPoly(riged).fbx";
385+
var fbxPath = "FbxExporters/Editor/UnitTests/Models/Cowboy/cowboyMidPoly(riged).fbx";
386386

387387
// add fbx to scene
388388
GameObject originalFbxObj = AssetDatabase.LoadMainAssetAtPath("Assets/" + fbxPath) as GameObject;
169 KB
Loading
3.62 KB
Loading
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!21 &2100000
4+
Material:
5+
serializedVersion: 6
6+
m_ObjectHideFlags: 0
7+
m_PrefabParentObject: {fileID: 0}
8+
m_PrefabInternal: {fileID: 0}
9+
m_Name: Body
10+
m_Shader: {fileID: 45, guid: 0000000000000000f000000000000000, type: 0}
11+
m_ShaderKeywords: _METALLICGLOSSMAP _NORMALMAP _SPECGLOSSMAP
12+
m_LightmapFlags: 4
13+
m_EnableInstancingVariants: 0
14+
m_DoubleSidedGI: 0
15+
m_CustomRenderQueue: -1
16+
stringTagMap: {}
17+
disabledShaderPasses: []
18+
m_SavedProperties:
19+
serializedVersion: 3
20+
m_TexEnvs:
21+
- _BumpMap:
22+
m_Texture: {fileID: 2800000, guid: 85c31ee9aa1b3f34b890a38074dd2f32, type: 3}
23+
m_Scale: {x: 1, y: 1}
24+
m_Offset: {x: 0, y: 0}
25+
- _DetailAlbedoMap:
26+
m_Texture: {fileID: 0}
27+
m_Scale: {x: 1, y: 1}
28+
m_Offset: {x: 0, y: 0}
29+
- _DetailMask:
30+
m_Texture: {fileID: 0}
31+
m_Scale: {x: 1, y: 1}
32+
m_Offset: {x: 0, y: 0}
33+
- _DetailNormalMap:
34+
m_Texture: {fileID: 0}
35+
m_Scale: {x: 1, y: 1}
36+
m_Offset: {x: 0, y: 0}
37+
- _EmissionMap:
38+
m_Texture: {fileID: 0}
39+
m_Scale: {x: 1, y: 1}
40+
m_Offset: {x: 0, y: 0}
41+
- _MainTex:
42+
m_Texture: {fileID: 2800000, guid: 12afd2a9b0e162249b85b6304922ef83, type: 3}
43+
m_Scale: {x: 1, y: 1}
44+
m_Offset: {x: 0, y: 0}
45+
- _MetallicGlossMap:
46+
m_Texture: {fileID: 2800000, guid: 1717e8b1da128f0468e266ca8e5cc194, type: 3}
47+
m_Scale: {x: 1, y: 1}
48+
m_Offset: {x: 0, y: 0}
49+
- _OcclusionMap:
50+
m_Texture: {fileID: 2800000, guid: 9b3b57c5db104dd4e9f23b190dafe651, type: 3}
51+
m_Scale: {x: 1, y: 1}
52+
m_Offset: {x: 0, y: 0}
53+
- _ParallaxMap:
54+
m_Texture: {fileID: 0}
55+
m_Scale: {x: 1, y: 1}
56+
m_Offset: {x: 0, y: 0}
57+
- _SpecGlossMap:
58+
m_Texture: {fileID: 2800000, guid: 1717e8b1da128f0468e266ca8e5cc194, type: 3}
59+
m_Scale: {x: 1, y: 1}
60+
m_Offset: {x: 0, y: 0}
61+
m_Floats:
62+
- _BumpScale: 1
63+
- _Cutoff: 0.5
64+
- _DetailNormalMapScale: 1
65+
- _DstBlend: 0
66+
- _GlossMapScale: 0.678
67+
- _Glossiness: 0.286
68+
- _GlossyReflections: 1
69+
- _Metallic: 0
70+
- _Mode: 0
71+
- _OcclusionStrength: 1
72+
- _Parallax: 0.02
73+
- _SmoothnessTextureChannel: 0
74+
- _SpecularHighlights: 1
75+
- _SrcBlend: 1
76+
- _UVSec: 0
77+
- _ZWrite: 1
78+
m_Colors:
79+
- _Color: {r: 1, g: 1, b: 1, a: 1}
80+
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
81+
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!21 &2100000
4+
Material:
5+
serializedVersion: 6
6+
m_ObjectHideFlags: 0
7+
m_PrefabParentObject: {fileID: 0}
8+
m_PrefabInternal: {fileID: 0}
9+
m_Name: Head
10+
m_Shader: {fileID: 45, guid: 0000000000000000f000000000000000, type: 0}
11+
m_ShaderKeywords: _EMISSION _METALLICGLOSSMAP _NORMALMAP _SPECGLOSSMAP
12+
m_LightmapFlags: 1
13+
m_EnableInstancingVariants: 0
14+
m_DoubleSidedGI: 0
15+
m_CustomRenderQueue: -1
16+
stringTagMap: {}
17+
disabledShaderPasses: []
18+
m_SavedProperties:
19+
serializedVersion: 3
20+
m_TexEnvs:
21+
- _BumpMap:
22+
m_Texture: {fileID: 2800000, guid: ad846c877a547aa45a77396c5e931f5b, type: 3}
23+
m_Scale: {x: 1, y: 1}
24+
m_Offset: {x: 0, y: 0}
25+
- _DetailAlbedoMap:
26+
m_Texture: {fileID: 0}
27+
m_Scale: {x: 1, y: 1}
28+
m_Offset: {x: 0, y: 0}
29+
- _DetailMask:
30+
m_Texture: {fileID: 0}
31+
m_Scale: {x: 1, y: 1}
32+
m_Offset: {x: 0, y: 0}
33+
- _DetailNormalMap:
34+
m_Texture: {fileID: 0}
35+
m_Scale: {x: 1, y: 1}
36+
m_Offset: {x: 0, y: 0}
37+
- _EmissionMap:
38+
m_Texture: {fileID: 0}
39+
m_Scale: {x: 1, y: 1}
40+
m_Offset: {x: 0, y: 0}
41+
- _MainTex:
42+
m_Texture: {fileID: 2800000, guid: 29b13bd033e35e34b96c68a793f7b603, type: 3}
43+
m_Scale: {x: 1, y: 1}
44+
m_Offset: {x: 0, y: 0}
45+
- _MetallicGlossMap:
46+
m_Texture: {fileID: 2800000, guid: 853bc6185ac6ed547873a2b2a0d0e024, type: 3}
47+
m_Scale: {x: 1, y: 1}
48+
m_Offset: {x: 0, y: 0}
49+
- _OcclusionMap:
50+
m_Texture: {fileID: 0}
51+
m_Scale: {x: 1, y: 1}
52+
m_Offset: {x: 0, y: 0}
53+
- _ParallaxMap:
54+
m_Texture: {fileID: 0}
55+
m_Scale: {x: 1, y: 1}
56+
m_Offset: {x: 0, y: 0}
57+
- _SpecGlossMap:
58+
m_Texture: {fileID: 2800000, guid: 853bc6185ac6ed547873a2b2a0d0e024, type: 3}
59+
m_Scale: {x: 1, y: 1}
60+
m_Offset: {x: 0, y: 0}
61+
m_Floats:
62+
- _BumpScale: 1
63+
- _Cutoff: 0.5
64+
- _DetailNormalMapScale: 1
65+
- _DstBlend: 0
66+
- _GlossMapScale: 0.2
67+
- _Glossiness: 0.286
68+
- _GlossyReflections: 1
69+
- _Metallic: 0
70+
- _Mode: 0
71+
- _OcclusionStrength: 1
72+
- _Parallax: 0.02
73+
- _SmoothnessTextureChannel: 0
74+
- _SpecularHighlights: 1
75+
- _SrcBlend: 1
76+
- _UVSec: 0
77+
- _ZWrite: 1
78+
m_Colors:
79+
- _Color: {r: 0.9705882, g: 0.7978564, b: 0.72794116, a: 1}
80+
- _EmissionColor: {r: 0.007352948, g: 0.007352948, b: 0.007352948, a: 1}
81+
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
6.75 MB
Loading
1.3 MB
Loading
4.6 MB
Loading
Binary file not shown.
1.34 MB
Loading

0 commit comments

Comments
 (0)