Hi, On Tue, 2010-06-29 at 12:34 +0200, Johannes Brunen wrote: > Hello Gerrit, > > "Gerrit Vo" <vo...@vossg.org> schrieb im > Newsbeitrag news:1277428084.2503.43.ca...@feynman... > > >> I still have to check the particular revision you use. > > > after making two minor changes, remove the artificial node level > > the osg loader introduces and to handle the name attachment correctly > > while writing, I get the attached diff when reading and writing the > > file (w1.osg) with testWindowGLUT (r2449). I will push the changes to > > the latest version. > > > Sorry, but I need some more explanations. I'm not familiar with the patch > utility output.
a line starting with '<' means take out the line, a line with '>' is to be added, the line number indicate where. So for example 247,251c242 < core Transform < { < matrix 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 < attachments [ ] < } --- > core NULL mean from w1.osg to the new output, the 5 lines concrete core instance are replace by single 'core NULL' line. > > > > Assuming still have the problems could you run your > > test program with OSG_LOG_LEVEL=10 and sent me the output. > > > With the last revision? I will do but that will also take a little while... not necessarily, I tried it with the one you gave and could not recreate it so that one should be fine. I can switch reasonably fast between revisions. > > And maybe > > try it with testWindowGLUT (the writing is disabled by default with > > #if 0). > Yes, I will do... > > > > > That the beacons have a node but no core is a bug inside the writer > > which can access and object even if there is only a weak reference > > left. While running the system itself sees no beacon. > > > Do I have a problem in the manner of the scene setup? the problem is that the beacons referenced are not written into the file other than in the beacon location itself. So on reloading this will fail. So if you want to export these elements you have to write the node referenced as well. 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