Horde3D http://www.horde3d.org/forums/ |
|
Horde3DFlash - Render Flash content on a texture http://www.horde3d.org/forums/viewtopic.php?f=6&t=1061 |
Page 1 of 1 |
Author: | jimbo [ 21.12.2009, 21:10 ] |
Post subject: | Horde3DFlash - Render Flash content on a texture |
To create a more advanced GUI system I've made a library to render Flash content to any texture in the engine. It should plug in nicely and has a C-Api similar to Horde3D. Functions for communication to and from the flash movie are available. I've included a demo application and an ActionScript 3 Flex project to show what's possible. A little documentation is included. This code only works on Windows. Download beta HERE. ![]() Have a nice day! |
Author: | marciano [ 21.12.2009, 23:31 ] |
Post subject: | Re: Horde3DFlash - Render Flash content on a texture |
Hey jimbo, that is awesome! Thanks a lot for making this available to the horde community! I have just compiled your code using VS2005. The only issue was that one needs to include <rpcsal.h> in dllmain.cpp, otherwise the RPC qualifiers are all undefined. What about creating a wiki page for your project which gives a basic overview? I guess that could be a good starting point for the community. BTW, it seems that something similar is available for ogre. So it's really great that we have a solution as well now ![]() |
Author: | jimbo [ 23.12.2009, 17:40 ] |
Post subject: | Re: Horde3DFlash - Render Flash content on a texture |
Just updated to v0.2: Added name parameter to h3dfCreateTexture(). Added h3dfRemoveTexture() function. Added h3dfPlay() function Added h3dfStop() function Added include for rpcsal.h for older compilers. |
Author: | Siavash [ 23.12.2009, 18:50 ] |
Post subject: | Re: Horde3DFlash - Render Flash content on a texture |
Hi, demo is too impressive. Is it possible to have transparent backgrounds too? [I mean removing those black boxes] |
Author: | jimbo [ 23.12.2009, 19:11 ] |
Post subject: | Re: Horde3DFlash - Render Flash content on a texture |
Yes, transparency is supported. I've just updated the demo to show some transparency in the menu items. |
Author: | Siavash [ 23.12.2009, 19:57 ] |
Post subject: | Re: Horde3DFlash - Render Flash content on a texture |
I'm a fan of Flash and AS3ing too. That's great to do the game gui stuff with Flash and it would make the life a lot easier than before and theres no need to write a lot of code to manage a simple gui. BTW, Horde3DFlash rocks!!! |
Author: | jimbo [ 29.12.2009, 18:30 ] |
Post subject: | Re: Horde3DFlash - Render Flash content on a texture |
I've updated the library a bit: h3dfCreateTexture is now a utility function, you can also apply flash to existing textures. h3dfCreate(..) is now the creation function to apply Flash to any texture. Rendering on the texture is now UV (bottom-left = 0,0) so it applies correctly on existing textures. Updated the demo. |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |