From 058f98a63658dc1a2579826ba167fd61bed1e21f Mon Sep 17 00:00:00 2001 From: sanine Date: Fri, 4 Mar 2022 10:47:15 -0600 Subject: add assimp submodule --- .../FBX/2013_ASCII/ConcavePolygon.fbx | 343 +++++++++++++++++++++ 1 file changed, 343 insertions(+) create mode 100644 src/mesh/assimp-master/test/models-nonbsd/FBX/2013_ASCII/ConcavePolygon.fbx (limited to 'src/mesh/assimp-master/test/models-nonbsd/FBX/2013_ASCII/ConcavePolygon.fbx') diff --git a/src/mesh/assimp-master/test/models-nonbsd/FBX/2013_ASCII/ConcavePolygon.fbx b/src/mesh/assimp-master/test/models-nonbsd/FBX/2013_ASCII/ConcavePolygon.fbx new file mode 100644 index 0000000..3dc4561 --- /dev/null +++ b/src/mesh/assimp-master/test/models-nonbsd/FBX/2013_ASCII/ConcavePolygon.fbx @@ -0,0 +1,343 @@ +; FBX 7.3.0 project file +; Copyright (C) 1997-2010 Autodesk Inc. and/or its licensors. +; All rights reserved. +; ---------------------------------------------------- + +FBXHeaderExtension: { + FBXHeaderVersion: 1003 + FBXVersion: 7300 + CreationTimeStamp: { + Version: 1000 + Year: 2012 + Month: 6 + Day: 28 + Hour: 16 + Minute: 32 + Second: 53 + Millisecond: 346 + } + Creator: "FBX SDK/FBX Plugins version 2013.1" + SceneInfo: "SceneInfo::GlobalInfo", "UserData" { + Type: "UserData" + Version: 100 + MetaData: { + Version: 100 + Title: "" + Subject: "" + Author: "" + Keywords: "" + Revision: "" + Comment: "" + } + Properties70: { + P: "DocumentUrl", "KString", "Url", "", "E:\dev\assimp\assimp-gsoc2012-fbx\test\models\Collada\ConcavePolygon.fbx" + P: "SrcDocumentUrl", "KString", "Url", "", "E:\dev\assimp\assimp-gsoc2012-fbx\test\models\Collada\ConcavePolygon.fbx" + P: "Original", "Compound", "", "" + P: "Original|ApplicationVendor", "KString", "", "", "" + P: "Original|ApplicationName", "KString", "", "", "" + P: "Original|ApplicationVersion", "KString", "", "", "" + P: "Original|DateTime_GMT", "DateTime", "", "", "" + P: "Original|FileName", "KString", "", "", "" + P: "LastSaved", "Compound", "", "" + P: "LastSaved|ApplicationVendor", "KString", "", "", "" + P: "LastSaved|ApplicationName", "KString", "", "", "" + P: "LastSaved|ApplicationVersion", "KString", "", "", "" + P: "LastSaved|DateTime_GMT", "DateTime", "", "", "" + } + } +} +GlobalSettings: { + Version: 1000 + Properties70: { + P: "UpAxis", "int", "Integer", "",1 + P: "UpAxisSign", "int", "Integer", "",1 + P: "FrontAxis", "int", "Integer", "",2 + P: "FrontAxisSign", "int", "Integer", "",1 + P: "CoordAxis", "int", "Integer", "",0 + P: "CoordAxisSign", "int", "Integer", "",1 + P: "OriginalUpAxis", "int", "Integer", "",-1 + P: "OriginalUpAxisSign", "int", "Integer", "",1 + P: "UnitScaleFactor", "double", "Number", "",100 + P: "OriginalUnitScaleFactor", "double", "Number", "",1 + P: "AmbientColor", "ColorRGB", "Color", "",0,0,0 + P: "DefaultCamera", "KString", "", "", "Producer Perspective" + P: "TimeMode", "enum", "", "",0 + P: "TimeSpanStart", "KTime", "Time", "",0 + P: "TimeSpanStop", "KTime", "Time", "",46186158000 + P: "CustomFrameRate", "double", "Number", "",-1 + } +} + +; Documents Description +;------------------------------------------------------------------ + +Documents: { + Count: 1 + Document: 39965776, "Scene", "Scene" { + Properties70: { + P: "SourceObject", "object", "", "" + P: "ActiveAnimStackName", "KString", "", "", "" + P: "COLLADA_ID", "KString", "", "", "VisualSceneNode" + } + RootNode: 0 + } +} + +; Document References +;------------------------------------------------------------------ + +References: { +} + +; Object definitions +;------------------------------------------------------------------ + +Definitions: { + Version: 100 + Count: 6 + ObjectType: "GlobalSettings" { + Count: 1 + } + ObjectType: "AnimationStack" { + Count: 1 + PropertyTemplate: "FbxAnimStack" { + Properties70: { + P: "Description", "KString", "", "", "" + P: "LocalStart", "KTime", "Time", "",0 + P: "LocalStop", "KTime", "Time", "",0 + P: "ReferenceStart", "KTime", "Time", "",0 + P: "ReferenceStop", "KTime", "Time", "",0 + } + } + } + ObjectType: "AnimationLayer" { + Count: 1 + PropertyTemplate: "FbxAnimLayer" { + Properties70: { + P: "Weight", "Number", "", "A",100 + P: "Mute", "bool", "", "",0 + P: "Solo", "bool", "", "",0 + P: "Lock", "bool", "", "",0 + P: "Color", "ColorRGB", "Color", "",0.8,0.8,0.8 + P: "BlendMode", "enum", "", "",0 + P: "RotationAccumulationMode", "enum", "", "",0 + P: "ScaleAccumulationMode", "enum", "", "",0 + P: "BlendModeBypass", "ULongLong", "", "",0 + } + } + } + ObjectType: "Model" { + Count: 1 + PropertyTemplate: "FbxNode" { + Properties70: { + P: "QuaternionInterpolate", "enum", "", "",0 + P: "RotationOffset", "Vector3D", "Vector", "",0,0,0 + P: "RotationPivot", "Vector3D", "Vector", "",0,0,0 + P: "ScalingOffset", "Vector3D", "Vector", "",0,0,0 + P: "ScalingPivot", "Vector3D", "Vector", "",0,0,0 + P: "TranslationActive", "bool", "", "",0 + P: "TranslationMin", "Vector3D", "Vector", "",0,0,0 + P: "TranslationMax", "Vector3D", "Vector", "",0,0,0 + P: "TranslationMinX", "bool", "", "",0 + P: "TranslationMinY", "bool", "", "",0 + P: "TranslationMinZ", "bool", "", "",0 + P: "TranslationMaxX", "bool", "", "",0 + P: "TranslationMaxY", "bool", "", "",0 + P: "TranslationMaxZ", "bool", "", "",0 + P: "RotationOrder", "enum", "", "",0 + P: "RotationSpaceForLimitOnly", "bool", "", "",0 + P: "RotationStiffnessX", "double", "Number", "",0 + P: "RotationStiffnessY", "double", "Number", "",0 + P: "RotationStiffnessZ", "double", "Number", "",0 + P: "AxisLen", "double", "Number", "",10 + P: "PreRotation", "Vector3D", "Vector", "",0,0,0 + P: "PostRotation", "Vector3D", "Vector", "",0,0,0 + P: "RotationActive", "bool", "", "",0 + P: "RotationMin", "Vector3D", "Vector", "",0,0,0 + P: "RotationMax", "Vector3D", "Vector", "",0,0,0 + P: "RotationMinX", "bool", "", "",0 + P: "RotationMinY", "bool", "", "",0 + P: "RotationMinZ", "bool", "", "",0 + P: "RotationMaxX", "bool", "", "",0 + P: "RotationMaxY", "bool", "", "",0 + P: "RotationMaxZ", "bool", "", "",0 + P: "InheritType", "enum", "", "",0 + P: "ScalingActive", "bool", "", "",0 + P: "ScalingMin", "Vector3D", "Vector", "",0,0,0 + P: "ScalingMax", "Vector3D", "Vector", "",1,1,1 + P: "ScalingMinX", "bool", "", "",0 + P: "ScalingMinY", "bool", "", "",0 + P: "ScalingMinZ", "bool", "", "",0 + P: "ScalingMaxX", "bool", "", "",0 + P: "ScalingMaxY", "bool", "", "",0 + P: "ScalingMaxZ", "bool", "", "",0 + P: "GeometricTranslation", "Vector3D", "Vector", "",0,0,0 + P: "GeometricRotation", "Vector3D", "Vector", "",0,0,0 + P: "GeometricScaling", "Vector3D", "Vector", "",1,1,1 + P: "MinDampRangeX", "double", "Number", "",0 + P: "MinDampRangeY", "double", "Number", "",0 + P: "MinDampRangeZ", "double", "Number", "",0 + P: "MaxDampRangeX", "double", "Number", "",0 + P: "MaxDampRangeY", "double", "Number", "",0 + P: "MaxDampRangeZ", "double", "Number", "",0 + P: "MinDampStrengthX", "double", "Number", "",0 + P: "MinDampStrengthY", "double", "Number", "",0 + P: "MinDampStrengthZ", "double", "Number", "",0 + P: "MaxDampStrengthX", "double", "Number", "",0 + P: "MaxDampStrengthY", "double", "Number", "",0 + P: "MaxDampStrengthZ", "double", "Number", "",0 + P: "PreferedAngleX", "double", "Number", "",0 + P: "PreferedAngleY", "double", "Number", "",0 + P: "PreferedAngleZ", "double", "Number", "",0 + P: "LookAtProperty", "object", "", "" + P: "UpVectorProperty", "object", "", "" + P: "Show", "bool", "", "",1 + P: "NegativePercentShapeSupport", "bool", "", "",1 + P: "DefaultAttributeIndex", "int", "Integer", "",-1 + P: "Freeze", "bool", "", "",0 + P: "LODBox", "bool", "", "",0 + P: "Lcl Translation", "Lcl Translation", "", "A",0,0,0 + P: "Lcl Rotation", "Lcl Rotation", "", "A",0,0,0 + P: "Lcl Scaling", "Lcl Scaling", "", "A",1,1,1 + P: "Visibility", "Visibility", "", "A",1 + P: "Visibility Inheritance", "Visibility Inheritance", "", "",1 + } + } + } + ObjectType: "Material" { + Count: 1 + PropertyTemplate: "FbxSurfacePhong" { + Properties70: { + P: "ShadingModel", "KString", "", "", "Phong" + P: "MultiLayer", "bool", "", "",0 + P: "EmissiveColor", "ColorRGB", "Color", "",0,0,0 + P: "EmissiveFactor", "double", "Number", "",1 + P: "AmbientColor", "ColorRGB", "Color", "",0.2,0.2,0.2 + P: "AmbientFactor", "double", "Number", "",1 + P: "DiffuseColor", "ColorRGB", "Color", "",0.8,0.8,0.8 + P: "DiffuseFactor", "double", "Number", "",1 + P: "Bump", "Vector3D", "Vector", "",0,0,0 + P: "NormalMap", "Vector3D", "Vector", "",0,0,0 + P: "BumpFactor", "double", "Number", "",1 + P: "TransparentColor", "ColorRGB", "Color", "",0,0,0 + P: "TransparencyFactor", "double", "Number", "",0 + P: "DisplacementColor", "ColorRGB", "Color", "",0,0,0 + P: "DisplacementFactor", "double", "Number", "",1 + P: "VectorDisplacementColor", "ColorRGB", "Color", "",0,0,0 + P: "VectorDisplacementFactor", "double", "Number", "",1 + P: "SpecularColor", "ColorRGB", "Color", "",0.2,0.2,0.2 + P: "SpecularFactor", "double", "Number", "",1 + P: "ShininessExponent", "double", "Number", "",20 + P: "ReflectionColor", "ColorRGB", "Color", "",0,0,0 + P: "ReflectionFactor", "double", "Number", "",1 + } + } + } + ObjectType: "Geometry" { + Count: 1 + PropertyTemplate: "FbxMesh" { + Properties70: { + P: "Color", "ColorRGB", "Color", "",0.8,0.8,0.8 + P: "BBoxMin", "Vector3D", "Vector", "",0,0,0 + P: "BBoxMax", "Vector3D", "Vector", "",0,0,0 + P: "Primary Visibility", "bool", "", "",1 + P: "Casts Shadows", "bool", "", "",1 + P: "Receive Shadows", "bool", "", "",1 + } + } + } +} + +; Object properties +;------------------------------------------------------------------ + +Objects: { + Geometry: 40009856, "Geometry::Mesh_Object", "Mesh" { + Properties70: { + P: "COLLADA_ID", "KString", "", "", "Mesh_Object_lib" + } + Vertices: *192 { + a: -1.146,1.6575,2.348,-1.146,1.67177,2.49285,-1.146,1.67177,2.20315,-1.146,1.7125,2.35,-1.146,1.71402,2.63214,-1.146,1.71402,2.06386,-1.146,1.72571,2.48412,-1.146,1.72571,2.21588,-1.146,1.76483,2.61309,-1.146,1.76483,2.08691,-1.146,1.78263,2.76051,-1.146,1.78263,1.93549,-1.146,1.82836,2.73195,-1.146,1.82836,1.96805,-1.146,1.87497,2.87303,-1.146,1.87497,1.82297,-1.146,1.91386,2.83614,-1.146,1.91386,1.86386,-1.146,1.98749,2.96537,-1.146,1.98749,1.73063,-1.146,2.01805,2.92164,-1.146,2.01805,1.77836,-1.146,2.11586,3.03398,-1.146,2.11586,1.66202,-1.146,2.13691,2.98517,-1.146,2.13691,1.71483,-1.146,2.25515,3.07623,-1.146,2.25515,1.61977,-1.146,2.26588,3.02429,-1.146,2.26588,1.67571,-1.146,2.4,3.0905,-1.146,2.4,3.0375,-1.146,2.4,1.6625,-1.146,2.4,1.6055,-1.146,2.53412,3.02429,-1.146,2.53412,1.67571,-1.146,2.54485,3.07623,-1.146,2.54485,1.61977,-1.146,2.66309,2.98517,-1.146,2.66309,1.71483,-1.146,2.68414,3.03398,-1.146,2.68414,1.66202,-1.146,2.78195,2.92164,-1.146,2.78195,1.77836,-1.146,2.81251,2.96537,-1.146,2.81251,1.73063,-1.146,2.88614,2.83614,-1.146,2.88614,1.86386,-1.146,2.92503,2.87303,-1.146,2.92503,1.82297,-1.146,2.97164,2.73195,-1.146,2.97164,1.96805,-1.146,3.01737,2.76051,-1.146,3.01737,1.93549,-1.146,3.03517,2.61309,-1.146,3.03517,2.08691,-1.146,3.07429,2.48412,-1.146,3.07429,2.21588,-1.146,3.08598,2.63214,-1.146,3.08598,2.06386,-1.146,3.0875,2.35,-1.146,3.12823,2.49285,-1.146,3.12823,2.20315,-1.146,3.1425,2.348 + } + PolygonVertexIndex: *66 { + a: 26,22,18,14,10,4,1,0,2,5,11,15,19,23,27,33,37,41,45,49,53,59,62,63,61,58,52,48,44,40,36,30,31,34,38,42,46,50,54,56,60,57,55,51,47,43,39,35,32,29,25,21,17,13,9,7,3,6,8,12,16,20,24,28,31,-31 + } + GeometryVersion: 124 + LayerElementMaterial: 0 { + Version: 101 + Name: "" + MappingInformationType: "AllSame" + ReferenceInformationType: "IndexToDirect" + Materials: *1 { + a: 0 + } + } + Layer: 0 { + Version: 100 + LayerElement: { + Type: "LayerElementMaterial" + TypedIndex: 0 + } + } + } + Model: 40316640, "Model::Mesh_Object", "Mesh" { + Version: 232 + Properties70: { + P: "InheritType", "enum", "", "",1 + P: "ScalingMax", "Vector3D", "Vector", "",0,0,0 + P: "DefaultAttributeIndex", "int", "Integer", "",0 + P: "COLLADA_ID", "KString", "", "", "Mesh_Object" + } + Shading: Y + Culling: "CullingOff" + } + Material: 40377824, "Material::test_Smoothing", "" { + Version: 102 + ShadingModel: "phong" + MultiLayer: 0 + Properties70: { + P: "DiffuseColor", "ColorRGB", "Color", "",0.141176,0.184314,0.411765 + P: "COLLADA_ID", "KString", "", "", "test_Smoothing" + P: "Emissive", "Vector3D", "Vector", "",0,0,0 + P: "Ambient", "Vector3D", "Vector", "",0.2,0.2,0.2 + P: "Diffuse", "Vector3D", "Vector", "",0.141176,0.184314,0.411765 + P: "Specular", "Vector3D", "Vector", "",0.2,0.2,0.2 + P: "Shininess", "double", "Number", "",20 + P: "Opacity", "double", "Number", "",1 + P: "Reflectivity", "double", "Number", "",0 + } + } + AnimationStack: 39734048, "AnimStack::Take 001", "" { + } + AnimationLayer: 40179088, "AnimLayer::Layer0", "" { + } +} + +; Object connections +;------------------------------------------------------------------ + +Connections: { + + ;Model::Mesh_Object, Model::RootNode + C: "OO",40316640,0 + + ;AnimLayer::Layer0, AnimStack::Take 001 + C: "OO",40179088,39734048 + + ;Material::test_Smoothing, Model::Mesh_Object + C: "OO",40377824,40316640 + + ;Geometry::Mesh_Object, Model::Mesh_Object + C: "OO",40009856,40316640 +} +;Takes section +;---------------------------------------------------- + +Takes: { + Current: "" + Take: "Take 001" { + FileName: "Take_001.tak" + LocalTime: 0,46186158000 + ReferenceTime: 0,46186158000 + } +} -- cgit v1.2.1