Jump to content
  • Advertisement

Archived

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

HappySnapper

2-dimensional drawing -- again...

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

I looked up glDrawPixels and it functions exaclty the same as glLFBWriteRegion in the Glide API. This draws a rectangle of pixels to the screen with a specified depth. I don''t know if OpenGL uses an aspect ratio though. For example, if I set the video res to 800x600 and I set the drawing point to the top left of the screen, used glDrawPixels to draw a 400x300 rectangle of colour at a depth of zero, will it show that rectangle taking up a quarter of the screen. Any help would be appreciated. Thanx

Share this post


Link to post
Share on other sites
Advertisement

  • 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!