Any ideas on how to implement it with Qt4.7 or with the native win32 api. It's fine to use DirectX (via sth like this) or OpenGL too. An animation with a semi-transparent window that refreshes in every frame with more opacity is flickering like hell. For now I'm thinking about Windows 7 but WinRT compatibility wouldn't hurt.
Related
I have to make an app with 2d drawing for Windows RT. I don't know how can achieve that. Drawing with xaml is not a option, because I have to draw it at run time, and the content of graphic will varies. I am looking for something like android's View and it's onDraw() method, Is that possible?
I’m working with an Image control and I’m trying to implement pinch-zoom and panning.
None of the ready-to-go samples on the web, which handles the zoom and pan, worked as smoothly as the native Photos app on Windows Phone or like when viewing an image in Internet Explorer.
This led me to implement my own way of handling them which included me trying the following ways: (Scaling works as of now and I’m trying to get the panning to work too)
Putting the Image inside a ViewportControl; resulted in incredibly jerky scaling, but panning works smoothly. Setting UseOptimizedManipulationRouting="False" on the image didn't make a difference.
Putting the Image inside a ScrollViewer; scaling doesn't even work and panning is glitchy (jerky sometimes).
Using only the Image control and making use of animations to handle the smooth panning.
I haven't implemented step 3 yet, because I can't shake the feeling I've missed something. How can something so widely used be this hard to implement? :|
So my question is
What do I need to do to implement pinch-zoom and panning as smooth as in the Photos app?
If animations are the way to go can they be used to smooth scaling and translations to match that of the native experience?
I am working on a mac osx control that is OpenGL based. Currently I am using an NSOpenGLView and a CVDisplayLink to coordinate my rendering on a background thread. This works great, but I need to allow Cocoa controls to be displayed over this OpenGL based control.
I realize you can do this with putting your Cocoa controls in borderless windows, however, that doesn't seem like a very good workflow for my users.
Alternatively I can make the view layer-backed and I got that working, however I don't like rendering my OpenGL content on the main thread, sometimes it blocks the main thread when the frame-rate dips.
Are there any samples that show how to achieve the best of both worlds?
The background thread for rendering is completely irrelevant. You just need to enable layer-backing for the views and then the subviews/controls will be composited correctly on top of your OpenGL content. You can also use CAOpenGLLayer for more explicit layering with CALayers.
Xbox Live tile animation in Windows Phone is alot more dynamic than all the tile animations I was able to produce.
Is it possible to mimic that animation somehow in my live tile?
You can't have animated live tiles to that degree, only first-party applications have access to this functionality at the moment.
http://www.opinionatedgeek.com/Blog/BlogEntry=000554/BlogEntry.aspx
The only animation you get on the main desktop is the background / foreground tile flip animation, but that again is controlled by the OS.
This makes some measure of sense, otherwise the number of animated live tiles from third-party apps could fast degrade your battery.
In the Microsoft Silverlight for Windows Phone Toolkit 7.1 (http://silverlight.codeplex.com/) has a control called HubTitle, thats allow some additional (and very cool) tiles templates...
I just wondering how to make panorama start-up animation like music+video or picture app. Notice the sliding 3d animation when we open music+video/picture/marketplace app.
When I create panorama project using VS 2010 Express, the animation is just from right to left.
How do i make that animation?
If I understand you correctly - take a look to Wp7 silverlight toolkit - page transitions
The animations are there, but if you have too many things running on the UI thread, the animation will be hard to see since loading will be choppy. To test this, just make a new page with a default panorama inside it and observe the animation while its empty. Zune app will always be faster, its run on native code from my understanding.