PDA

View Full Version : *.x - files reading - please help!



TB-Rex
04-18-2001, 09:42 AM
I want to read a *.x file. My target is to extract the vertices and triangles with texturecoords and so on. I dont need animations.

Please! I need a good description of the fileformat or the c++ code.

thanks for your help!

Deiussum
04-18-2001, 11:44 AM
Doesn't the DirectX SDK come with a description of that format? If not you might be able to find it at http://www.wotsit.org, or maybe somewhere in the MSDN web site.

TB-Rex
04-19-2001, 10:51 AM
I'm sure the is good code on the net. But I can't find some! To read the whole description and write my own I have not enoth time. Please, is there a URL with this code?

thanks

Nutty
04-19-2001, 01:23 PM
Theres a little app called 3D Explorer which can read .X files. And output the file in various other formats, including OpenGL C code!

A most handy utility!

Nutty

TB-Rex
04-20-2001, 03:30 AM
Thanks...but I can't find such a program with source. Do anybody has an URL or another tip?