Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Transparent SVG over video
Transparent SVG over video [message #1698283] Fri, 12 June 2015 20:16
Mathew Benson is currently offline Mathew BensonFriend
Messages: 12
Registered: July 2010
Junior Member
Can somebody recommend the best approach to render an SVG document over a panel with video? Basically, a SVG defined heads up display on live video. I wrote a functioning plugin but the SVG rendering is slow.

I wrote a plugin that uses JSVGCanvas to render a dynamic SVG document, with a transparent background, over a JPanel with the paint() function overriden to drawImage video frames decoded with Xuggle. The canvas and the JPanel are in a container with OverlayLayout. I'm also updating the SVG DOM to animate the rendered elements. The video works great but the the SVG seems slower than I would expect and progressively gets slower until I get maybe 5 seconds per frame. Is there a better way to do this?

[Updated on: Fri, 12 June 2015 20:19]

Report message to a moderator

Previous Topic:Disable save action on a text editor
Next Topic:Can I embed JavaFx WebView in eclipse plugin?
Goto Forum:
  


Current Time: Sat Apr 20 01:40:06 GMT 2024

Powered by FUDForum. Page generated in 0.02172 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top