Archived

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

ZeN

Plotting pixels

Recommended Posts

Well, this is my first post on the message boards, and from what I''ve seen, this place is great. I thought, since I''m not getting all that far with 3d graphics, or graphics in general, that I might come here. Enuf of that...Anyway, I''m looking for a FAST way to put pixels to the screen so I can convert my first QBasic 3d engine (LoL) to C/C++. Anyone know what''s fast and sorta simple that can be used in loops quickly? Thanx.

Share this post


Link to post
Share on other sites
I think he is using borland''s C++ compiler. Tell some more information about what videomode you are using (after the SCREEN statement in basic), and what compiler you''re using.

Share this post


Link to post
Share on other sites
not to get too far off topic, but i started with BC++ then went to VC++.

it would probably be best to learn direct x and use the pixel function to plot pixels that way.

Edited by - Moe on 4/7/00 1:14:07 PM

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Thanks a lot guys! Apparently, DirectX is the way to go, and of course it''s for Windows, so that''s all good. It seems all games today use DirectX somewhere.. That just kinda says, "DirectX ZeN" alone..

Thanx

Share this post


Link to post
Share on other sites
Hi,
pixel plotting under DOS or Windows ? And which graphics mode ? In mode 13h, the display memory starts at 0a000h and has a size of 64.000 bytes (320 x 200). Just write the palette entry you want into the memory and you''re gonna see the pixel on the screen.

Under windows, use DirectDraw, that will be the easiest way.

CU

Graphix Coding @
Skullpture Entertainment
http://www.skullpture.de

Share this post


Link to post
Share on other sites