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 723331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:05:46+00:00 2026-05-14T06:05:46+00:00

I have been trying to make a Cross-platform 2D Online Game, and my maps

  • 0

I have been trying to make a Cross-platform 2D Online Game, and my maps are made of tiles.
My tileset, which I render the tiles from, is quite huge.
I wanted to know how can I disable hardware rendering, or at least making it more capable.
Hence, I wanted to know what are the basic limits of the video ram, as far as I know, Direct3D has a texture size limits (by that I don’t mean the power-of-two texture sizes).

  • 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-14T06:05:46+00:00Added an answer on May 14, 2026 at 6:05 am

    If you want to use a software renderer, link against Mesa.

    You can get an estimate of the maximum texture size using these methods:

    21.130 What’s the maximum size texture map my device will render hardware accelerated?

    A good OpenGL implementation will render with hardware acceleration whenever possible. However, the implementation is free to not render hardware accelerated. OpenGL doesn’t provide a mechanism to ensure that an application is using hardware acceleration, nor to query that it’s using hardware acceleration. With this information in mind, the following may still be useful:

    You can obtain an estimate of the maximum texture size your implementation supports with the following call:

    GLint texSize;
    glGetIntegerv(GL_MAX_TEXTURE_SIZE, &texSize);
    

    If your texture isn’t hardware accelerated, but still within the size restrictions returned by GL_MAX_TEXTURE_SIZE, it should still render correctly.

    This is only an estimate, because the glGet*() function doesn’t know what format, internalformat, type, and other parameters you’ll be using for any given texture. OpenGL 1.1 and greater solves this problem by allowing texture proxy.

    Here’s an example of using texture proxy:

    glTexImage2D(GL_PROXY_TEXTURE_2D, level, internalFormat, width, height, border, format, type, NULL);
    

    Note the pixels parameter is NULL, because OpenGL doesn’t load texel data when the target parameter is GL_PROXY_TEXTURE_2D. Instead, OpenGL merely considers whether it can accommodate a texture of the specified size and description. If the specified texture can’t be accommodated, the width and height texture values will be set to zero. After making a texture proxy call, you’ll want to query these values as follows:

    GLint width;
    glGetTexLevelParameteriv(GL_PROXY_TEXTURE_2D, 0, GL_TEXTURE_WIDTH, &width);
    
    if (width==0) {
       /* Can't use that texture */
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying to make a updateable grid.Which means i show an icon
I have been trying to make radio buttons without the dot which toggles. I
I have been trying to make wall post from multiple pages but when i
I have been trying to make a jQuery function which selects all the checkboxes
I have been trying to make a page which combines web.py and JavaScript, and
I have been trying to make my site cross browser compatiable. At the moment
Have have been trying to make a validator for my xml files. I have
I have been trying to make custom radio buttons using HTML, CSS, and JavaScript.
I have been trying to make a div fade in evey 30sec and out
I have been trying to make the sub-menu horizontal. In my HTML it looks

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.