8

I've been sorting through DirectX, DirectShow, etc. and can't figure out which .NET C# library would be the best.

I'm making an art installation that will feature full screen video. I'd like the user to be able to pan and zoom in and out on the video as it's playing, ideally with no skipping or hiccups. Is there a Microsoft technology that stands out as an obvious choice for this?

John Saunders
  • 160,644
  • 26
  • 247
  • 397
Hairgami_Master
  • 5,429
  • 10
  • 45
  • 66

2 Answers2

1

Don't forget to consider WPF.. It is a lot faster to get started with than Direct3D... It also has an infrastructure designed for glitch free animations, independent from delays from garbage collection and ui thread activity.

In very complex GUI's, WPF can come with some hidden cost, which annoys people, claiming WPF is slow. But I am confident it will work fine in the scenario you describe.

  • 1
    The performance can be very slow, but if used by someone who knows what they're doing it can be quite performant in most circumstances. – N_A Mar 06 '12 at 16:24
  • @mydogisbox: I wholeheartedly agree. I did not mean to sound negative of WPF. I'll rephrase... –  Mar 06 '12 at 18:56
  • Done! I think this better conveys the message I was trying to get across. –  Mar 06 '12 at 19:15
0

IMHO Use XNA. It has much deeper support than the old managed directX. This guy answered your question for you: http://www.david-amador.com/2009/10/xna-camera-2d-with-zoom-and-rotation/

bopapa_1979
  • 8,949
  • 10
  • 51
  • 76