pixelarray? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

pixelarray?

hello,
can anybody say me how i can access the pixels of a window(maybe fullscreen) and write the colors from a array in it?

what should i use for this directdraw/3d, opengl, or just windowsfunctions?
it should be fast, easy and look smooth(i dont want to see how the screen is filled)

hope you understand my question
thanks for all replies

Comments

  • bog2k3bog2k3 Posts: 56Member
    you could use windows functions to draw on the window canvas directly but if you want something really fast (and to not see how the screen is filled) you should use directdraw. first create a primary surface to which you attach a backbuffer. you blit your drawing on the backbuffer and then flip the buffers and voila! the drawing is shown on the screen in a split second.
  • shadowomfshadowomf Posts: 6Member
    thanks for the help

    i will try it, do you know any good tutorials about it?
  • bog2k3bog2k3 Posts: 56Member
    : thanks for the help
    :
    : i will try it, do you know any good tutorials about it?
    :

    i happen to have a tutorial for u. I made it in C++ Builder 5.0.
    If you want it, gimme your e-mail and i will send it to u. good luck.
  • ssaammll75ssaammll75 Posts: 2Member
    : : thanks for the help
    : :
    : : i will try it, do you know any good tutorials about it?
    : :
    :
    : i happen to have a tutorial for u. I made it in C++ Builder 5.0.
    : If you want it, gimme your e-mail and i will send it to u. good luck.
    :
    I could use your tutorial, please? [email protected]
    I'm having trouble getting into a file format that is very rare, and I hope the compression is not an oddball format.
Sign In or Register to comment.