Works ok in 2.7.1. 2009/2/5 Csaba Halász <[email protected]>: > Hi everybody. > > I have gotten a report that the LWO loader doesn't seem to work. > Investigating, I grabbed the sample LWO file posted by Marco Jez back > in november last year (attached for convenience). > Loading into osgviewer, I get an empty view. Trying osgconv, I get an > osg file full of zeroes and nans (also attached). > With SIGFPE enabled, gdb shows: > > Program received signal SIGFPE, Arithmetic exception. > [Switching to Thread 0x7f9b6be43730 (LWP 10599)] > 0x00007f9b6756e456 in lwosg::Block::setup_texture_point > (this=0xaee3c8, p...@0x7fff73fdcca0) at > OpenSceneGraph/src/osgPlugins/lwo/Block.cpp:141 > 141 Q.x() *= 1/imap_.mapping.size_.x(); > Current language: auto; currently c++ > (gdb) p imap_.mapping > $1 = {center_ = {_v = {0, 0, 0}}, size_ = {_v = {0, 0, 0}}, rotation_ > = {_v = {0, 0, 0}}, > csys_ = lwosg::Texture_mapping::OBJECT} > > That's clearly the source of the nans but maybe not the root of the problem. > I haven't tried to find the exact svn rev this got broken yet, maybe > somebody has a quick solution right away. > > -- > Thanks, > Csaba > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
-- The truth is out there. Usually in header files. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

