Results 1 to 4 of 4

Thread: QT6 OpenGL left right inverted

  1. #1
    Join Date
    Jan 2025
    Posts
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Cool QT6 OpenGL left right inverted

    I wrote a maze generator with QT5.

    I am trying to modify the source code for QT6.

    I corrected the source code to compile with QT6.

    But I noticed an error between the maze map and the view in 3D(OpenGL) on the map I should turn left and on the 3d view I turn right.

    I uploaded the project there. It is an open source project.

    https://sourceforge.net/projects/qmazegen/files/src-bin-QT6/

  2. #2

    Default Re: QT6 OpenGL left right inverted

    To be sure, you should ensure that the maze view rotation logic matches the way you handle movement in 3D space. Check to see if you need to apply a 180 degree rotation or axis flip to fix the problem.

  3. #3
    Join Date
    Jan 2025
    Posts
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QT6 OpenGL left right inverted

    I don't know

  4. #4
    Join Date
    Jan 2025
    Posts
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QT6 OpenGL left right inverted

    I replaced x by -x in several lines that display walls. It is working.

  5. The following user says thank you to fulgorit for this useful post:

    d_stranz (13th March 2025)

Similar Threads

  1. QMatrix Inverted
    By muykim in forum Newbie
    Replies: 1
    Last Post: 18th January 2018, 05:52
  2. OpenGL Rotation with only left button
    By danielperaza in forum Qt Programming
    Replies: 14
    Last Post: 7th August 2014, 10:35
  3. Replies: 6
    Last Post: 16th April 2013, 17:13
  4. Replies: 4
    Last Post: 29th August 2010, 19:16
  5. Inverted QTextEdit
    By TMan in forum Qt Programming
    Replies: 2
    Last Post: 31st July 2009, 17:35

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.