[osg-users] Animating images
Brian
bpdavis at knology.net
Fri Jan 18 08:39:08 PST 2008
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
More information about the osg-users
mailing list