Hi Andreas, The bug seems to be caused because of the modification in rev 12669, which uses unget() instead of seekg() to solve the problem of unix file endings. Roll back and convert the .osg file to .osgt under Windows and you may view it smoothly. But the trunk version could neither view these files (including dumptruck, lz and spaceship AFAIK) with unix nor windows endings.
Is it possible that there is another solution for replacing the seekg() function? Wang Rui 2011/6/29 Andreas Ekstrand <[email protected]>: > Hi J-S, > > Thanks for the confirmation. I'm also on Windows 7 64 bit, VC++ 2008 > Express. It hangs in both x86 and x64 builds. > > It seems readString( passString ) always returns the empty string for the > osg::Geometry with UniqueID 8 and that the readObjectFields for this > geometry didn't manage to read any primitive sets into the geometry. I guess > bailing out nicely somehow from the loop in advanceToCurrentEndBracket would > be preferable, as finding the cause for the failed reading of the geometry > of course. All this complex enough to prevent me from fixing it in a jiffy > though... > > Regards, > Andreas > > > On 2011-06-29 16:04, Jean-Sébastien Guay wrote: >> >> Hi Andreas, >> >>> With OpenSceneGraph-3.0.0, loading >>> OpenSceneGraph-Data-3.0.0/spaceship.osgt in osgviewer hangs in an >>> infinite loop in AsciiInputIterator::advanceToCurrentEndBracket. I >>> haven't been able to find the cause for this, maybe someone more >>> knowledgeable in these new formats understands what's going on? If I'm >>> not the only one experiencing this? >> >> I can confirm. Windows 7 64 bit, VC++ 2008 x64 build. >> >> What platform/compiler are you using? >> >> I can't look into it right now, just wanted to confirm I'm seeing this >> also. >> >> J-S > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

