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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T03:16:06+00:00 2026-06-02T03:16:06+00:00

At the beginning of the game I’m loading models and stuff, it’s taking some

  • 0

At the beginning of the game I’m loading models and stuff, it’s taking some time and therefore there is an empty black screen while loading.

So what I want to do is to put all the model loading and the display list creation into one thread and to make (render) some loading in the other. Now that I learned that OpenGL doesn’t work well with multithreading and OpenGL commands can be called only from one thread my oreginal thread solution doesn’t work. Both thread should be able to call OpenGL commands: rendering and display lists creation.

Does anyone knows (familiar) an easy solution to this?
A good link with example will do.

  • 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-06-02T03:16:07+00:00Added an answer on June 2, 2026 at 3:16 am

    You have to remember the model for interpretation of GL commands is client-server. That is, a program (the client) issues commands, and these commands are interpreted and processed by the GL (the server) – (taken from the specs).

    So you can easily send from commands from both threads – that’s no problem. But by playing with multithreading you’re opening a big potential can of worms if you don’t know what you’re doing.

    When loading I would just make a loading screen and update it when some of the resources have been loaded. Not everything needs a super perfect solution – especially not a minor thing as this 🙂

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

Sidebar

Related Questions

I'm working on a game which is beginning to get pretty graphically intensive. There
At the beginning of a level in my XNA based game, I'm using MediaPlayer.Play()
Since beginning to use VB.NET some years ago I have become slowly familiar with
I'm making a game for the iPhone using Cocos2D. At the beginning of the
I'm beginning in iPhone/iPad game dev and I'm searching to set up my learning
For example: Like the game bejeweled. At the beginning the gems are falling down.
I've been reading three books (iPhone Game Development, iPhone cookbook and beginning iPhone development),
I'm working with some multithreaded code for a game project, and got a bit
I have got some problem implementing bullet physics into my opengl game. The thing
I'm reading Beginning Java Game Programming 2/e and the book heavily emphasizes using AffineTransform.

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.