Hi,

I've recently started looking into rendering a Macromedia Flash movie to an OSG 
Texture2D object.  I have code in place that gets the job done, but its 
performance is slower than I'd like.  I realize that part of the problem stems 
from the fact that the Flash control renders to a Windows GDI bitmap.  I create 
the bitmap in such a way as to have immediate access to its data, but I feel 
that the GDI rendering process plus the call to osg::Image::setImage to refresh 
the texture's image is causing the bottleneck.

Is there a faster alternative than using osg::Image::setImage?  Or is there a 
way that I can directly use HDC that the Flash control renders with OSG?

Thanks,
Brian

P.S.  We are still using OSG 1.2

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to