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: Qt and OpenGl

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2010
    Posts
    1

    Qt and OpenGl

    Am an amateur programmer trying to learn to use Qt with OpenGl. I have programmed a rotating cube and am putting a portrait on each face as a texture. I have found though that the only way I can display the portrait on the cube faces is to first paint the portrait to the containing frame. I'm using bitmap images. Can anyone tell me why or lead me to the correct coding. Thanks muchly.

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,655

    Re: Qt and OpenGl

    Can you provide more precise description of what works and what does not ? And what do you expect ?

    Ie, something like :
    1) when drawing with this code :
    ... code in BB code tags ...
    2) I see this
    ... image of problem (circle in red the problematic parts) ...
    3) which is a problem because
    ... precise description of problem ...
    4) instead when drawing with this code :
    ... other code in BB code tags ...
    x) etc

Posting Permissions

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