PDA

View Full Version : How can I use DirectX .X File in OpenGL



znc
10-05-2002, 09:31 AM
I want use DirectX .X File in OpenGL, how to do it? Has anyone did it? Help me please!

davepermen
10-05-2002, 10:03 AM
there are documents in the dxsdk describing the format of the .x files. with those and the knowledge of datastructures and file-loading i assume you have, its nothing different than any other format..

but no, i haven't worked with .x files except for a very short time and its quite a while back..

V-man
10-05-2002, 04:09 PM
Yea, I checked out some of the spec. But its time consuming to write an importer.

If anyone knows of a x to 3ds, ase, lwo, obj converter, lemme kno!

I was gone hack a DX demo to have it export the vertices. No dice!

V-man

znc
10-06-2002, 04:21 AM
Thank you for the reply!

jwatte
10-06-2002, 08:42 AM
If you think it's time consuming to write an importer for a format that's actually documented and where working files already exist, then how will you find most other parts of computer graphics? This field requires oodles of patience and persistence.

V-man
10-06-2002, 12:03 PM
Originally posted by jwatte:
If you think it's time consuming to write an importer for a format that's actually documented and where working files already exist, then how will you find most other parts of computer graphics? This field requires oodles of patience and persistence.

Definitly, but I dont consider file importing/exporting to be part of 3d graphics. It s more of a data management affair

Neverthless, "you got to do what you got to do". That's my motto. http://www.opengl.org/discussion_boards/ubb/smile.gif

V-man

roffe
10-06-2002, 12:34 PM
I use DeepExploration
http://www.righthemisphere.com/products/dexp/index.htm

for all my import/export needs. Great program. If you just want a single file/model
converted I can even do it for you, email
me at mathiaspalm@yahoo.com

V-man
10-06-2002, 03:16 PM
roffe,

an issue with importers is version number. The newer x files can be zip compressed. DeepExploration doesn't support it.

Anywhoo, I will have to ask some DX folk for help about the hacking a DX demo.

V-man

znc
10-08-2002, 04:24 AM
I use 3D Exploration to convert different 3D graph files, I think it is good for the job. My question is load .x file in OpenGL, because I need it for my project, thank you.

robinl
10-13-2002, 03:32 PM
Originally posted by V-man:
roffe,

an issue with importers is version number. The newer x files can be zip compressed. DeepExploration doesn't support it.

Hi V-man,

FYI: Support for zip compressed files is definitely on our 'to-do' list for Deep Exploration as this has been requested by several people.

Regards,
Robin.
---
support@righthemisphere.com http://www.righthemisphere.com/