Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Interface to running OpenGl GUI Application

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Newbie Newbie
    Join Date
    Feb 2018
    Posts
    2

    Question Interface to running OpenGl GUI Application

    Hello

    Some Information: A OpenGl GUI is used as a simple visualization tool for testing autonmous function. It reads a log file with object coordinates and displays them. The log file is generated in a simulation loop without using any OpenGL functionality. Every iteration a new log file is gernerated. When the game loop has finished, the OpenGL GUI shows every 100ms one visualisation of the log file beginning with file number 1 until there is no file left.

    In order to test my functions i want to interact manually with keys. For Example: pushing the 'D' key is turning the vehicle.
    What i need is a way to call a function, that is hidden behind a Button of the running OpenGl GUI. (The function increments the file number)
    Is there a way to control the OpenGl button from my visual studio c++ project?

    thx for help

  2. #2
    Newbie Newbie
    Join Date
    Feb 2018
    Posts
    2

    Done

    Thx to glutMainLoopEvent() developer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •