Search code examples
c++flashogre3dogre

Hikari: background animation


i have an OGre3D+Hikari application, and i'd like to use a flash animation in a loop in its background.

I've tried to tweak some parameters in createFlashOverlay (specifically the zorder and the tier), but nothing changed: my overlay is still on top of my 3d ogre mesh and i want it to be always in the background. What could i do?

Thanks!


Solution

  • Your problem is, that Hikari doesn't seem to support Render To Texture (I found no clues of it being able to do that when I searched for it).

    If you just want the animation I would recommend Berkelium

    Berkelium is a full-blown browser (Chromium) so it's quite heavy for a gui. Render To Texture does work with it, however.

    Just let it render to a texture and use that texture on a mesh in the background.

    Berkelium in action