Skip to content

Graphics

DirectX, OpenGL and GDI/GDI+ discussions

This category can be followed from the open social web via the handle graphics@forum.codeproject.com

769 Topics 2.5k Posts
  • Semi automatic forground video segmentation

    algorithms json
    2
    0 Votes
    2 Posts
    2 Views
    E
    ptr_Electron wrote: suggestion are greatly appericated google [correlation tracking algorithm] _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
  • PNG Alpha blending/channel in VC++ 6.0?

    graphics c++ winforms question
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • old unix gl mook mosies over to VS 8 beta 2

    question csharp c++ visual-studio help
    2
    0 Votes
    2 Posts
    2 Views
    E
    do you have the platform SDK installed? Any of this[^] help? _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
  • Imange Manipluation with Asp.Net

    csharp asp-net winforms com graphics
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • TextureLoader - InvalidOperationException

    graphics help tutorial question
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • display driver

    tutorial help
    2
    0 Votes
    2 Posts
    3 Views
    C
    What exactly are you trying to do ? Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
  • Graphics for Unix in C++

    graphics question c++ game-dev sysadmin
    2
    0 Votes
    2 Posts
    3 Views
    E
    MartyExodus wrote: What can I use to print graphics to the screen in Unix with C++? MartyExodus wrote: I'm telnet-ing into a unix server, so I don't know if that will affect my ability to download libraries like OpenGL. 1st off if you are executing via telnet, you are stuck with Xwindows. OpenGL doesn't remote well. 2nd I wouldn't recommend installing OpenGL into a Unix box unless you have full control over that box, A) I doubt it is possible without root access and B) it's not for the faint hearted. MartyExodus wrote: If I can gain to draw and move bitmaps on the screen it will be enough. That definitely sounds simple enough to be an X-windows job. http://trolltech.com/products/qt[^] will let you use Xwindows as a front-end and they have some bitmap manipulation routines as well as 2D drawing. OpenGL will take you beyond that stage into 3D textured environments multi-frame rendering and complex 3D shapes with rotations. _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
  • Catching and Processing GDI+ Exception

    graphics question csharp winforms help
    6
    0 Votes
    6 Posts
    3 Views
    S
    Thank you! It turns out that some JPEG image files; which look fine as thumnails, display correctly; may have some kind of defect that causes GDI+ to throw an error. This is good, since I'm using the try/catch blocks to isolate them. Thank you for your help. Below is the modified code which works fine; but coughs up an occasional image file that may look fine, but has some internal defect that confuses the GDI+ decoder. using System; using System.Collections.Generic; using System.Text; using System.Drawing; namespace ListFiles1 { class Program { static void Main(string[] args) { System.IO.DirectoryInfo dir = new System.IO.DirectoryInfo(@"c:\image"); foreach (System.IO.FileInfo file in dir.GetFiles("*.jpg")) { try { Bitmap myBitmap = new Bitmap(file.FullName); Console.WriteLine("{0}, {1}, {2}, {3}", file.Name, file.Length, myBitmap.Width, myBitmap.Height); myBitmap.Dispose(); } catch (Exception e) { Console.WriteLine("*************** Exception Caught for {0}", file.FullName); Console.WriteLine(e.Message); //Console.WriteLine(e.StackTrace); //throw; } } Console.WriteLine("Any character to exit..."); Console.ReadLine(); } } }
  • Image Editor

    c++ delphi help
    2
    0 Votes
    2 Posts
    2 Views
    M
    While there may be some Builder users here, this is a Visual C++ board, so you may also want to ask on a Borland-centric board as well :) Cheers, Mark Mark Salsbery Microsoft MVP - Visual C++ :java:
  • 0 Votes
    1 Posts
    1 Views
    No one has replied
  • color management and GDI+

    graphics winforms hardware help question
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • getting infragistics

    csharp com help question announcement
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Font compilation, design

    design tutorial question
    4
    0 Votes
    4 Posts
    4 Views
    E
    Mark Salsbery wrote: CodeProject - Your Visual Studio and .NET Resource - and Typography? CodeProject Atlas -- Supporting the world since 2007 _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
  • Drawing overlays over button controls

    graphics csharp question
    2
    0 Votes
    2 Posts
    3 Views
    I
    Painting on the form doesn't work, because all form drawing takes place on a layer behind the controls. I see two possible solutions, depending on what you're trying to accomplish... 1) If you just need to draw something on the button itself, try subclassing the button and inserting your own OnPaint code (After a base.OnPaint call) 2) If you're drawing on both the form -and- the button, like an arrow pointing to the control, your transparent form idea might work. It might take some tweaking, but you can override the WndProc method to pass the WM_NCHITTEST message (I think that's the one), always returning the value for Nothing (I think the constant is called HTNOTHING). Windows calls this when the user tries to interact with something, to determine which process/thread/control should receive the event. This basically tells it that your form isn't really there, as far as input is concerned.
  • OpenGl in vb6

    graphics game-dev question com
    3
    0 Votes
    3 Posts
    1 Views
    H
    Thanks very much... :cool::cool::cool: Manuel say: Greetings from Mexico, Cuando salga el sol, no estare aqui... --------------------------------------- Web: http://www.otakuzone-fanzine.com Forum: http://www.otakuzone-fanzine.com/foro
  • Arc/Pie Drawing in WinCE (Algorithm)

    graphics algorithms help
    2
    0 Votes
    2 Posts
    5 Views
    H
    Hi! I having a bit of trouble with drawing an arc and I hope somebody here could give me a hint. What I want is to draw an arc given the following parameters: a bounding box (x1,y1,x2,y2) and a start- and end-angle. The center point of the arc is the same as the center point of the bounding box, and the start- and end-angle determines how long the arc should be. In example, a square bounding box and a start-angle of 0 and end- angle of 360 will give a perfect circle (the inscribed circle of the bounding box), while a "squashed" box and angles of 110 - 200 will give a quarter of an equally squashed circle (starting at 110 degrees). Moreover, I would like to draw filled arcs (like a pie slice) as well. Can anybody give me a hint or an algorithm to look at? I've looked at the normal Bresenham circle algo and think it should be possible to adapt this, but I've been unsuccessfull so far. WinCE Does not support MFC's ARC/Pie .
  • cmbine parts of the images to complete the picture

    tutorial
    3
    0 Votes
    3 Posts
    4 Views
    E
    mresh wrote: In one of my project i have to create the sketch of human face by combining diffrent parts of the face but i have n idea how it can be done please guide me in detail run down to your nearest art store, get a book on drawing the human face. This breaks down the face into percentages of the head. Do the same in your program. _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
  • 0 Votes
    2 Posts
    4 Views
    T
    Probably not a lot different that what peephole optimizing compilers do with ordinary code. That technology is pretty mature. Mongkut to a Christian missionary friend: "What you teach us to do is admirable, but what you teach us to believe is foolish".
  • converting .mb to .obj

    question learning
    4
    0 Votes
    4 Posts
    2 Views
    T
    Christian Graus wrote: An obj file is a code file There's an early graphics file format that, unfortunately, is also .obj for "3d Object". If I remember right, it's a text file that defines vertices, polygons, etc. Mongkut to a Christian missionary friend: "What you teach us to do is admirable, but what you teach us to believe is foolish".
  • filling Arbitrary Area..usin MFC

    c++ tutorial
    2
    0 Votes
    2 Posts
    3 Views
    L
    Try creating a single path, like the outline of a C that is almost closed on itself, then fill it. If necessary, use two such C paths, one a mirrored image of the other. :) Luc Pattyn [Forum Guidelines] [My Articles] this weeks tips: - make Visual display line numbers: Tools/Options/TextEditor/... - show exceptions with ToString() to see all information - before you ask a question here, search CodeProject, then Google