problem reading .osm file

ghiboz

16-05-2007 00:28:50

hi!
I'm trying to use the .osm file, seems to work, but I have a .osm with 2 entities, the first is loaded correctly, the second give this error:

---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Assertion failed!

Program: ...
File: e:\projects\ogrecvs\branches\eih...\ogreax...edbox.h
Line: 239

Expression: (min.x <= max.x && min.y <= max.y && min.z <= max.z) && "The minimum corner of the box must be less than or equal to maximum corner"

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)
---------------------------
Interrompi Riprova Ignora
---------------------------


thanks everyone! :wink:

ghiboz

16-05-2007 07:19:14

http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=4061
found the problem, but now, also with this new fix the texture is different between others mesh in the scene.
in my sample is a door of a car, and the difference is big!

regards! :wink:

Lioric

16-05-2007 16:39:08

Post a screenshot, the contents of the scene and the log of the exporter, and the ogre.log file from your application when loading the scene