Selaa lähdekoodia

Maya consistently returns a vertex stride >=52, not >=64 for
vertices that have PositionNormalTexturedWeight (skinned models)

professorf 11 vuotta sitten
vanhempi
commit
2dc72ce5a7

+ 1 - 1
Exporters/XNA - OBJ/BabylonExport.Core/Entities/PositionNormalTexturedWeights.cs

@@ -6,7 +6,7 @@ namespace BabylonExport.Core
 {
     public struct PositionNormalTexturedWeights : IDumpable, IQueryable
     {
-        public const int Stride = 64;
+        public const int Stride = 52; // Maya returning >=52 for PNTW vertex, not 64
         public Vector3 Position;
         public int Indices;
         public Vector4 Weights;