Hi Martin,

has anyone tried loading textures, meshes etc from the Qt resource system? I am 
thinking about how best to distribute my resources with my application.

I have loaded meshes (in .osg format) from Qt resources in the past, yes.

In general as long as the plugin you want can accept a binary or text istream (depending on whether it's a text or binary format) to load from, it should work. If the plugin only implements loading using a filename, you'd have to write the resource to a temp directory and load it from there.

Hope this helps,

J-S
--
______________________________________________________
Jean-Sebastien Guay              jean_...@videotron.ca
                    http://whitestar02.dyndns-web.com/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to