Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-20443

Let's have consistent and sensible 3D Quad and Cube shapes (and maybe other shapes too)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • 5.7.0
    • 4.8.0
    • Documentation, Qt3D
    • None
    • c0fdc5bacf5b562eb41cf41ca0e15ff7941c1267 42f09ac510d4f6d6f5641c9e1dc6fc5d87fe9c9f

    Description

      The Cube and Quad shapes are inconsistent. Cube vertices are at (0.5, 0.5, 0.5) etc, while Quad vertices are at (1,1,0) etc. They should be consistent: for my money, the Cube is more sensible; but consistency in either direction would be better than no consistency.

      The texture mapping on the Cube is not sensible. You would expect that textures would naturally be oriented upwards, on the faces whose normals are in the x or z planes. But they aren't: you have to do some random rotation to get them the right way around.

      Neither shape is properly documented. The size, texture orientation etc should be properly documented in each case.

      The issues above probably apply to other shapes (eg Sphere and Cylinder) also. If so, they should be addressed.

      This fix will break application code which uses the pre-releases of Qt. But that's no reason not to do it: the resulting shapes will be much more usable.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            docteam Qt Documentation Team
            martintasker Martin Tasker
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews