[fixed] Irrlicht v1.1 .3ds loader problem?
[fixed] Irrlicht v1.1 .3ds loader problem?
In porting my little game to irrlicht 1.1 from 1.0, I think I found a problem. Niko mentioned there were "fixes" to the loaders. In Irrlicht v1.0, my castle object looked fine:
But now in Irrlicht v1.1, it looks like this:
The tops of my towers are hovering! Please help!
If you want to download the free castle mesh, go here:
http://www.3dgurukul.com/Free%20Models/GMP/G4.htm
I noticed problems with some other object too. For example, I have a missile object where the fins no longer appear on the shaft of the missile. And a taxi car object, that can't load it's .tga textures.
But now in Irrlicht v1.1, it looks like this:
The tops of my towers are hovering! Please help!
If you want to download the free castle mesh, go here:
http://www.3dgurukul.com/Free%20Models/GMP/G4.htm
I noticed problems with some other object too. For example, I have a missile object where the fins no longer appear on the shaft of the missile. And a taxi car object, that can't load it's .tga textures.
Last edited by Panther on Sat Sep 16, 2006 12:40 am, edited 1 time in total.
Using DX8.1
Both of the above examples are using DirectX v8.1 I also tried it with OpenGL, with the same result. I'm unable to try DirectX 9.1 - so I don't know if that has the same problem.
Same bug in DirectX 9, and with two different video cards
Well, a couple weeks have passed, and no one seems to know what is causing this problem. Perhaps the objects have a problem.
I bought a new video card (upgraded from an NVIDIA GeForce FX5200XT to an NVIDIA 7600GS). The problem exists on both cards, and in all video modes.
There's another object that has a similar problem. It's a free missile by DarkGuy. The fins don't line up with the fuselage of the missile:
http://www.turbosquid.com/FullPreview/I ... /ID/226949
This seems similar to the problem I mentioned above (the castle tower tops don't line up with the towers).
I bought a new video card (upgraded from an NVIDIA GeForce FX5200XT to an NVIDIA 7600GS). The problem exists on both cards, and in all video modes.
There's another object that has a similar problem. It's a free missile by DarkGuy. The fins don't line up with the fuselage of the missile:
http://www.turbosquid.com/FullPreview/I ... /ID/226949
This seems similar to the problem I mentioned above (the castle tower tops don't line up with the towers).
Taxi can't load textures
The free taxi I mentioned above is here:
http://www.amazing3d2.com/free3d2/taxi3ds.zip
It's interesting to note that Irrlicht 1.0 can load this, and 1.1 cannot. Also, that Irrlicht 1.0 does not have the problems above (castle, missile).
http://www.amazing3d2.com/free3d2/taxi3ds.zip
It's interesting to note that Irrlicht 1.0 can load this, and 1.1 cannot. Also, that Irrlicht 1.0 does not have the problems above (castle, missile).
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
The 3ds loader is now fixed (Svn revision 192, or patch from the fileformats page). I don't know of such an .obj problem, so in case you meant 3ds please update the subject (by editing your first posting).
The problem was due to the keyframe section, which is not yet ompletely implemented and seems to introduce problems even for simple meshes. In my test set I only had 3ds files which either did not work at all, or always worked.
The problem was due to the keyframe section, which is not yet ompletely implemented and seems to introduce problems even for simple meshes. In my test set I only had 3ds files which either did not work at all, or always worked.
Still doesn't work!
Hybrid,
Bad news. I tried applying the 3DS.patch you provided. I re-built Irrlicht 1.1, and the problem with the castle is still the same. Also, the missile object still has its fins skewed.
Bad news. I tried applying the 3DS.patch you provided. I re-built Irrlicht 1.1, and the problem with the castle is still the same. Also, the missile object still has its fins skewed.
Castle details
I played with it a little. The tower-tops seems to be skewed about 500 in the positive-Z direction.
Scale, Rotation, and Position don't seem to be implicated (same problem persists). Also, the mesh can be created with either addOctTreeSceneNode or addMeshSceneNode, and the same problem arises.
Scale, Rotation, and Position don't seem to be implicated (same problem persists). Also, the mesh can be created with either addOctTreeSceneNode or addMeshSceneNode, and the same problem arises.
It works now!
Hybrid,
Thank you for fixing it. Your bug fix worked - both the castle and the missile display correctly. (My dumb mistake was I re-built Irrlicht.dll, but didn't over-write the old local copy of it in my bin directory... )
Anyway, thanks! It looks great now!
-- Panther
Thank you for fixing it. Your bug fix worked - both the castle and the missile display correctly. (My dumb mistake was I re-built Irrlicht.dll, but didn't over-write the old local copy of it in my bin directory... )
Anyway, thanks! It looks great now!
-- Panther
-
- Posts: 2
- Joined: Wed Oct 18, 2006 4:42 am
Noobie question: How do I get this patch
Sorry for the noob question but I looked through the sourceforge page and I couldn't figure out how to get the "Svn revision 192" patch for the 3DS file loader. I'm experiencing the *exact* problem described in this thread. Any help would be greatly appreciated. Thank you!
Best,
Ken Schwarz
Best,
Ken Schwarz
-
- Posts: 2
- Joined: Wed Oct 18, 2006 4:42 am
Got it ... never mind
Saw hybrid's link ...