Results 1 to 11 of 11

Thread: qt opengl coloring cube example-vbo edited

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2012
    Location
    Armenia/Yerevan
    Posts
    400
    Thanks
    15
    Thanked 16 Times in 15 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default qt opengl coloring cube example-vbo edited

    To write a vbo sample I edited the qt opengl coloring cube example. What I did is to create a vao and two vbos for vertices and colors variables. Unfortunately, when program runs, it doesn't render anything. Attached file is the program, as I am only using Linux, you may not worry about any virus detections.
    I would appreciate if you run this example on your system and try if you can make it give the desired output.
    Attached Files Attached Files

Similar Threads

  1. Drawing a cube
    By qt_developer in forum Newbie
    Replies: 4
    Last Post: 30th May 2012, 10:59
  2. Drawing a cube
    By qt_developer in forum Newbie
    Replies: 1
    Last Post: 29th May 2012, 00:04
  3. How to design a 3D cube by using QPqinter?
    By anupam in forum General Programming
    Replies: 6
    Last Post: 12th April 2011, 12:17
  4. cube with widgets
    By mkind in forum Qt Programming
    Replies: 3
    Last Post: 12th April 2011, 06:51
  5. how to redraw cube to rectangle
    By wagmare in forum Qt Programming
    Replies: 6
    Last Post: 11th February 2009, 05:26

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.