Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1013187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:03:44+00:00 2026-05-16T10:03:44+00:00

Of course the texture will not be completely visible on the screen. And I

  • 0

Of course the texture will not be completely visible on the screen. And I can make it always draw just the visible part (With glTexCoord2f and then glVertex2f). (It is the big “level”-image, which I have to move around for a sliding camera). Notice this rendering has to be real-time in my game (game is written in C++).

A short calculation:

2,500 * 2,500 = 6,250,000 pixels
6,250,000 pixels * 4 bytes / pixel = 25,000,000 bytes
25,000,000 bytes = 23.8 MiB

So, is 23.8 MiB not to much for a cross-platform commercial game? Knowing that people can have all sorts of graphical cards.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T10:03:44+00:00Added an answer on May 16, 2026 at 10:03 am

    That’s a lot for one texture. Shouldn’t be too much of a problem if the video card has enough memory to keep it onboard (at least 32MB, and that’s if you have nothing else in your game! 128MB is actually more reasonable), but if it doesn’t then the system will have to push the bits to the video card each frame as long as it’s on the screen. That can cause a massive slowdown.

    If you can get away with making the texture smaller, i’d highly recommend it. If possible, since it won’t all be visible at once, you might try breaking it up into several pieces — only the visible ones will have to be in video memory, which means less memory used if you break it up at the right places.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Of course it's not 1-for-1 code correct, but the gist of my question can
Of course, I can explain it in whole books. But I read a few
Of course we can do this, but is it alright to do so? Are
Of course you can regard it as a kind of strategy, but that applies
I get the following error: 'CCSprite is not using the same texture id' This
Of course an HTML page can be parsed using any number of python parsers,
Of course you might argue that ASMX is not easier than WCF. But let's
I am currently attempting to draw images on the screen at a regular rate
Of course, most of the time, I can simply search for the identifier and
Instead of using glGenTextures() to get an unused texture ID. Can I randomly choose

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.