Hi, On Tue, 2010-06-29 at 12:22 +0200, Johannes Brunen wrote: > Hello Gerrit, > > sorry for beeing silent that long, but I did have a system crash which did > consume all of my time... > > "Gerrit Vo" <vo...@vossg.org> schrieb im > Newsbeitrag news:1277288404.2503.2658.ca...@feynman... > > > > one problem I can see when loading w1.osg is that the clip plane chunk > > beacons are not quite correct. > > > Inside of the w1.osg file or after loading of the file?
syntactically there are correct inside w1.osg. The problem is these are 'real' weak pointers now (1.x was more lenient IIRC) and they seem to reference nodes which are not written into the file. So they load correctly but do not get a real (permanent) reference increment during loading, so when the loader releases its references the weak ptr kicks in and the application sees a NULL ptr when the beacon field is queried as only the weak reference is left. > > > > Initially I had the problem that there is a GeoToEntityAttachment which > > I guess is a custom container of your application. Which does not load > > correctly. > > > Yes it is. Did I forget something in its implementation? Should I provide > the files? no, I just took them out. > > > > Otherwise your file seems to load and re-export fine using > > testWindowGLUT. > > > > test_1.osg looks more like the loader is failing quite early. > > > Yes, I did provide this one only to show that the reading of w1.osg failed. hmm, the most usual reason for the loader to fail is that it does not know one of the containers (unfortunately they are needed even for the syntax parsing). Does your test program know about the GeoToEntityAttachment inside the w1.osg file ? kind regards gerrit ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users