Results 1 to 4 of 4

Thread: Qt3D 2.0 Rotation3D alternative

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2015
    Posts
    6
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Qt3D 2.0 Rotation3D alternative

    Hey there,

    Im currently working on a animation and I need to rotate a object.
    Problem here is that Qt3D 2.0 in Qt5.5 only supports the import of .obj files which do not contain the pivot point.
    Then I have seen some examples where people used the function "transform: [ Rotation3D{ origin: xxxx } ]",
    with this function I could have been able to set a new pivot/origin point.

    In Qt5.5 Qt3D 2.0 I cannot find this function.. do I have to import a special module to use is or doesnt it even exist anymore?

    And if its not existent, is there any alternative? And why should they remove such a nice feature?


    Thanks in advance,

    cRooked

  2. #2
    Join Date
    Sep 2015
    Posts
    6
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt3D 2.0 Rotation3D alternative

    since there is no proper documentation i really could need some help

  3. #3
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt3D 2.0 Rotation3D alternative

    Looking through the documentation it looks like there is a Rotate transformation:
    http://doc.qt.io/qt-5/qt3drenderer-s...ntity-qml.html

    Cheers,
    _

  4. #4
    Join Date
    Sep 2015
    Posts
    6
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt3D 2.0 Rotation3D alternative

    Yes I know ive already been there. Problem is that if you load a mesh of the format .obj the pivot point is set to the center of the scene.. means (0,0,0)
    And if I use this Rotation without beeing able to set a new origin point the obeject rotates wrong.

Similar Threads

  1. Where is the Qt3D
    By lni in forum Qt Programming
    Replies: 2
    Last Post: 4th September 2015, 12:21
  2. Qt3D.... anyone?
    By budda in forum Qt Programming
    Replies: 3
    Last Post: 3rd June 2014, 22:27
  3. Qt3D
    By Ichi in forum Qt Tools
    Replies: 0
    Last Post: 17th February 2013, 19:03
  4. Qt3D
    By Viper666 in forum Qt Programming
    Replies: 0
    Last Post: 2nd November 2012, 20:19
  5. Please help with Qt3D
    By lni in forum Qt Programming
    Replies: 0
    Last Post: 27th July 2012, 18:46

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.