.x files
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!
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.
___________________________________________________________
Proceeding on a brutal rampage is the obvious choice.
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]
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?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement