.X Files and Irrlicht
.X Files and Irrlicht
How do you use .X files with Irrlicht? I don't know how to load them or display them. I want to use them as maps, so how would I get them to be solid like the map in the Collision Detection example?
How about loading it like the map in the Collision Detection example???
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
open it in mview and save as text in the save dialog.
also, export as tex in the exporter setting in your 3d package
also, export as tex in the exporter setting in your 3d package
Finally making games again!
http://www.konekogames.com
http://www.konekogames.com
There are many post in this forum about this topic, in fact i even posted one myself... Download direct x sdk it comes with a small proggy that will open your x files.. Once loaded into mview you can resave it...
When you reasave it chose save as text format and any mistakes in the x code are usally fixed and then as long as the textures are located in the same dir as the x file it should load when called from the irrlicht engine...
Hope this helps...
Also if you have slow conection the dir x sdk is quite large and there is a post some place where just the mview is posted...
When you reasave it chose save as text format and any mistakes in the x code are usally fixed and then as long as the textures are located in the same dir as the x file it should load when called from the irrlicht engine...
Hope this helps...
Also if you have slow conection the dir x sdk is quite large and there is a post some place where just the mview is posted...
if u have DX9 sdk installed just go to Microsoft DX9 SDK under program then Utilities->Mesh Viewer
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.
Crucible of Stars
Crucible of Stars
Reading and going over the code for the examples that came with the download of irrlicht is the best bet for you... It shows how to load a .x file for a animated avatar in one of the examples....
You can add the same code for collision that is used for the 3ds file called room.3ds in the effects example...
I found a lot of info that I needed to know just by looking over the code from the examples...
BUT i will say that most everyone here in this forum are great help as well when you do come across a problem that seems to just never be resolved by yourself...
And I often come here and just read the forum and ive found many topics that are good info to read about and you may learn tons of things without even haveing to ask a question at all.....
You can add the same code for collision that is used for the 3ds file called room.3ds in the effects example...
I found a lot of info that I needed to know just by looking over the code from the examples...
BUT i will say that most everyone here in this forum are great help as well when you do come across a problem that seems to just never be resolved by yourself...
And I often come here and just read the forum and ive found many topics that are good info to read about and you may learn tons of things without even haveing to ask a question at all.....