Archived

This topic is now archived and is closed to further replies.

acrowder

.x files

Recommended Posts

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!

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites