Archived

This topic is now archived and is closed to further replies.

DoubleDose

Drawing a pixel

Recommended Posts

bosjoh    122
First you will need to know how to set videomodes (don't start with BGI, it's really not worth it.). To do this you must learn a little asm.

And it is really useful if you know how to access memory data (using pointers).

Hope that gave you the courage to learn more about graphics programming.

Share this post


Link to post
Share on other sites
DoubleDose    122
I know very little about object programming and such, so please forgive my knowing very little. Anyways, i have Borland's Turbo C++ and i was just wondering what is the source code for drawing a pixel. If you can tell me that, i can figure out the rest.

Share this post


Link to post
Share on other sites
CJ    122
Hmmmm.....I don't think it will get you far to know how to write a pixel on a screen. It surely depends what you are using. Like a DIB-section, or DirectX or OpenGL. Each handles their pixel-writing different.

------------------
Dance with me......

Share this post


Link to post
Share on other sites