Archived

This topic is now archived and is closed to further replies.

X file questions

This topic is 6116 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

Hi, I have a couple questions about using x files. One, I understand what a normal to a face is but I understand it when I see it an x file, here for a cube... MeshNormals { 8; // define 8 normals 0.333333;0.666667;-0.666667;, -0.816497;0.408248;-0.408248;, -0.333333;0.666667;0.666667;, 0.816497;0.408248;0.408248;, 0.666667;-0.666667;-0.333333;, -0.408248;-0.408248;-0.816497;, -0.666667;-0.666667;0.333333;, 0.408248;-0.408248;0.816497;; 12; // For the 12 faces, 3;0,1,2;, // define the normals 3;0,2,3;, 3;0,4,5;, 3;0,5,1;, 3;1,5,6;, 3;1,6,2;, 3;2,6,7;, 3;2,7,3;, 3;3,7,4;, 3;3,4,0;, 3;4,7,6;, 3;4,6,5;; } I dont quite follow this, what do you numbers in each place mean?, maybe Im too tired or slow or something, I know it seems like Im jumping into something without truly knowing what Im doing, thats why Im just looking for any help to get me somewhere Another question I have, is in an x file for a cube you''d have 8 vertices, but what would you do if you wanted a sphere? Well sorry if I wasted anyones time who read this, but Id appreciate any advice or help. Thanks a lot!

Share on other sites
I dont quite follow this, what do you numbers in each place mean?

>they''re index, like index after vertexes

Another question I have, is in an x file for a cube you''d have 8 vertices, but what would you do if you wanted a sphere?

>create sphere in 3DMAX and take a look at your x file. Number of points will of figure.

1. 1
2. 2
Rutin
23
3. 3
JoeJ
20
4. 4
5. 5
gaxio
13

• 24
• 40
• 23
• 13
• 13
• Forum Statistics

• Total Topics
631734
• Total Posts
3001933
×