Results 1 to 12 of 12

Thread: Graphic problems, yet again...

  1. #1

    Thread Starter
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111

    Graphic problems, yet again...

    Ok I kind of, let me emphasize that KIND OF, got this down, i'm getting points drawn on my form anyway...

    How can I clear the form? Or even go further and possibly make what's drawn fade out to the background color, which is black.

    I included a zip of the exe of what I'm doing in VB, I want to convert this to c++ so it's faster and hopefully cooler. Since c++ can handle graphics much faster than VB.

    Any other suggestions are welcome since I am a newbie and c++ is much more difficult and complex than VB. If you do suggest something please include some source so I can *TRY* to use it.

    Thanks a lot!

  2. #2
    amac
    Guest
    I dont really have any answers for you... but how hard is it to create something like that?

  3. #3

    Thread Starter
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    The math is the easy part, lol, making C++ work with it is difficult... I can get the points to appear using setpixelV with windows.h API set. But... I can get the BG color to change, and I have no idea how to clear it.

    I'm stuck!

  4. #4

    Thread Starter
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Here's what I got so far in c++. Maybe you'll be able to help me better?

  5. #5

    Thread Starter
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Oh yeah... since i don't know how to do it with a timer setting it's refresh you have to move ur mouse over the form.

  6. #6
    amac
    Guest
    The source would help even more...

    did you try redrawing the window... with UpdateWindow() or RedrawWindow()?

  7. #7
    amac
    Guest
    If you ever have time, I would be interested in learning more about the "math".

  8. #8

    Thread Starter
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    I messed up the source... it doesn't work now... something about setpixelv being static or something.

  9. #9

    Thread Starter
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Is there anyway to put this in a console?

    It'd probably be better.

    *sigh*

  10. #10

    Thread Starter
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Hey amac you have IRC, msn, aim or something so we could chat about this?

  11. #11
    amac
    Guest
    Not sure about the console thing... I dont see why you couldnt though.

    I am on ICQ right now... 9685571, but I can also use IRC.... I will leave that up to you

  12. #12

    Thread Starter
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    I don't have icq, too many advertisements....
    i'll be on irc.newnet.net

    in #c++
    my name is dig_err

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width