.x files

Started by
4 comments, last by acrowder 20 years, 5 months ago
I need help in loading a .x file. I need some examples on just loading, and rendering one to the screen preferaby in dx8. I won''t neeed to animate it or anything like that, just display it every frame as fast as possible for framerate purposes. I appreciate your help!
Advertisement
Just look at the sample code in the SDK. I think one of the tutorials shows how to load and render non-animated .x files.

___________________________________________________________
Proceeding on a brutal rampage is the obvious choice.
___________________________________________________________Where to find the intensity (Updated Dec 28, 2004)Member of UBAAG (Unban aftermath Association of Gamedev)
Email me and I can help, remind me though of what you need help doing..
quote:Original post by amish1234
Just look at the sample code in the SDK. I think one of the tutorials shows how to load and render non-animated .x files.

___________________________________________________________
Proceeding on a brutal rampage is the obvious choice.


I agree, the sdk tutorial on loading meshes is pretty simple and straight forward.
You'll find an excellent tutorial here...

http://www.andypike.com/tutorials/directx8/010.asp

Another can be found here...

http://nexe.gamedev.net/tutorials/ViewTutorial.asp?tutorialfile=Pages/Tutorial7.myxml

Good luck!

[edited by - Fatbob on November 14, 2003 2:43:12 PM]
You could check out the d3dfile.cpp and .h in the C:\DXSDK\Samples\C++\Common\Src folder. It shows fairly clearly how to load and render a .x file. You could just use the class or copy and paste the required code?
www.JeremyPardon.com

This topic is closed to new replies.

Advertisement