Re: Render flash
- From: "ZMan" <zman@xxxxxxxxxxxxxx>
- Date: Wed, 21 Jun 2006 11:22:30 -0700
You should be able to use Texture.FromBitmap and grab the bitmap from the
picture box. (Be wary of a .Net 2.0 issue
http://www.thezbuffer.com/articles/401.aspx)
See
http://msdn.microsoft.com/coding4fun/april-fools/screensaver/default.aspx -
I did it for the whole screen there but I suspect its similar.
But I'm not sure if that will be fast enough for what you want.
You may be able to change the render flash code to render directly to a
bitmap rather than reading from a windows control.
--
Zman
http://www.thezbuffer.com - News and information for Managed DirectX
"Ken" <kennet@xxxxxxxxx> wrote in message
news:Ozb7SYRlGHA.4772@xxxxxxxxxxxxxxxxxxxxxxx
OK, I looked at the Ubrowser, to complex for me to port to C#...
Anyway, how do I add "take" a image renderd in a panel/picturebox and add
it to a texture so I can reder it into my device? OR must I save my images
continues to file and then use Texture.LoadFromFile ?
/Ken
"Natarius" <mw@xxxxxxxxxxxxxxxx> skrev i meddelandet
news:1150704046.394371.55330@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Ken wrote:
Hi!
Is it possible to show a macromedia flash file in a allocator as a
texture ?
This C++ project can render flash to a "panel"
http://www.codeproject.com/library/Render_Flash.asp
I prefer to code in C#
Thanks!
well its seems to be possible, cause i have seen a 3d web browser (
http://www.ubrowser.com/ - coded in c++ using opengl and mozilla as
browser) which at least plays flash inside web pages very well!
you also will find the source code there...good luck and don't forget
to post if you get it work
.
- References:
- Render flash
- From: Ken
- Re: Render flash
- From: Natarius
- Re: Render flash
- From: Ken
- Render flash
- Prev by Date: Re: Render flash
- Next by Date: Transparency by ColorKey
- Previous by thread: Re: Render flash
- Next by thread: Get a offscreen surface
- Index(es):
Relevant Pages
|