TDCG.dll側でVertex.factorを追加する必要があります。

Format
Diff
Post date
2013-09-22 04:17
Période de publication
Illimité
  1. Index: TDCG/Viewer.cs
  2. ===================================================================
  3. --- TDCG/Viewer.cs (revision 2187)
  4. +++ TDCG/Viewer.cs (working copy)
  5. @@ -861,7 +861,7 @@
  6. if (frame_len > 0)
  7. {
  8. long dt = DateTime.Now.Ticks - start_ticks;
  9. - int new_frame_index = (int)((start_frame_index + dt / wait) % frame_len);
  10. + int new_frame_index = (start_frame_index + (int)(dt * 0.0000001 * 60.0)) % frame_len;
  11. Debug.Assert(new_frame_index >= 0);
  12. Debug.Assert(new_frame_index < frame_len);
  13. frame_index = new_frame_index;
  14. @@ -913,7 +913,6 @@
  15. fig.UpdateBoneMatrices();
  16. }
  17. }
  18. - long wait = (long)(10000000.0f / 60.0f);
  19. private int frame_index = 0;
  20. /// <summary>
  21. Index: TDCG/TSOFile.cs
  22. ===================================================================
  23. --- TDCG/TSOFile.cs (revision 2187)
  24. +++ TDCG/TSOFile.cs (working copy)
  25. @@ -411,6 +411,9 @@
  26. /// 選択中であるか
  27. public bool selected = false;
  28. + /// ウェイト乗数
  29. + public float factor;
  30. +
  31. /// <summary>
  32. /// 頂点を読みとります。
  33. /// </summary>
Télécharger Printable view

URL of this paste

Embed with JavaScript

Embed with iframe

Raw text