Move import/export/material tests for the model of AliciaSolid. Add VRM model file of AliciaSolid to VRM.Sample/Resources/Models

This commit is contained in:
yutopp
2019-01-07 17:35:40 +09:00
parent d8f4ce94e5
commit d974daadfd
10 changed files with 51 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 40c1b2cc0da133448a441a01ac4e005b
folderAsset: yes
timeCreated: 1546848611
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -17,13 +17,13 @@ namespace VRM
node.SetValue(p, bytes);
}
}
public class VRMImportExportTests
{
[Test]
public void ImportExportTest()
{
var path = UniGLTF.UnityPath.FromUnityPath("Models/Alicia_vrm-0.40/AliciaSolid_vrm-0.40.vrm");
var path = UniGLTF.UnityPath.FromUnityPath("Assets/VRM.Samples/Resources/Models/Alicia_vrm-0.40/AliciaSolid_vrm-0.40.vrm");
var context = new VRMImporterContext();
context.ParseGlb(File.ReadAllBytes(path.FullPath));
context.Load();
@@ -88,7 +88,7 @@ namespace VRM
[Test]
public void MeshCoyTest()
{
var path = UniGLTF.UnityPath.FromUnityPath("Models/Alicia_vrm-0.40/AliciaSolid_vrm-0.40.vrm");
var path = UniGLTF.UnityPath.FromUnityPath("Assets/VRM.Samples/Resources/Models/Alicia_vrm-0.40/AliciaSolid_vrm-0.40.vrm");
var context = new VRMImporterContext();
context.ParseGlb(File.ReadAllBytes(path.FullPath));
context.Load();

View File

@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: f28857d350eb1b64a807cc2467b75325
folderAsset: yes
timeCreated: 1546848586
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,13 @@
#
# This folder contains only VRM files
#
*.BlendShapes
*.BlendShapes.meta
*.Materials
*.Materials.meta
*.Meshes
*.Meshes.meta
*.Textures
*.Textures.meta
*.prefab
*.prefab.meta

View File

@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 2dd416856c6299848b4b742b3f545ff0
folderAsset: yes
timeCreated: 1546848673
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0973e63dcef234243a5236b99ef74124
timeCreated: 1546848673
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant: