Hi Eric,

I haven't used it, but apparently Gnash (GNU Flash movie player)[1]
has multiple backends for rendering flash content. I quickly
downloaded the source tarball and I see backends for OpenGL, Cairo and
AGG in there. As Jeremy indicated, the Cairo context would likely be
the way to go if you want results fast. Perhaps a customized backend
for OSG would be most flexible. Apparently, also movies inside flash
content can be played back using GStreamer or ffmpeg according to this
thread [2].

[1] Gnash (GNU Flash movie player), http://www.gnu.org/software/gnash/
[2] Thread on Gnash + OpenGL,
http://www.mail-archive.com/[email protected]/msg04983.html

On Tue, Feb 24, 2009 at 5:43 PM, Jeremy Moles <[email protected]> wrote:
> On Tue, 2009-02-24 at 16:31 +0000, Robert Osfield wrote:
>> Hi Eric,
>>
>> I don't know of any Flash NodeKit's/plugins for the OSG.
>
> The easiest way, in my opinion, would be to setup a Cairo context for an
> ImageStream object and continually update/dirty it. It would be decently
> fast, faster than a Flash plugin would be at any rate. :)
>
>> The way to do it would be in a similar way to how OSG-2.8 does the
>> osgWidget::Browser, VncClient and PdfReader widgets, where the
>> osgWidget library provides the interface, but the plugin implements
>> the connection with the 3rd party library that does all the heavy
>> lifting.  The events are passed seamlessly to the plugin
>> implementation, and can handle application of the texture on to non
>> planar objects.  This approach allows the plugin to just focus on
>> wiring up the rendering to an osg::Image and passing of events to the
>> 3td party library.
>>
>> Robert.
>>
>> On Tue, Feb 24, 2009 at 10:08 AM, Eric Pouliquen
>> <[email protected]> wrote:
>> > Hi all,
>> >
>> >     I would like to know if some nodekit provides a Flash embedding layer
>> > for OSG ? Something similar to the Hikari lib for Ogre3D
>> > (http://code.google.com/p/hikari-library/wiki/Introduction) which is based
>> > on the Flash activeX.
>> >
>> >     In fact, I'm looking for a good way to achieve very good quality GUI
>> > widgets, and I saw this seems to be a good way (design, transparency 
>> > etc)...
>> > if someone knows another way ? Another good point for this is the flash
>> > movies playing capabilities (as HUD or texture mapped of course).
>> >
>> > Best Regards,
>> >
>> > Eric Pouliquen
>> >
>> > _______________________________________________
>> > osg-users mailing list
>> > [email protected]
>> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>> >
>> >
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to