Results 1 to 2 of 2

Thread: Update Window

  1. #1
    Guest

    Update Window

    Hello,

    I get 15 points (x,y,z) per second and I want to show the progress in a window (more and more points in the window).

    If I call the glutMainLoop, i can't come back in the program flow. But I have to calculate a new point in the next turn before I have to update the window.

    program idea:

    calculate 1 point -> update window with all other points -> calculate next 1 point -> ...

    can anyone give me a hint to solve this problem?

    Thanks ToP

  2. #2
    Senior Member Regular Contributor
    Join Date
    May 2002
    Location
    York, UK
    Posts
    128

    Re: Update Window

    Hi

    Use the idle function for this ...

    Rob

Similar Threads

  1. Replies: 4
    Last Post: 01-19-2019, 10:45 PM
  2. Window is redrawn inside the OpenGL area instead of the whole window
    By Visual act in forum OpenGL: User Software
    Replies: 0
    Last Post: 09-18-2015, 06:31 AM
  3. update the glut window (online)
    By bahare in forum OpenGL: Basic Coding
    Replies: 8
    Last Post: 07-24-2011, 01:42 PM
  4. Attaching a glut window to window's window
    By jowins in forum OpenGL: Windows
    Replies: 2
    Last Post: 11-17-2005, 02:24 AM
  5. window update problem in windows
    By em003i in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 06-11-2003, 06:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean