Преглед на файлове

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

professorf преди 11 години
родител
ревизия
2dc72ce5a7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Exporters/XNA - OBJ/BabylonExport.Core/Entities/PositionNormalTexturedWeights.cs

+ 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;