LoadMesh b3dArchives Forums/Blitz3D Bug Reports/LoadMesh b3d
Last month, the code "LoadMesh("building.b3d")" worked just fine. However, this code no longer returns a file handle. How do we fix it?!
| This isn't a Blitz3D bug.|
If LoadMesh is returning 0, it pretty much means it couldn't find the model to load.
| That's what I assumed, but the model does exist in the correct file, and it does contain the needed data. |
| make sure to test it with a file that works on every machine. Maybe your B3D file isn0t totally perfect. Maybe you have replaced your hardware/driver/compiler version. In some rare cases a B3D file may work on one machine and won't work on another machine. If somthing's wrong with it and it cannot be loaded successfully then blitz will also return zero.|
A surface with more than 33000 triangles may work on some systems only. (Use a max of signed 16 bit values for tris and verts)
| I finally found the problem. Somehow, I got an old version of B3d that couldn't use the file. Even the EntityRadius only took the x_radius#! |
| . |