main init
This commit is contained in:
360
ModelTools/fbx2gim/Program.cs
Normal file
360
ModelTools/fbx2gim/Program.cs
Normal file
@@ -0,0 +1,360 @@
|
||||
// fbx2gim – Mixamo-Figur (FBX mit Skelett) + Bewegungen (FBX ohne Skin) → .gim fürs Spiel.
|
||||
//
|
||||
// fbx2gim <figur.fbx> <bemalt.pcol|bemalt.glb|-> <ausgabe.gim> name=bewegung.fbx [name=bewegung.fbx ...]
|
||||
// fbx2gim --info <datei> zeigt Netze, Knochen, Bewegungen
|
||||
// fbx2gim --obj <figur.fbx> <aus.obj> [textur.png] Netz als OBJ für Mixamo (z. B. Meshy-FBX, die Mixamo ablehnt)
|
||||
//
|
||||
// Die Farbe: Mixamo gibt das Netz ohne Farbe zurück (und mit eigener Punktreihenfolge). Jeder Punkt
|
||||
// holt sie sich vom nächstgelegenen Punkt des bemalten Modells (paint_mesh), nachdem beide auf
|
||||
// dieselbe Größe gebracht sind. "-": keine Punktfarben – hat die Figur eine eingebettete Textur
|
||||
// (z. B. Meshy), kommt die Farbe aus ihr (UVs + JPG/PNG werden mitgeschrieben), sonst grau.
|
||||
//
|
||||
// Format (.gim, little endian, Strings wie BinaryWriter):
|
||||
// "GIM2"
|
||||
// int boneCount; je Knochen: string name, int parent (-1 = Wurzel), 10 float Ruhe-Lokal (T xyz, R xyzw, S xyz),
|
||||
// byte hasOffset, 16 float Offset (Netz → Knochen, Zeilenvektor-Konvention wie XNA)
|
||||
// int vertexCount; je Punkt: 3 float Pos, 3 float Normale, 2 float UV, 4 byte RGBA, 4 byte Knochen, 4 float Gewichte
|
||||
// int indexCount; int[] Indizes
|
||||
// int clipCount; je Clip: string name, float fps, int frames, frames × boneCount × 10 float (T, R, S lokal)
|
||||
// int textureBytes; Bilddatei (JPG/PNG) oder 0
|
||||
using System.Numerics;
|
||||
using System.Text;
|
||||
using Assimp;
|
||||
using AMatrix = Assimp.Matrix4x4;
|
||||
using NMatrix = System.Numerics.Matrix4x4;
|
||||
using NQuat = System.Numerics.Quaternion;
|
||||
|
||||
static class Fbx2Gim
|
||||
{
|
||||
const float FPS = 30;
|
||||
|
||||
static Scene Load(string path, bool pivots = false)
|
||||
{
|
||||
var ctx = new AssimpContext();
|
||||
ctx.SetConfig(new Assimp.Configs.FBXPreservePivotsConfig(pivots));
|
||||
return ctx.ImportFile(path, PostProcessSteps.Triangulate | PostProcessSteps.JoinIdenticalVertices | PostProcessSteps.LimitBoneWeights | PostProcessSteps.FlipUVs);
|
||||
}
|
||||
|
||||
static NMatrix ToN(AMatrix a) => new(a.A1, a.B1, a.C1, a.D1, a.A2, a.B2, a.C2, a.D2, a.A3, a.B3, a.C3, a.D3, a.A4, a.B4, a.C4, a.D4);
|
||||
|
||||
static int Main(string[] args)
|
||||
{
|
||||
if (args.Length >= 2 && args[0] == "--info") { Info(Load(args[1])); return 0; }
|
||||
if (args.Length >= 3 && args[0] == "--obj") return ToObj(args[1], args[2], args.Length > 3 ? args[3] : null);
|
||||
// --tex=<bild>: Textur, falls die Figur keine eingebettete hat (z. B. Mixamo-FBX aus einer OBJ)
|
||||
string? texFile = args.FirstOrDefault(x => x.StartsWith("--tex="))?[6..];
|
||||
args = args.Where(x => !x.StartsWith("--tex=")).ToArray();
|
||||
if (args.Length < 4) { Console.WriteLine("fbx2gim <figur.fbx> <bemalt.glb|-> <ausgabe.gim> name=bewegung.fbx ..."); return 1; }
|
||||
|
||||
var skin = Load(args[0]);
|
||||
var mesh = skin.Meshes.OrderByDescending(m => m.VertexCount).First();
|
||||
|
||||
// ── Knochen: alle Knoten, die Knochen sind oder Knochen enthalten (Eltern vor Kindern)
|
||||
var boneNames = new HashSet<string>(mesh.Bones.Select(b => b.Name));
|
||||
var nodes = new List<Node>();
|
||||
bool Needed(Node n) => boneNames.Contains(n.Name) || n.Children.Any(Needed);
|
||||
void Walk(Node n) { if (n != skin.RootNode && Needed(n)) nodes.Add(n); foreach (var c in n.Children) Walk(c); }
|
||||
Walk(skin.RootNode);
|
||||
var index = nodes.Select((n, i) => (n.Name, i)).ToDictionary(p => p.Name, p => p.i);
|
||||
var parent = nodes.Select(n => n.Parent != null && index.TryGetValue(n.Parent.Name, out int p) ? p : -1).ToArray();
|
||||
var rest = nodes.Select(n => Trs(ToN(n.Transform))).ToArray();
|
||||
var offsets = new NMatrix?[nodes.Count];
|
||||
foreach (var b in mesh.Bones) offsets[index[b.Name]] = ToN(b.OffsetMatrix);
|
||||
|
||||
// ── Punkte, Gewichte (höchstens 4), Normalen
|
||||
int vc = mesh.VertexCount;
|
||||
var pos = mesh.Vertices.Select(v => new Vector3(v.X, v.Y, v.Z)).ToArray();
|
||||
var bi = new byte[vc * 4];
|
||||
var bw = new float[vc * 4];
|
||||
var inf = new List<(int b, float w)>[vc];
|
||||
for (int i = 0; i < vc; i++) inf[i] = new();
|
||||
foreach (var b in mesh.Bones)
|
||||
foreach (var w in b.VertexWeights) inf[w.VertexID].Add((index[b.Name], w.Weight));
|
||||
for (int i = 0; i < vc; i++)
|
||||
{
|
||||
var top = inf[i].OrderByDescending(x => x.w).Take(4).ToList();
|
||||
float sum = top.Sum(x => x.w);
|
||||
for (int k = 0; k < top.Count; k++) { bi[i * 4 + k] = (byte)top[k].b; bw[i * 4 + k] = sum > 0 ? top[k].w / sum : 0; }
|
||||
if (top.Count == 0) { bi[i * 4] = 0; bw[i * 4] = 1; }
|
||||
}
|
||||
var idx = mesh.GetIndices().ToArray();
|
||||
var nrm = new Vector3[vc];
|
||||
for (int t = 0; t < idx.Length; t += 3)
|
||||
{
|
||||
var a = pos[idx[t]]; var b2 = pos[idx[t + 1]]; var c = pos[idx[t + 2]];
|
||||
var fn = Vector3.Cross(b2 - a, c - a);
|
||||
nrm[idx[t]] += fn; nrm[idx[t + 1]] += fn; nrm[idx[t + 2]] += fn;
|
||||
}
|
||||
for (int i = 0; i < vc; i++) nrm[i] = nrm[i].LengthSquared() > 0 ? Vector3.Normalize(nrm[i]) : Vector3.UnitY;
|
||||
if (mesh.HasNormals) // mitgelieferte Normalen (keine Kanten an UV-Nähten)
|
||||
for (int i = 0; i < vc; i++) { var n = mesh.Normals[i]; var v = new Vector3(n.X, n.Y, n.Z); if (v.LengthSquared() > 0) nrm[i] = Vector3.Normalize(v); }
|
||||
|
||||
// ── Textur (eingebettet) und UVs
|
||||
var uv = new Vector2[vc];
|
||||
if (mesh.HasTextureCoords(0)) for (int i = 0; i < vc; i++) { var t = mesh.TextureCoordinateChannels[0][i]; uv[i] = new Vector2(t.X, t.Y); }
|
||||
byte[] tex = Array.Empty<byte>();
|
||||
if (mesh.HasTextureCoords(0) && skin.TextureCount > 0)
|
||||
{
|
||||
var mat = skin.Materials[mesh.MaterialIndex];
|
||||
string want = mat.HasTextureDiffuse ? mat.TextureDiffuse.FilePath : "";
|
||||
var et = want.StartsWith('*') && int.TryParse(want[1..], out int ti) && ti < skin.TextureCount ? skin.Textures[ti]
|
||||
: skin.Textures.FirstOrDefault(t => t.Filename == want) ?? skin.Textures[0];
|
||||
if (et.IsCompressed) tex = et.CompressedData;
|
||||
Console.WriteLine($" Textur: {et.Filename} ({tex.Length / 1024} KB, {et.CompressedFormatHint})");
|
||||
}
|
||||
|
||||
if (tex.Length == 0 && texFile != null && File.Exists(texFile) && mesh.HasTextureCoords(0))
|
||||
{
|
||||
tex = File.ReadAllBytes(texFile);
|
||||
Console.WriteLine($" Textur aus Datei: {texFile} ({tex.Length / 1024} KB)");
|
||||
}
|
||||
byte grey = tex.Length > 0 ? (byte)255 : (byte)180;
|
||||
var col = args[1] == "-" ? Enumerable.Repeat(new byte[] { grey, grey, grey, 255 }, vc).ToArray() : Colours(pos, args[1]);
|
||||
|
||||
// ── Bewegungen
|
||||
var clips = new List<(string name, float[][] frames)>();
|
||||
foreach (var spec in args.Skip(3))
|
||||
{
|
||||
int eq = spec.IndexOf('=');
|
||||
string name = spec[..eq], file = spec[(eq + 1)..];
|
||||
// Mit Hilfsknoten laden: FBX-Knochen haben Vor-Drehungen (PreRotation), die Spuren hängen an
|
||||
// eigenen Knoten "<knochen>_$AssimpFbx$_Rotation". Der lokale Knochen ist das Produkt der
|
||||
// ganzen Kette vom Knochen bis (ohne) zum Elternknochen.
|
||||
var sc = Load(file, pivots: true);
|
||||
if (sc.AnimationCount == 0) { Console.WriteLine($" {name}: keine Bewegung in {file}"); continue; }
|
||||
var anim = sc.Animations[0];
|
||||
double tps = anim.TicksPerSecond > 0 ? anim.TicksPerSecond : FPS;
|
||||
// glTF: Assimp liefert die Zeiten in Millisekunden, meldet aber eine falsche Tick-Rate
|
||||
if (file.EndsWith(".glb", StringComparison.OrdinalIgnoreCase) || file.EndsWith(".gltf", StringComparison.OrdinalIgnoreCase)) tps = 1000;
|
||||
int frames = Math.Max(1, (int)Math.Round(anim.DurationInTicks / tps * FPS) + 1);
|
||||
var chan = anim.NodeAnimationChannels.ToDictionary(c => c.NodeName);
|
||||
var byName = new Dictionary<string, Node>();
|
||||
void W2(Node n) { byName[n.Name] = n; foreach (var c in n.Children) W2(c); }
|
||||
W2(sc.RootNode);
|
||||
var chains = new List<Node>?[nodes.Count];
|
||||
int found = 0;
|
||||
for (int b = 0; b < nodes.Count; b++)
|
||||
{
|
||||
if (!byName.TryGetValue(nodes[b].Name, out var n)) continue;
|
||||
string? stop = parent[b] >= 0 ? nodes[parent[b]].Name : null;
|
||||
var chain = new List<Node>();
|
||||
for (var x = n; x != null && x.Name != stop && x != sc.RootNode; x = x.Parent) chain.Add(x);
|
||||
chains[b] = chain; found++;
|
||||
}
|
||||
// Ruhelage der Kette in der Bewegungsdatei (ohne Spuren), für die Hüfte
|
||||
var restChain = new float[nodes.Count][];
|
||||
for (int b = 0; b < nodes.Count; b++)
|
||||
if (chains[b] is { } ch0) { var m0 = NMatrix.Identity; foreach (var x in ch0) m0 *= ToN(x.Transform); restChain[b] = Trs(m0); }
|
||||
var data = new float[frames][];
|
||||
for (int f = 0; f < frames; f++)
|
||||
{
|
||||
double t = f / FPS * tps;
|
||||
var fr = data[f] = new float[nodes.Count * 10];
|
||||
for (int b = 0; b < nodes.Count; b++)
|
||||
{
|
||||
float[] trs = rest[b];
|
||||
if (chains[b] is { } chain)
|
||||
{
|
||||
var m = NMatrix.Identity;
|
||||
foreach (var x in chain) // Kind zuerst: Zeilenvektor-Konvention
|
||||
m *= chan.TryGetValue(x.Name, out var ch) ? Mat(Sample(ch, t, Trs(ToN(x.Transform)))) : ToN(x.Transform);
|
||||
var a = Trs(m);
|
||||
// Übertragen auf diese Figur (die Bewegung darf von einer anderen Mixamo-Figur stammen):
|
||||
// Drehung aus der Bewegung, Knochenlängen und Maßstab von der Figur, die Hüfte bewegt
|
||||
// sich im Verhältnis der Hüfthöhen.
|
||||
trs = (float[])rest[b].Clone();
|
||||
trs[3] = a[3]; trs[4] = a[4]; trs[5] = a[5]; trs[6] = a[6];
|
||||
if (parent[b] < 0)
|
||||
{
|
||||
var r0 = restChain[b];
|
||||
float k = MathF.Abs(r0[1]) > 1e-6f ? rest[b][1] / r0[1] : 1;
|
||||
for (int i = 0; i < 3; i++) trs[i] = rest[b][i] + (a[i] - r0[i]) * k;
|
||||
}
|
||||
}
|
||||
Array.Copy(trs, 0, fr, b * 10, 10);
|
||||
}
|
||||
}
|
||||
Console.WriteLine($" {name}: {frames} Bilder ({frames / FPS:0.00} s), {chan.Count} Spuren, {found}/{nodes.Count} Knochen gefunden");
|
||||
clips.Add((name, data));
|
||||
}
|
||||
|
||||
// ── schreiben
|
||||
using (var w = new BinaryWriter(File.Create(args[2]), Encoding.UTF8))
|
||||
{
|
||||
w.Write(Encoding.ASCII.GetBytes("GIM2"));
|
||||
w.Write(nodes.Count);
|
||||
for (int b = 0; b < nodes.Count; b++)
|
||||
{
|
||||
w.Write(nodes[b].Name); w.Write(parent[b]);
|
||||
foreach (var x in rest[b]) w.Write(x);
|
||||
w.Write((byte)(offsets[b].HasValue ? 1 : 0));
|
||||
var o = offsets[b] ?? NMatrix.Identity;
|
||||
foreach (var x in new[] { o.M11, o.M12, o.M13, o.M14, o.M21, o.M22, o.M23, o.M24, o.M31, o.M32, o.M33, o.M34, o.M41, o.M42, o.M43, o.M44 }) w.Write(x);
|
||||
}
|
||||
w.Write(vc);
|
||||
for (int i = 0; i < vc; i++)
|
||||
{
|
||||
w.Write(pos[i].X); w.Write(pos[i].Y); w.Write(pos[i].Z);
|
||||
w.Write(nrm[i].X); w.Write(nrm[i].Y); w.Write(nrm[i].Z);
|
||||
w.Write(uv[i].X); w.Write(uv[i].Y);
|
||||
w.Write(col[i]);
|
||||
w.Write(bi, i * 4, 4);
|
||||
for (int k = 0; k < 4; k++) w.Write(bw[i * 4 + k]);
|
||||
}
|
||||
w.Write(idx.Length);
|
||||
foreach (var i in idx) w.Write(i);
|
||||
w.Write(clips.Count);
|
||||
foreach (var (name, frames) in clips)
|
||||
{
|
||||
w.Write(name); w.Write(FPS); w.Write(frames.Length);
|
||||
foreach (var fr in frames) foreach (var x in fr) w.Write(x);
|
||||
}
|
||||
w.Write(tex.Length); w.Write(tex);
|
||||
}
|
||||
var lo = pos.Aggregate(Vector3.Min); var hi = pos.Aggregate(Vector3.Max);
|
||||
Console.WriteLine($"{args[2]}: {nodes.Count} Knochen, {vc} Punkte, {idx.Length / 3} Dreiecke, {clips.Count} Clips, Größe {lo} … {hi}, " +
|
||||
$"{new FileInfo(args[2]).Length / 1024} KB");
|
||||
return 0;
|
||||
}
|
||||
|
||||
static NMatrix Mat(float[] t) =>
|
||||
NMatrix.CreateScale(t[7], t[8], t[9]) * NMatrix.CreateFromQuaternion(new NQuat(t[3], t[4], t[5], t[6])) * NMatrix.CreateTranslation(t[0], t[1], t[2]);
|
||||
|
||||
static float[] Trs(NMatrix m)
|
||||
{
|
||||
NMatrix.Decompose(m, out var s, out var r, out var t);
|
||||
return new[] { t.X, t.Y, t.Z, r.X, r.Y, r.Z, r.W, s.X, s.Y, s.Z };
|
||||
}
|
||||
|
||||
static float[] Sample(NodeAnimationChannel ch, double t, float[] fallback)
|
||||
{
|
||||
var o = (float[])fallback.Clone();
|
||||
if (ch.PositionKeyCount > 0)
|
||||
{
|
||||
var (a, b, f) = Find(ch.PositionKeys.Select(k => k.Time).ToList(), t);
|
||||
var p = Vector3.Lerp(V(ch.PositionKeys[a].Value), V(ch.PositionKeys[b].Value), f);
|
||||
o[0] = p.X; o[1] = p.Y; o[2] = p.Z;
|
||||
}
|
||||
if (ch.RotationKeyCount > 0)
|
||||
{
|
||||
var (a, b, f) = Find(ch.RotationKeys.Select(k => k.Time).ToList(), t);
|
||||
var q = NQuat.Normalize(NQuat.Slerp(Q(ch.RotationKeys[a].Value), Q(ch.RotationKeys[b].Value), f));
|
||||
o[3] = q.X; o[4] = q.Y; o[5] = q.Z; o[6] = q.W;
|
||||
}
|
||||
if (ch.ScalingKeyCount > 0)
|
||||
{
|
||||
var (a, b, f) = Find(ch.ScalingKeys.Select(k => k.Time).ToList(), t);
|
||||
var s = Vector3.Lerp(V(ch.ScalingKeys[a].Value), V(ch.ScalingKeys[b].Value), f);
|
||||
o[7] = s.X; o[8] = s.Y; o[9] = s.Z;
|
||||
}
|
||||
return o;
|
||||
}
|
||||
|
||||
static (int, int, float) Find(List<double> times, double t)
|
||||
{
|
||||
if (times.Count == 1 || t <= times[0]) return (0, 0, 0);
|
||||
for (int i = 1; i < times.Count; i++)
|
||||
if (times[i] >= t) return (i - 1, i, (float)((t - times[i - 1]) / Math.Max(1e-9, times[i] - times[i - 1])));
|
||||
return (times.Count - 1, times.Count - 1, 0);
|
||||
}
|
||||
|
||||
static Vector3 V(Vector3D v) => new(v.X, v.Y, v.Z);
|
||||
static NQuat Q(Assimp.Quaternion q) => new(q.X, q.Y, q.Z, q.W);
|
||||
|
||||
/// Farbe je Punkt vom nächstgelegenen Punkt des bemalten Modells (beide auf Füße/Mitte/Höhe normiert).
|
||||
static byte[][] Colours(Vector3[] pos, string painted)
|
||||
{
|
||||
Vector3[] src; byte[][] cols;
|
||||
if (painted.EndsWith(".pcol", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
// paint_mesh: int Anzahl, je Punkt 3 float + 4 byte RGBA
|
||||
using var r = new BinaryReader(File.OpenRead(painted));
|
||||
int n = r.ReadInt32();
|
||||
src = new Vector3[n]; cols = new byte[n][];
|
||||
for (int i = 0; i < n; i++) { src[i] = new Vector3(r.ReadSingle(), r.ReadSingle(), r.ReadSingle()); cols[i] = r.ReadBytes(4); }
|
||||
}
|
||||
else
|
||||
{
|
||||
var m = Load(painted).Meshes.OrderByDescending(x => x.VertexCount).First();
|
||||
src = m.Vertices.Select(v => new Vector3(v.X, v.Y, v.Z)).ToArray();
|
||||
cols = m.VertexColorChannels[0].Select(c => new[] { B(c.R), B(c.G), B(c.B), (byte)255 }).ToArray();
|
||||
}
|
||||
var a = Normalize(pos); var b = Normalize(src);
|
||||
// Gitter für die Suche
|
||||
const float CELL = 0.03f;
|
||||
var grid = new Dictionary<(int, int, int), List<int>>();
|
||||
(int, int, int) Key(Vector3 p) => ((int)MathF.Floor(p.X / CELL), (int)MathF.Floor(p.Y / CELL), (int)MathF.Floor(p.Z / CELL));
|
||||
for (int i = 0; i < b.Length; i++) { var k = Key(b[i]); if (!grid.TryGetValue(k, out var l)) grid[k] = l = new(); l.Add(i); }
|
||||
var result = new byte[pos.Length][];
|
||||
double far = 0;
|
||||
Parallel.For(0, a.Length, i =>
|
||||
{
|
||||
var (x, y, z) = Key(a[i]);
|
||||
int best = -1; float bd = float.MaxValue;
|
||||
for (int r = 1; r <= 8 && best < 0; r++)
|
||||
for (int dx = -r; dx <= r; dx++) for (int dy = -r; dy <= r; dy++) for (int dz = -r; dz <= r; dz++)
|
||||
if (grid.TryGetValue((x + dx, y + dy, z + dz), out var l))
|
||||
foreach (int j in l) { float d = Vector3.DistanceSquared(a[i], b[j]); if (d < bd) { bd = d; best = j; } }
|
||||
result[i] = best >= 0 ? cols[best] : new byte[] { 128, 128, 128, 255 };
|
||||
if (best >= 0) lock (result) far = Math.Max(far, Math.Sqrt(bd));
|
||||
});
|
||||
Console.WriteLine($" Farbe aus {painted}: {src.Length} Punkte, größter Abstand {far:0.000} (Höhe = 1)");
|
||||
return result;
|
||||
}
|
||||
|
||||
static byte B(float f) => (byte)Math.Clamp((int)MathF.Round(f * 255), 0, 255);
|
||||
|
||||
static Vector3[] Normalize(Vector3[] p)
|
||||
{
|
||||
var lo = p.Aggregate(Vector3.Min); var hi = p.Aggregate(Vector3.Max);
|
||||
float h = hi.Y - lo.Y;
|
||||
var c = new Vector3((lo.X + hi.X) / 2, lo.Y, (lo.Z + hi.Z) / 2);
|
||||
return p.Select(v => (v - c) / h).ToArray();
|
||||
}
|
||||
|
||||
/// Netz (mit UVs) als OBJ + MTL für Mixamo: ohne Skelett, Punkte verschweißt. Optional die Textur
|
||||
/// (PNG/JPG) daneben; die MTL verweist auf sie.
|
||||
static int ToObj(string input, string output, string? texture)
|
||||
{
|
||||
var ctx = new AssimpContext();
|
||||
var s = ctx.ImportFile(input, PostProcessSteps.Triangulate | PostProcessSteps.JoinIdenticalVertices);
|
||||
var inv = System.Globalization.CultureInfo.InvariantCulture;
|
||||
string name = Path.GetFileNameWithoutExtension(output);
|
||||
using (var w = new StreamWriter(output))
|
||||
{
|
||||
w.WriteLine($"mtllib {name}.mtl");
|
||||
int baseV = 1;
|
||||
foreach (var m in s.Meshes)
|
||||
{
|
||||
foreach (var v in m.Vertices) w.WriteLine(string.Format(inv, "v {0} {1} {2}", v.X, v.Y, v.Z));
|
||||
bool uv = m.HasTextureCoords(0);
|
||||
if (uv) foreach (var t in m.TextureCoordinateChannels[0]) w.WriteLine(string.Format(inv, "vt {0} {1}", t.X, t.Y));
|
||||
w.WriteLine("usemtl skin");
|
||||
foreach (var f in m.Faces)
|
||||
{
|
||||
if (f.IndexCount != 3) continue;
|
||||
var ix = f.Indices;
|
||||
w.WriteLine(uv ? $"f {ix[0] + baseV}/{ix[0] + baseV} {ix[1] + baseV}/{ix[1] + baseV} {ix[2] + baseV}/{ix[2] + baseV}"
|
||||
: $"f {ix[0] + baseV} {ix[1] + baseV} {ix[2] + baseV}");
|
||||
}
|
||||
baseV += m.VertexCount;
|
||||
}
|
||||
}
|
||||
using (var w = new StreamWriter(Path.Combine(Path.GetDirectoryName(Path.GetFullPath(output))!, name + ".mtl")))
|
||||
{
|
||||
w.WriteLine("newmtl skin"); w.WriteLine("Kd 1 1 1");
|
||||
if (texture != null) w.WriteLine("map_Kd " + Path.GetFileName(texture));
|
||||
}
|
||||
Console.WriteLine($"{output}: {s.Meshes.Sum(m => m.VertexCount)} Punkte, {s.Meshes.Sum(m => m.FaceCount)} Dreiecke");
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void Info(Scene s)
|
||||
{
|
||||
Console.WriteLine($"meshes {s.MeshCount} anims {s.AnimationCount}");
|
||||
foreach (var m in s.Meshes) Console.WriteLine($" mesh {m.Name} v{m.VertexCount} f{m.FaceCount} bones {m.BoneCount} colors {m.HasVertexColors(0)}");
|
||||
foreach (var a in s.Animations) Console.WriteLine($" anim {a.Name} {a.DurationInTicks / a.TicksPerSecond:0.00}s ch {a.NodeAnimationChannelCount}: " + string.Join(", ", a.NodeAnimationChannels.Take(6).Select(c => $"{c.NodeName} p{c.PositionKeyCount} r{c.RotationKeyCount}")));
|
||||
void P(Node n, int d) { Console.WriteLine(new string(' ', d) + n.Name); foreach (var c in n.Children) P(c, d + 1); }
|
||||
P(s.RootNode, 0);
|
||||
}
|
||||
}
|
||||
BIN
ModelTools/fbx2gim/bin/Release/net9.0/win-x64/AssimpNet.dll
Normal file
BIN
ModelTools/fbx2gim/bin/Release/net9.0/win-x64/AssimpNet.dll
Normal file
Binary file not shown.
BIN
ModelTools/fbx2gim/bin/Release/net9.0/win-x64/assimp.dll
Normal file
BIN
ModelTools/fbx2gim/bin/Release/net9.0/win-x64/assimp.dll
Normal file
Binary file not shown.
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v9.0/win-x64",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v9.0": {},
|
||||
".NETCoreApp,Version=v9.0/win-x64": {
|
||||
"fbx2gim/1.0.0": {
|
||||
"dependencies": {
|
||||
"AssimpNet": "5.0.0-beta1"
|
||||
},
|
||||
"runtime": {
|
||||
"fbx2gim.dll": {}
|
||||
}
|
||||
},
|
||||
"AssimpNet/5.0.0-beta1": {
|
||||
"runtime": {
|
||||
"lib/netstandard1.3/AssimpNet.dll": {
|
||||
"assemblyVersion": "5.0.0.0",
|
||||
"fileVersion": "5.0.0.0"
|
||||
}
|
||||
},
|
||||
"native": {
|
||||
"runtimes/win-x64/native/assimp.dll": {
|
||||
"fileVersion": "5.0.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"fbx2gim/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"AssimpNet/5.0.0-beta1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-oiUmn2KNaLThdbr6oT461uyCwclsqfZ0UB36vqkAUm8ttBWjKOCBmtp9V+X6xDGZmQaJe9YknW5eoyATTikUNQ==",
|
||||
"path": "assimpnet/5.0.0-beta1",
|
||||
"hashPath": "assimpnet.5.0.0-beta1.nupkg.sha512"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
ModelTools/fbx2gim/bin/Release/net9.0/win-x64/fbx2gim.dll
Normal file
BIN
ModelTools/fbx2gim/bin/Release/net9.0/win-x64/fbx2gim.dll
Normal file
Binary file not shown.
BIN
ModelTools/fbx2gim/bin/Release/net9.0/win-x64/fbx2gim.exe
Normal file
BIN
ModelTools/fbx2gim/bin/Release/net9.0/win-x64/fbx2gim.exe
Normal file
Binary file not shown.
BIN
ModelTools/fbx2gim/bin/Release/net9.0/win-x64/fbx2gim.pdb
Normal file
BIN
ModelTools/fbx2gim/bin/Release/net9.0/win-x64/fbx2gim.pdb
Normal file
Binary file not shown.
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net9.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "9.0.0"
|
||||
},
|
||||
"configProperties": {
|
||||
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||
}
|
||||
}
|
||||
}
|
||||
14
ModelTools/fbx2gim/fbx2gim.csproj
Normal file
14
ModelTools/fbx2gim/fbx2gim.csproj
Normal file
@@ -0,0 +1,14 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<SelfContained>false</SelfContained>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="AssimpNet" Version="5.0.0-beta1" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")]
|
||||
@@ -0,0 +1,22 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("fbx2gim")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("fbx2gim")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("fbx2gim")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
70bc7440b7ff345739c2422e8a07f1a4c95ea01a8f507814314c874ba066dea5
|
||||
@@ -0,0 +1,18 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net9.0
|
||||
build_property.TargetFrameworkIdentifier = .NETCoreApp
|
||||
build_property.TargetFrameworkVersion = v9.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property.EntryPointFilePath =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = fbx2gim
|
||||
build_property.ProjectDir = D:\Oculusquest\Projekt\_Tools\ModelTools\fbx2gim\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
build_property.EffectiveAnalysisLevelStyle = 9.0
|
||||
build_property.EnableCodeStyleSeverity =
|
||||
@@ -0,0 +1,8 @@
|
||||
// <auto-generated/>
|
||||
global using System;
|
||||
global using System.Collections.Generic;
|
||||
global using System.IO;
|
||||
global using System.Linq;
|
||||
global using System.Net.Http;
|
||||
global using System.Threading;
|
||||
global using System.Threading.Tasks;
|
||||
BIN
ModelTools/fbx2gim/obj/Debug/net9.0/win-x64/fbx2gim.assets.cache
Normal file
BIN
ModelTools/fbx2gim/obj/Debug/net9.0/win-x64/fbx2gim.assets.cache
Normal file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")]
|
||||
BIN
ModelTools/fbx2gim/obj/Release/net9.0/win-x64/apphost.exe
Normal file
BIN
ModelTools/fbx2gim/obj/Release/net9.0/win-x64/apphost.exe
Normal file
Binary file not shown.
@@ -0,0 +1,22 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("fbx2gim")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("fbx2gim")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("fbx2gim")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
13086dfeb5ad9085b1a8aabe0f9077d9b81fd698d398dffe3f7470f41c9cc4a1
|
||||
@@ -0,0 +1,18 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net9.0
|
||||
build_property.TargetFrameworkIdentifier = .NETCoreApp
|
||||
build_property.TargetFrameworkVersion = v9.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property.EntryPointFilePath =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = fbx2gim
|
||||
build_property.ProjectDir = D:\Oculusquest\Projekt\_Tools\ModelTools\fbx2gim\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
build_property.EffectiveAnalysisLevelStyle = 9.0
|
||||
build_property.EnableCodeStyleSeverity =
|
||||
@@ -0,0 +1,8 @@
|
||||
// <auto-generated/>
|
||||
global using System;
|
||||
global using System.Collections.Generic;
|
||||
global using System.IO;
|
||||
global using System.Linq;
|
||||
global using System.Net.Http;
|
||||
global using System.Threading;
|
||||
global using System.Threading.Tasks;
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
2033e9a91f89218e27ea3ebc7ff7f556c53f1c01942a75b1424571715423dd3c
|
||||
@@ -0,0 +1,18 @@
|
||||
D:\Oculusquest\Projekt\_Tools\ModelTools\fbx2gim\bin\Release\net9.0\win-x64\fbx2gim.exe
|
||||
D:\Oculusquest\Projekt\_Tools\ModelTools\fbx2gim\bin\Release\net9.0\win-x64\fbx2gim.deps.json
|
||||
D:\Oculusquest\Projekt\_Tools\ModelTools\fbx2gim\bin\Release\net9.0\win-x64\fbx2gim.runtimeconfig.json
|
||||
D:\Oculusquest\Projekt\_Tools\ModelTools\fbx2gim\bin\Release\net9.0\win-x64\fbx2gim.dll
|
||||
D:\Oculusquest\Projekt\_Tools\ModelTools\fbx2gim\bin\Release\net9.0\win-x64\fbx2gim.pdb
|
||||
D:\Oculusquest\Projekt\_Tools\ModelTools\fbx2gim\bin\Release\net9.0\win-x64\AssimpNet.dll
|
||||
D:\Oculusquest\Projekt\_Tools\ModelTools\fbx2gim\bin\Release\net9.0\win-x64\assimp.dll
|
||||
D:\Oculusquest\Projekt\_Tools\ModelTools\fbx2gim\obj\Release\net9.0\win-x64\fbx2gim.csproj.AssemblyReference.cache
|
||||
D:\Oculusquest\Projekt\_Tools\ModelTools\fbx2gim\obj\Release\net9.0\win-x64\fbx2gim.GeneratedMSBuildEditorConfig.editorconfig
|
||||
D:\Oculusquest\Projekt\_Tools\ModelTools\fbx2gim\obj\Release\net9.0\win-x64\fbx2gim.AssemblyInfoInputs.cache
|
||||
D:\Oculusquest\Projekt\_Tools\ModelTools\fbx2gim\obj\Release\net9.0\win-x64\fbx2gim.AssemblyInfo.cs
|
||||
D:\Oculusquest\Projekt\_Tools\ModelTools\fbx2gim\obj\Release\net9.0\win-x64\fbx2gim.csproj.CoreCompileInputs.cache
|
||||
D:\Oculusquest\Projekt\_Tools\ModelTools\fbx2gim\obj\Release\net9.0\win-x64\fbx2gim.csproj.Up2Date
|
||||
D:\Oculusquest\Projekt\_Tools\ModelTools\fbx2gim\obj\Release\net9.0\win-x64\fbx2gim.dll
|
||||
D:\Oculusquest\Projekt\_Tools\ModelTools\fbx2gim\obj\Release\net9.0\win-x64\refint\fbx2gim.dll
|
||||
D:\Oculusquest\Projekt\_Tools\ModelTools\fbx2gim\obj\Release\net9.0\win-x64\fbx2gim.pdb
|
||||
D:\Oculusquest\Projekt\_Tools\ModelTools\fbx2gim\obj\Release\net9.0\win-x64\fbx2gim.genruntimeconfig.cache
|
||||
D:\Oculusquest\Projekt\_Tools\ModelTools\fbx2gim\obj\Release\net9.0\win-x64\ref\fbx2gim.dll
|
||||
BIN
ModelTools/fbx2gim/obj/Release/net9.0/win-x64/fbx2gim.dll
Normal file
BIN
ModelTools/fbx2gim/obj/Release/net9.0/win-x64/fbx2gim.dll
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
48ec4336724a500989e2667cf58a4a1dc9e8092ed49cd2b815b50701cb050981
|
||||
BIN
ModelTools/fbx2gim/obj/Release/net9.0/win-x64/fbx2gim.pdb
Normal file
BIN
ModelTools/fbx2gim/obj/Release/net9.0/win-x64/fbx2gim.pdb
Normal file
Binary file not shown.
BIN
ModelTools/fbx2gim/obj/Release/net9.0/win-x64/ref/fbx2gim.dll
Normal file
BIN
ModelTools/fbx2gim/obj/Release/net9.0/win-x64/ref/fbx2gim.dll
Normal file
Binary file not shown.
BIN
ModelTools/fbx2gim/obj/Release/net9.0/win-x64/refint/fbx2gim.dll
Normal file
BIN
ModelTools/fbx2gim/obj/Release/net9.0/win-x64/refint/fbx2gim.dll
Normal file
Binary file not shown.
82
ModelTools/fbx2gim/obj/fbx2gim.csproj.nuget.dgspec.json
Normal file
82
ModelTools/fbx2gim/obj/fbx2gim.csproj.nuget.dgspec.json
Normal file
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"D:\\Oculusquest\\Projekt\\_Tools\\ModelTools\\fbx2gim\\fbx2gim.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"D:\\Oculusquest\\Projekt\\_Tools\\ModelTools\\fbx2gim\\fbx2gim.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "D:\\Oculusquest\\Projekt\\_Tools\\ModelTools\\fbx2gim\\fbx2gim.csproj",
|
||||
"projectName": "fbx2gim",
|
||||
"projectPath": "D:\\Oculusquest\\Projekt\\_Tools\\ModelTools\\fbx2gim\\fbx2gim.csproj",
|
||||
"packagesPath": "C:\\Users\\michi\\.nuget\\packages\\",
|
||||
"outputPath": "D:\\Oculusquest\\Projekt\\_Tools\\ModelTools\\fbx2gim\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\michi\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net9.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net9.0": {
|
||||
"framework": "net9.0",
|
||||
"targetAlias": "net9.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
},
|
||||
"SdkAnalysisLevel": "10.0.400"
|
||||
},
|
||||
"frameworks": {
|
||||
"net9.0": {
|
||||
"framework": "net9.0",
|
||||
"targetAlias": "net9.0",
|
||||
"dependencies": {
|
||||
"AssimpNet": {
|
||||
"target": "Package",
|
||||
"version": "[5.0.0-beta1, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.404/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
},
|
||||
"runtimes": {
|
||||
"win-x64": {
|
||||
"#import": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
15
ModelTools/fbx2gim/obj/fbx2gim.csproj.nuget.g.props
Normal file
15
ModelTools/fbx2gim/obj/fbx2gim.csproj.nuget.g.props
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\michi\.nuget\packages\</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">7.0.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\michi\.nuget\packages\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
6
ModelTools/fbx2gim/obj/fbx2gim.csproj.nuget.g.targets
Normal file
6
ModelTools/fbx2gim/obj/fbx2gim.csproj.nuget.g.targets
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<Import Project="$(NuGetPackageRoot)assimpnet\5.0.0-beta1\build\AssimpNet.targets" Condition="Exists('$(NuGetPackageRoot)assimpnet\5.0.0-beta1\build\AssimpNet.targets')" />
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
7085
ModelTools/fbx2gim/obj/project.assets.json
Normal file
7085
ModelTools/fbx2gim/obj/project.assets.json
Normal file
File diff suppressed because it is too large
Load Diff
113
ModelTools/fbx2gim/obj/project.nuget.cache
Normal file
113
ModelTools/fbx2gim/obj/project.nuget.cache
Normal file
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "oRhqniOYqag=",
|
||||
"success": true,
|
||||
"projectFilePath": "D:\\Oculusquest\\Projekt\\_Tools\\ModelTools\\fbx2gim\\fbx2gim.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"C:\\Users\\michi\\.nuget\\packages\\assimpnet\\5.0.0-beta1\\assimpnet.5.0.0-beta1.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\microsoft.netcore.platforms\\1.1.0\\microsoft.netcore.platforms.1.1.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\microsoft.netcore.targets\\1.1.0\\microsoft.netcore.targets.1.1.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\microsoft.win32.primitives\\4.3.0\\microsoft.win32.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\netstandard.library\\1.6.1\\netstandard.library.1.6.1.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.any.system.collections\\4.3.0\\runtime.any.system.collections.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.any.system.diagnostics.tools\\4.3.0\\runtime.any.system.diagnostics.tools.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.any.system.diagnostics.tracing\\4.3.0\\runtime.any.system.diagnostics.tracing.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.any.system.globalization\\4.3.0\\runtime.any.system.globalization.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.any.system.globalization.calendars\\4.3.0\\runtime.any.system.globalization.calendars.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.any.system.io\\4.3.0\\runtime.any.system.io.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.any.system.reflection\\4.3.0\\runtime.any.system.reflection.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.any.system.reflection.extensions\\4.3.0\\runtime.any.system.reflection.extensions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.any.system.reflection.primitives\\4.3.0\\runtime.any.system.reflection.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.any.system.resources.resourcemanager\\4.3.0\\runtime.any.system.resources.resourcemanager.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.any.system.runtime\\4.3.0\\runtime.any.system.runtime.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.any.system.runtime.handles\\4.3.0\\runtime.any.system.runtime.handles.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.any.system.runtime.interopservices\\4.3.0\\runtime.any.system.runtime.interopservices.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.any.system.text.encoding\\4.3.0\\runtime.any.system.text.encoding.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.any.system.text.encoding.extensions\\4.3.0\\runtime.any.system.text.encoding.extensions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.any.system.threading.tasks\\4.3.0\\runtime.any.system.threading.tasks.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.any.system.threading.timer\\4.3.0\\runtime.any.system.threading.timer.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.native.system\\4.3.0\\runtime.native.system.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.native.system.io.compression\\4.3.0\\runtime.native.system.io.compression.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.native.system.net.http\\4.3.0\\runtime.native.system.net.http.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.native.system.security.cryptography.apple\\4.3.0\\runtime.native.system.security.cryptography.apple.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple\\4.3.0\\runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.win.microsoft.win32.primitives\\4.3.0\\runtime.win.microsoft.win32.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.win.system.console\\4.3.0\\runtime.win.system.console.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.win.system.diagnostics.debug\\4.3.0\\runtime.win.system.diagnostics.debug.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.win.system.io.filesystem\\4.3.0\\runtime.win.system.io.filesystem.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.win.system.net.primitives\\4.3.0\\runtime.win.system.net.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.win.system.net.sockets\\4.3.0\\runtime.win.system.net.sockets.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\runtime.win.system.runtime.extensions\\4.3.0\\runtime.win.system.runtime.extensions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.appcontext\\4.3.0\\system.appcontext.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.buffers\\4.3.0\\system.buffers.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.collections\\4.3.0\\system.collections.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.collections.concurrent\\4.3.0\\system.collections.concurrent.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.console\\4.3.0\\system.console.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.diagnostics.debug\\4.3.0\\system.diagnostics.debug.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.diagnostics.diagnosticsource\\4.3.0\\system.diagnostics.diagnosticsource.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.diagnostics.tools\\4.3.0\\system.diagnostics.tools.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.diagnostics.tracing\\4.3.0\\system.diagnostics.tracing.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.globalization\\4.3.0\\system.globalization.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.globalization.calendars\\4.3.0\\system.globalization.calendars.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.globalization.extensions\\4.3.0\\system.globalization.extensions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.io\\4.3.0\\system.io.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.io.compression\\4.3.0\\system.io.compression.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.io.compression.zipfile\\4.3.0\\system.io.compression.zipfile.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.io.filesystem\\4.3.0\\system.io.filesystem.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.io.filesystem.primitives\\4.3.0\\system.io.filesystem.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.linq\\4.3.0\\system.linq.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.linq.expressions\\4.3.0\\system.linq.expressions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.net.http\\4.3.0\\system.net.http.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.net.nameresolution\\4.3.0\\system.net.nameresolution.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.net.primitives\\4.3.0\\system.net.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.net.sockets\\4.3.0\\system.net.sockets.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.objectmodel\\4.3.0\\system.objectmodel.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.private.uri\\4.3.0\\system.private.uri.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.reflection\\4.3.0\\system.reflection.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.reflection.emit\\4.3.0\\system.reflection.emit.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.reflection.emit.ilgeneration\\4.3.0\\system.reflection.emit.ilgeneration.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.reflection.emit.lightweight\\4.3.0\\system.reflection.emit.lightweight.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.reflection.extensions\\4.3.0\\system.reflection.extensions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.reflection.primitives\\4.3.0\\system.reflection.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.reflection.typeextensions\\4.3.0\\system.reflection.typeextensions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.resources.resourcemanager\\4.3.0\\system.resources.resourcemanager.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.runtime\\4.3.0\\system.runtime.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.runtime.extensions\\4.3.0\\system.runtime.extensions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.runtime.handles\\4.3.0\\system.runtime.handles.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.runtime.interopservices\\4.3.0\\system.runtime.interopservices.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.runtime.interopservices.runtimeinformation\\4.3.0\\system.runtime.interopservices.runtimeinformation.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.runtime.numerics\\4.3.0\\system.runtime.numerics.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.security.claims\\4.3.0\\system.security.claims.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.security.cryptography.algorithms\\4.3.0\\system.security.cryptography.algorithms.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.security.cryptography.cng\\4.3.0\\system.security.cryptography.cng.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.security.cryptography.csp\\4.3.0\\system.security.cryptography.csp.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.security.cryptography.encoding\\4.3.0\\system.security.cryptography.encoding.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.security.cryptography.openssl\\4.3.0\\system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.security.cryptography.primitives\\4.3.0\\system.security.cryptography.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.security.cryptography.x509certificates\\4.3.0\\system.security.cryptography.x509certificates.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.security.principal\\4.3.0\\system.security.principal.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.security.principal.windows\\4.3.0\\system.security.principal.windows.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.text.encoding\\4.3.0\\system.text.encoding.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.text.encoding.extensions\\4.3.0\\system.text.encoding.extensions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.text.regularexpressions\\4.3.0\\system.text.regularexpressions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.threading\\4.3.0\\system.threading.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.threading.overlapped\\4.3.0\\system.threading.overlapped.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.threading.tasks\\4.3.0\\system.threading.tasks.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.threading.tasks.extensions\\4.3.0\\system.threading.tasks.extensions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.threading.timer\\4.3.0\\system.threading.timer.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.xml.readerwriter\\4.3.0\\system.xml.readerwriter.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\michi\\.nuget\\packages\\system.xml.xdocument\\4.3.0\\system.xml.xdocument.4.3.0.nupkg.sha512"
|
||||
],
|
||||
"logs": []
|
||||
}
|
||||
Reference in New Issue
Block a user