Search found 3 matches

by Zhu
Fri Nov 14, 2008 5:18 am
Forum: Bug reports
Topic: Bug in get inverse matrix
Replies: 2
Views: 1145

Bug in get inverse matrix

In CMatrix4<T>::getInverse, when to determine whether the determinant of the matrix is zero, the tolerance, ROUNDING_ERROR_32 which is 0.000001f, is too big. Assumpt that one object is scaled to 1/1000, then the transform matrix is {0.001, 0, 0, 0, 0, 0.001, 0, 0, 0, 0, 0.001, 0, 0, 0, 0, 1}, then i...
by Zhu
Fri Nov 14, 2008 5:05 am
Forum: Bug reports
Topic: [fixed]Texture error in Ogre mesh loader in irrlicht 1.4.2
Replies: 6
Views: 916

You can test it with ninja.mesh from samples in Ogre SDK. This will replicate the bug in the function COgreMeshFileLoader::composeMeshBuffer.
Then you can find a mesh with multiple submesh. This will replicate the bug in the function COgreMeshFileLoader::composeMeshBufferLightMap.
by Zhu
Thu Nov 13, 2008 8:30 am
Forum: Bug reports
Topic: [fixed]Texture error in Ogre mesh loader in irrlicht 1.4.2
Replies: 6
Views: 916

[fixed]Texture error in Ogre mesh loader in irrlicht 1.4.2

When you load ogre mesh files into irrlicht 1.4.2, you will find that the textures are wrong. The reason is to confuse Index field and Source field in struct OgreVertexElement. Fix method: replace "if (geom.Elements .Index==geom.Buffers[j].BindIndex)" with "if (geom.Elements .Source==...