Updated my Irrlicht revision, and now during loading of "some" (don't know what turns this on) b3d models, Irrlicht freezes. (for example: MeshViewer)
Exists in SVN 2546, (some older from 28/29.07 too)
Irrlicht 1.5 and older work fine.
Example test model: http://89.171.200.74/40.rar
(40/level.b3d)
[fixed]b3d loader freezes
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
The problem is that you use network paths for your textures: //192.168.0.1/something
This seems to give fopen major problems. I'll check the man pages.
Edit: Ok, I have changed the fopen() test by access(), but this did not help much. So it's definitely better to avoid such filenames.
We might also change the default texture loading order. Most loaders do check the original filename first, then the basename (which means loading from the current working directory), then the mesh's path. The latter tests will also be made with additional paths from the original filename. Maybe we should try the more local paths first.
This seems to give fopen major problems. I'll check the man pages.
Edit: Ok, I have changed the fopen() test by access(), but this did not help much. So it's definitely better to avoid such filenames.
We might also change the default texture loading order. Most loaders do check the original filename first, then the basename (which means loading from the current working directory), then the mesh's path. The latter tests will also be made with additional paths from the original filename. Maybe we should try the more local paths first.
I'm only poining out that this default behavior has changed. I didn't create this model so I don't know what paths are inside... But I know that they didn't have problems loading in older Irrlicht versions (SVN around 1600 I think...)
I had also some problems with loading textures in some SVN from end of July... looks like it didn't check the mesh directory, only current working dir (don't know if this is repaired yet).
I had also some problems with loading textures in some SVN from end of July... looks like it didn't check the mesh directory, only current working dir (don't know if this is repaired yet).
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Yes, it's repaired. And all models will (at some point) use the same loading scheme. As said, maybe the current solution is not the best. But you can easily get around this problem by fixing the actual mesh. BTW: You can also just wait a few seconds, it will load after all texture checks have timed out