XNA Flash or Silverlight Integration

I would like to play either a regular Flash movie or a Silverlight movie on top of a 3D scene created using XNA using C #. The background of the Flash / Silverlight object must be transparent and dynamically loaded with the 3D engine.

The idea is that third-party developers and artists can effectively add simple 2D animations as a layer on top of the 3D rendering that will be played in real time.

Is this even possible? And if so, are there any pointers?

Both Flash and Silverlight are what we have in mind now, but other technologies can also be considered. The idea is that the animation layer should be easily made by artists and easily added dynamically, without having to recompile the 3D engine.

It should work only on Windows.

+3
source share
2 answers

Thanks, but I meant Flash / Silverlight. Flash / Silverlight! = Video. It may have some interactive elements.

Anyway, I found a solution:

http://www.khrona.com/products/awesomium/

This allows me to render HTML on top of XNA rendering graphics and includes Flash support.

+1
source

Here is a link so you can work and play videos in 2D.

2D video in XNA

My thoughts on how to display this on a 3D model would be to create RenderTargetand then display the video on it. The following is an example here where they use a webcam to display video on a 3D TV model.

+1

Source: https://habr.com/ru/post/1772451/


All Articles