Jump to content
  • Advertisement

Archived

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

Ronin_54

Drawing *pixels* on the screen...

This topic is 6223 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

Okay, a strange question I guess... I want to try to create my own graphic engine, not based on DirectX or OpenGL. I only have one minor little problem... For some odd reason, I can''t find a way to get my pixels on the screen... I guess I''d need an seperate API for it, but can anyone recommend one? I tried SDL, but it doesn''t work... Gives a strange error. Any other good API''s out there?

Share this post


Link to post
Share on other sites
Advertisement
SDL is pretty easy to set up, if you follow the instructions. You could perhaps use a search engine and look for ClanLib, or CDX, or Allegro, or LibCon, or OpenPTC, or just look for ''graphics libraries''.

Share this post


Link to post
Share on other sites
Aye, I followed instructions, but I keep getting a faulty SDLmain.lib.

Can you send me your copy of that file?

Share this post


Link to post
Share on other sites
Of course you can also use DirectX, and put the pixels directly in the memory, as we''ve done before with DOS. There are no reasons to use any extra library, if you really want to do the things by hand.

--DK
--H. Hernán Moraldo

Share this post


Link to post
Share on other sites
SDL uses DirectX on windows. Try clanlib. Writing your own libs that directly access the hardware is an exercise in futility.

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!