Advertisement

X Files

Started by May 28, 2000 01:55 PM
3 comments, last by Ozz 24 years, 5 months 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.
you meen a 3d model type like .3ds ?

~prevail by daring to fail~
Advertisement
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