View previous topic :: View next topic |
Author |
Message |
EricTheAnteater Member
Joined: 10 Feb 2005 Posts: 8
|
Posted: Tue Mar 22, 2005 11:05 am Post subject: X export |
|
|
There seems to be a prob with the x exporter. When you load it into Irrlicht, you get this in the opening console:
loaded x file with material
couldn't load "whocares.xyz"
loaded x file with material
couldn't load "whocares.xyz"
loaded x file with material
couldn't load "whocares.xyz"
loaded x file with material
couldn't load "whocares.xyz"
missing semicolon in vector array
unknown object: header
(This isn't EXACTLY what it looks like but it's pretty close to it)
Then, when the game starts, it will be black, and flat-shaded.
I guess 4 now I'll have to use the dmf reader. |
|
Back to top |
|
|
Jeroen Site Admin
Joined: 07 Aug 2004 Posts: 5332 Location: The Netherlands
|
Posted: Tue Mar 22, 2005 11:24 am Post subject: |
|
|
It could be either the DeleD X exporter or the Irrlicht X import routine. Does the X file load in other apps (like MS Meshviewer)? |
|
Back to top |
|
|
EricTheAnteater Member
Joined: 10 Feb 2005 Posts: 8
|
Posted: Tue Mar 22, 2005 7:17 pm Post subject: I think I know what it is... |
|
|
OK, I think I know what the problem may be. I think there are two .x formats:
.X; DirectX Format, and .X, DirectX8.1 format. |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Tue Mar 22, 2005 9:52 pm Post subject: |
|
|
Not exactly, there are numerous revisions of the .x file format (check the first line of the .x file), but they run asynchronous from the DirectX version.
The thing is, DeleD's exported .X files should run fine if you use the latest version of both irrlicht and DeleD. I know so because I tried. There is a small bug in the irrlicht .X loading code (like I reported in http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=5794 ), but since 1.1 DeleD compensates for that.
So if you are experiencing problem, you either have different Irrlicht / DeleD versions than I used to test with, or there is something different (bigger? corrupted? special content?) about your .X file. Would it be possible to send the .X file to me, so I can have a look ( paul [at] delgine [dot] com )? Did you test things with any special irrlicht application or just generic loading code? |
|
Back to top |
|
|
|