Jump to content
  • Advertisement

Archived

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

ZeN

Plotting pixels

This topic is 6705 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
Because many people take this step Qbasic->BorlandC++.


In a tight spot...

Edited by - bosjoh on 4/7/00 1:12:54 PM

Edited by - bosjoh on 4/7/00 1:13:54 PM

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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!