I have a project coming up that will entail two separate OSG applications. The first one will be a psuedo "scene generator" which will receive commands (lookto points into a terrain) and render to a texture. This texture will then need to be sent "across the wire" to the second app running on another machine which will be the subscriber. This second OSG app will take the rendered texture and us it as a background to a HUD (target acquisition system emulator). I'm looking for suggestions as to the easiest/fastest way to do this. I know I can render to a file, but writing to the hard drive may be too slow. I would like to some how render to a memory block (maybe using jpeg compression to keep it small) and then send this (via sockets, etc.) to the other app. Are there any examples / utilities that show how to render to a , say, memory-mapped file with jpeg compression as well as an example as to how to then retreive this for use?

Mike Greene

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to