Jump to content
  • Advertisement

Archived

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

Sfpiano

Squares don't look like squares

This topic is 5329 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''m rendering a square grid in my program with cells 1x1, and it renders fine except that instead of looking like squares, the cells look like rectangles. If I render them 1x2 the do look like squares however. I have the same problem when I render cubes.

Share this post


Link to post
Share on other sites
Advertisement
yea its probably something to do with the resolution, when i make my window a square it really looks like a rectangle

that is longer height, shorter width

is that same with your squares?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
The aspect ratio needs to be set to the client width/height (for windowed) or screen width/height (for fullscreen).

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!