Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Upload a model to opengl

  1. #1
    Intern Newbie
    Join Date
    Mar 2014

    Upload a model to opengl


    I am Uploading a model to opengl by entering input values ofos, target,zNear,zFar.
    after I enter the values I want to change the cam pos online and see the change.
    how can I add a small window or something that I could move the cam pos and see the changes online?


  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Apr 2010
    Windows, input, user interface elements are outside the scope of OpenGL. Depending on what windowing toolkit you use (GLUT, Qt, GTK, or something platform specific like Cocoa) you have very different choices. You may want to look at AntTweakBar which may be sufficient for your purpose. In the end you will take the entered numbers and use them to construct a modelview matrix for your rendering.

  3. #3
    Intern Newbie
    Join Date
    Mar 2014
    Thank you
    I download the source code
    I want to use TwSimpleDX10
    I wanted to be sure how can I connect the operations of the tool bar to the model?

Tags for this Thread

Posting Permissions

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