فهرست منبع

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;