zukisan

Members
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

100 Neutral

About zukisan

  • Rank
    Newbie
  1. Hi all, I am trying to save a mesh in .x file, and the I wan to be able to load it. The problem I have is that the meshnormals are being saved as 0 and the load crashes (if I manually modify the values, it works) Here is how my x-file looks: Mesh { 3; 0.000000;0.000000;0.000000;, 0.500000;1.000000;0.000000;, 1.000000;0.000000;0.000000;; 1; 3;[color="#ff0000"]0,0,0;;[/color] MeshNormals { 3; -0.707100;0.000000;-0.707100;, 0.000000;0.707100;-0.707100;, 0.707100;0.000000;-0.707100;; 1; 3[color="#ff0000"];0,0,0;;[/color] } and here how I modify it manually in txt so I force it work: Mesh { 3; 0.000000;0.000000;0.000000;, 0.500000;1.000000;0.000000;, 1.000000;0.000000;0.000000;; 1; [color="#ff0000"]3;0,1,2[/color];; MeshNormals { 3; -0.707100;0.000000;-0.707100;, 0.000000;0.707100;-0.707100;, 0.707100;0.000000;-0.707100;; 1; [color="#ff0000"]3;0,1,2;[/color]; } How can I set Mesh and Meshnormal information??