[osg-users] OSG file format and textures...
Hi All, Sorry if this is an old chestnut, but I got a question about the .osg file format. I've got a scene created, and I save the universe out as a .osg file. I've passed no options through in the the call, so the file that's created appears to have the textures that the scene uses actually embedded within the osg file. For my purposes this is great. However, when I double click on the osg file, and view it with the osgviewer, no textures appear. I should add at this point that I'm still using OSG 1.2 - would love to move on but no time at the moment. So, has anyone come across this problem before ? The textures that have been used are targas and jpegs if that's any help. It appears that using the options parameter I could force the save to merely record a reference to the texture, and this would solve my immediate problem, however I thought that I may have stumbled across a minor bug, and wanted to check if anyone knew about it. Thanks for any comments Neil. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] OSG file format and textures...
Hi Robert, thanks for getting back to me. I think there is probably a whole load of confussion at my on this point. I had mistakenly assumed that the information I was looking at in the OSG file was the embedded textures. Doh! Evidently I should try reading the node names in the osg file. Sorry. You are correct, I think it really is just the texture references that I should have told it to export as well. Thanks for the help. Neil. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] OSG file format and textures...
Hi Neil, Is this simply a file path issue? FYI, .osg doesn't embed imagery in any way, it only has external refrences. The .ive format can embed images though. Robert. On Sat, Mar 1, 2008 at 7:45 PM, <[EMAIL PROTECTED]> wrote: > Hi All, > > Sorry if this is an old chestnut, but I got a question about the .osg file > format. > > I've got a scene created, and I save the universe out as a .osg file. I've > passed no options through in the the call, so the file that's created appears > to have the textures that the scene uses actually embedded within the osg > file. For my purposes this is great. However, when I double click on the osg > file, and view it with the osgviewer, no textures appear. > > I should add at this point that I'm still using OSG 1.2 - would love to move > on but no time at the moment. > > So, has anyone come across this problem before ? > > The textures that have been used are targas and jpegs if that's any help. > > It appears that using the options parameter I could force the save to merely > record a reference to the texture, and this would solve my immediate problem, > however I thought that I may have stumbled across a minor bug, and wanted to > check if anyone knew about it. > > Thanks for any comments > > Neil. > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org