Horde3D

Next-Generation Graphics Engine
It is currently 28.03.2024, 11:10

All times are UTC + 1 hour




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 21.12.2009, 21:10 
Offline

Joined: 10.04.2008, 09:13
Posts: 86
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.

Image

Have a nice day!


Top
 Profile  
Reply with quote  
PostPosted: 21.12.2009, 23:31 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
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 :D


Top
 Profile  
Reply with quote  
PostPosted: 23.12.2009, 17:40 
Offline

Joined: 10.04.2008, 09:13
Posts: 86
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.


Top
 Profile  
Reply with quote  
PostPosted: 23.12.2009, 18:50 
Offline

Joined: 21.08.2008, 11:44
Posts: 354
Hi, demo is too impressive. Is it possible to have transparent backgrounds too? [I mean removing those black boxes]


Top
 Profile  
Reply with quote  
PostPosted: 23.12.2009, 19:11 
Offline

Joined: 10.04.2008, 09:13
Posts: 86
Yes, transparency is supported. I've just updated the demo to show some transparency in the menu items.


Top
 Profile  
Reply with quote  
PostPosted: 23.12.2009, 19:57 
Offline

Joined: 21.08.2008, 11:44
Posts: 354
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!!!


Top
 Profile  
Reply with quote  
PostPosted: 29.12.2009, 18:30 
Offline

Joined: 10.04.2008, 09:13
Posts: 86
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 50 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group