Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I have a mediaelement tag in my wpf-window. It's playing a simple animation, similar to the windows xp copy file dialog.
The animation has an ugly pink background #FF00FF, that I want to be transparent. I've tried setting the color in the OpacityMask attribute, but the color remains. Any ideas on how I can remove the color from the video?
You can use a shader effect to remove a specific color. Luckily this type of shader is part of the WPF Pixel Shader Effects Library - http://www.codeplex.com/wpffx which is available free of charge. The effect that you should look at is called ColorKeyAlpha.
Here you can find more info on the subject and if you are new to shaders this blog series has all the information you will need -
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have designed my UI in WPF(xaml) but when i run it on screen bigger than the size of my desktop, the screen distorts,how to avoid this?
Please share the xaml code. In general it happens when you hard code the width and height of controls in xaml. If used "Auto" property for both Height and Width the controls will align themselves automatically depending on screen size or resolution.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I'm an Amiga programming newbie.
I need to produce an application that displays graphics in a similar way to the popular drawing application, Deluxe Paint by Dan Silva, published by Electronic Arts. Just a vertically scrolling image, preferably in HAM mode.
How do I open a new screen based on the result from a screenmode requester dialogue box using HiSoft C for the Amiga?
Requirements:
Open a new hires interlaced screen in as many colours as hardware will allow
Basic menu structure that I can manipulate (Top Right-click menu)
A project window, similar to the HiSoft C editor
A control panel along the top similar to the one in Digita Wordworth with text boxes, buttons and tabs
I also need an off screen buffer that is as wide as the screen and as tall as memory will allow.
This needs to be compatible with:
Workbench 3.0 and above
68020 and above
ECS & AGA chipset
0.5..2Mb chipmem + 0..∞ fastmem
From the question, I'm not sure how experienced you are with Amiga programming. If you have zero experience with the way windows and screens are set up, then I can strongly recommend Anders Bjerin's Amiga C Manual
It's fairly old and predates AGA, but it shouldn't be a huge problem to extrapolate how to open a 256 colour screen.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want draw lines and then I click the line and delete it. How can I find the line that I wanted by using mouse? Can an one help me?
Your question has nothing to do with OpenGL you know. You'll have to keep a collection of lines around, get your mouse input somehow (depends on what you're using), figure out whether the mouse position during a click was within an existing line (with some margin of error), and then remove that from the collection.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I want to be able to export only the selected layers in photoshop as individual png images (that are trimmed properly). I see the script to do all the layers in a PSD, but I only want to do the layers I've selected. Is this possible?
One workaround for doing this would be:
1) Hide the layers you don't want to export
2) Use the usual File > Scripts > Export Layers to File and tick the "Visible layers only" option
hope that helps :)
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I'm new to Maya, so is there a way to set the camera to be inside of a car? I understand that there are certain cameras like a perspective camera, but I'm having trouble figuring out if there's a simple way to set a camera, or if it's even possible at all. Thanks for your help!
Make a camera Create -> Cameras -> Camera, then enable move/rotate tool and put it wherever you want. You can also move even the existing camera to position the same way, or by dragging mouse and alt+mmb, alt+lmb+mmb and alt+lmb.