Skip to content

Commit

Permalink
removed AlembicPointsRenderer
Browse files Browse the repository at this point in the history
  • Loading branch information
i-saint committed Mar 10, 2017
1 parent 518f06b commit 6827bd0
Show file tree
Hide file tree
Showing 33 changed files with 13 additions and 1,324 deletions.
32 changes: 3 additions & 29 deletions AlembicImporter/Assets/Packaging.cs
Expand Up @@ -10,41 +10,15 @@

public class AlembicImporterPackaging
{
[MenuItem("Assets/UTJ/AlembicImporter/Make Packages")]
[MenuItem("Assets/Make AlembicImporter.unitypackage")]
public static void MakePackage_Alembic()
{
MakePackage_AlembicImporter();
MakePackage_AlembicExporter();
}

public static void MakePackage_AlembicImporter()
{
string[] files = new string[]
{
"Assets/UTJ/AlembicImporter",
"Assets/UTJ/TextureWriter",
"Assets/UTJ/Plugins/x86/AlembicImporter.dll",
"Assets/UTJ/Plugins/x86_64/AlembicImporter.dll",
"Assets/UTJ/Plugins/x86/TextureWriter.dll",
"Assets/UTJ/Plugins/x86_64/TextureWriter.dll",
"Assets/StreamingAssets/UTJ/AlembicImporter",
"Assets/StreamingAssets/AlembicData/Example.abc",
"Assets/UTJ",
"Assets/StreamingAssets/UTJ",
};
AssetDatabase.ExportPackage(files, "AlembicImporter.unitypackage", ExportPackageOptions.Recurse);
}

public static void MakePackage_AlembicExporter()
{
string[] files = new string[]
{
"Assets/UTJ/AlembicExporter",
"Assets/UTJ/Plugins/x86/AlembicExporter.dll",
"Assets/UTJ/Plugins/x86_64/AlembicExporter.dll",
"Assets/UTJ/AlembicExporterExample",
"Assets/StreamingAssets/UTJ/AlembicImporter",
};
AssetDatabase.ExportPackage(files, "AlembicExporter.unitypackage", ExportPackageOptions.Recurse);
}

}
#endif // UNITY_EDITOR
Expand Up @@ -273,7 +273,7 @@ public override void Capture()
if (m_target == null) { return; }

// create buffer
int count_max = m_target.maxParticles;
int count_max = m_target.main.maxParticles;
if (m_buf_particles == null)
{
m_buf_particles = new ParticleSystem.Particle[count_max];
Expand Down
Expand Up @@ -81,7 +81,7 @@ void InitializeSimulation()
m_csparams = new CSParams[1];
}
{
UnityEngine.Random.seed = 0;
UnityEngine.Random.InitState(0);
var tmp = new peParticle[m_particle_count];
for (int i = 0; i < tmp.Length; ++i)
{
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

9 changes: 0 additions & 9 deletions AlembicImporter/Assets/UTJ/AlembicImporter/Materials.meta

This file was deleted.

Binary file not shown.

This file was deleted.

Expand Up @@ -4,7 +4,6 @@
namespace UTJ.Alembic
{
[ExecuteInEditMode]
[RequireComponent(typeof(AlembicPointsRenderer))]
public class AlembicPointsCloud : MonoBehaviour
{
// members
Expand All @@ -31,13 +30,6 @@ public ulong[] abcIDs

void Reset()
{
// add renderer
var c = gameObject.GetComponent<AlembicPointsRenderer>();
if (c == null)
{
c = gameObject.AddComponent<AlembicPointsRenderer>();
}

}

}
Expand Down

0 comments on commit 6827bd0

Please sign in to comment.