|
|
How can I change hue and saturation of incoming stream while capturing in direct show?
tank you in advanced
|
|
|
|
|
Based on what I've read, I would look to write a DirectX Media Object which I could host in the DirectShow graph and use that to filter the stream. You can find details here[^].
|
|
|
|
|
how to create a running text in c#.
|
|
|
|
|
You need to provide more detail as to your actual problem, but do not expect someone to provide you with a full working solution; that is Google's job.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
|
I am looking to apply Texture to an already compiled OpenGL List.
Is it possible to apply texture to a GL List. Please let me know how to do it.
My OpenGL list contains TRIANGLE STRIPS (defined with gl.Normal3d & gl.Vertex3d)
Typically my code would be generating a GL List as below. To this List I want to apply some texture.
gl.NewList(GLListTag, gl.COMPILE);
{
gl.Begin(gl.TRIANGLE_STRIP);
for (int i = 0; i< PointsCount; i++)
{
gl.Normal3d(x,y,z)
gl.Vertex3d(a,b,c)
}
gl.End();
}
gl.EndList();
|
|
|
|
|
Gents, I've created round edges on a moveable container but have a run into a little wrinkle.
How do you remove the left over bits of the original rectangle? They look like 4 pointed hats, one on each corner of that original rectangle.
I'm no GDI+ expert (obviously) but is there an easy way to remove the left over edges from a rectangle that is now a rounded rectangle?
|
|
|
|
|
How are you drawing your rectangle? There's a really useful demo here[^] that might help you out.
|
|
|
|
|
Thank you! I did read through that and I noted that it was a container in a container housing another container. I was trying to avoid adding one more container to the list if possible but if you think that's a good route, then I'm buying it!
I've got a working datagridview housed in a toolstrip though a host. It's resizeable, and rounded, and those pesky little rectangle corners show up if the background is changed...yuk!
Thanks...
|
|
|
|
|
Is it possible to draw a hexagon with children and paint it with Lineargradientbrush? If it is possible, can somebody help me with the sample?
Example is the type used in Microsoft office 2007 color dialog box.
|
|
|
|
|
Trying a Google search first would have got you these links[^].
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Ok I am waiting. I believe that there must be a clever way of doing that.
|
|
|
|
|
Tonielro wrote: Ok I am waiting. Waiting for what?
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
I googled it as you directed and I got good one but it is written in C++ and I am not familiar with C++. This is the link (www.codeproject.com/Articles/24970/XColorDialog-MFC-color-picker-control-that-disp). Can you help in converting it to VB.NET or C#? Or can you build the DLL in the same language?
|
|
|
|
|
Tht grey mass between your ears is not there to keep them apart. How about using it to figure it out yourself? I know it's unfair, but that's the usual way you accomplish something on this planet.
At least artificial intelligence already is superior to natural stupidity
|
|
|
|
|
I am aware of that but remember that 2 good heads are better than one. Well, you advice is very ok. You learn better when you do thing yourself but other persons' idea can pave you way. Your contributions on how to do it is also impotant.
|
|
|
|
|
Tonielro wrote: I googled it as you directed I don't know what you Googled but if you had bothered to follow the link I provided you would have found lots of samples for drawing shapes in VB.NET.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Hi, I'm trying to render the contents of a window, with desktop composition disabled, on an off-screen buffer. I have no control over the window and the only thing I have is the window handle and the DC. I thought about allocating an off-screen DC and doing something like:
PostMessage(hWnd, WM_ERASEBKGND,
(WPARAM)hMemDC, 0);
PostMessage(hWnd, WM_PAINT, 0, 0);
But it doesn't seem to work. Please note that I don't want the application to render on the primary display DC. In other words I want to redirect it's graphical output, and blit the result in my window.
modified 16-Jun-12 9:59am.
|
|
|
|
|
Hi,
I'm trying to mix Device Contexts and OpenGL but not the usual way. I don't want to draw with GDI on top of an OpenGL scene. What I wanna do, is apply an HDC bitmap as a texture on an OpenGL polygon. I know that this is generally a bad idea, but if you know anything about how is that possible, you would be very helpful. I'm coding on C/C++ on Win32. A DirectX 8/9 solution would also be appreciated.
modified 26-May-12 11:12am.
|
|
|
|
|
Finally found the solution myself. If anyone else is interested in that, the process is simple. You create a bitmap from the DC (there are many websites that describe this), and then you apply that BITMAP object as a texture, the way you'd apply any other bitmap texture.
|
|
|
|
|
I also have a problem about this, thanks for the info.
Spoolrd
|
|
|
|
|
Hello my name is emile my best pro lang is vb2010. I love vb and I now all the code by hart I can pro in C# just as good as vb I now that C# is the best of the 2 langs but I want to do it in vb I have made an 3d cube using directx 10 and visual stodio 2010 but can't add 2 cubes or more I need step by step help to re making the cube and adding more then one to buld a box to walk in (in to make an camera that moves like a first person game) help
|
|
|
|
|
|
I'm am whiting exams at this time and can't look at it now but will look at it this weekend tanks
|
|
|
|