🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

X Files

Started by
3 comments, last by Ozz 24 years ago
Has anyone seen or is anyone working on a Directx .x file importer for OpenGL or is this even possible? If not, why not? Thanks.
Advertisement
you meen a 3d model type like .3ds ?

~prevail by daring to fail~
the DirectX SDK comes with an x file importer for Direct3D.
Since this one reads the file, your job is only to replace the D3D calls with the proper GL calls. Should be far easier than writing a loader on your own...

--------------------------
www.glvelocity.com
glvelocity.demonews.com
Tim--------------------------glvelocity.gamedev.netwww.gamedev.net/hosted/glvelocity
I''ve written an importer for x as I found it the easiest file format to start with, very straightforward. It works reasonable well but I have to add some lines to the files (the number of models for example) as I have not found a way to scan the file and count them manually. Any ideas?

Quo

quocain@hotmail.com
You can use a DirectX Class to import the verticies.

------------------------
Captured Reality.

This topic is closed to new replies.

Advertisement