Re: [osg-users] Reading osg files with images and xml files from archives on Android

2011-12-13 Thread Thomas Hogarth
Hi J-S Thanks for the heads up on the Virtual File System thread, just spotted it on the Submissions thread. I'll read through and add my two cents as I think this will be really important for android developers. I may still use the ReadFileCallback as a temp fix as I am doing a proof of

Re: [osg-users] Reading osg files with images and xml files from archives on Android

2011-12-12 Thread Thomas Hogarth
Hi Again 2. I use osgDB XmlPasser quite a bit for simple meta data stuff. Is there a way to read an xml file from and archive? I usually read my xml files like so So I solved one of my problems, I used the present 3d plugin as inspiration to write a simple plugin to wrap loading xmlinput

Re: [osg-users] Reading osg files with images and xml files from archives on Android

2011-12-12 Thread Jean-Sébastien Guay
Hi Tom, I now just have the issue that images referenced by .osg files are not loaded from the archive, anyone have any advice? The images are referenced relative to the .osg e.g. image\\diffuse.png Have you seen Terry Welsh's thread on developing a virtual file system plugin so that a zip

[osg-users] Reading osg files with images and xml files from archives on Android

2011-12-11 Thread Thomas Hogarth
Hi All I've been playing around with the zip plugin in order to read files from my apk file on Android. Apk is basically a zipped up version of your app with all the assets etc inside. This is now working fine while directly reading images, .osg files and fonts, however I have two issues. 1.