From: Olaf F. <of...@of...> - 2012-01-06 22:57:17
|
Hi, I ran at the issue described in post http://comments.gmane.org/gmane.games.flightgear.devel/64128 > osgDB ac3d reader: could not parse texture coords while reading object > "Mesh1 Component_1_1 M" setting to (0,0) As Martin correctly said it is the KSFO_DomesticGarage.ac. Problem here is that this models contains underflowing numbers like "2.80259692865e-45" Unfortunately MacOSX detects and reports numerical underflows when reading floats. Consider the code -------------- #include <iostream> int main() { float eins, zwei; eins= 1.f; std::cin >> eins; if (!std::cin) std::cout << "nix wars" << "\n"; std::cout << eins << "\n"; } --------------- When feeding this code with the input 1e-37 you get the output 1e-37 But if you feed it with 1e-38 you get: nix wars 1 Since this is an isolated problem, I would recommend to fix the model here. Cheers Olaf |