[Interest] [Qt3D] Is it usable yet?

BOUCARD Olivier boucard_olivier at yahoo.fr
Sat Dec 15 22:51:46 CET 2012


I found a problem with the picking.
I think the picking buffer is not rendered properly.

This simple test shows the problem, it is even worth when you navigate around:
import QtQuick 2.0
import Qt3D 2.0
import Qt3D.Shapes 2.0

Rectangle {
  color: "#1e1e44"

  Viewport {
    width: parent.width
    height: parent.height
    //navigation: false
    picking: true
    //showPicking: true

    camera: Camera {
      eye: Qt.vector3d(1, 10, 1)
    }

    Cube {
      id: cube1
      position: Qt.vector3d(0, 0, 0)

      onClicked: { console.debug("Cube1"); }

      effect: Effect {
        color: "#ff0000"
      }
    }

    Cube {
      id: cube2
      position: Qt.vector3d(1.1, 0, 0)

      onClicked: { console.debug("Cube2"); }

      effect: Effect {
        color: "#00ff00"
      }
    }

    Cube {
      id: cube3
      position: Qt.vector3d(1.1, 0, 1.1)

      onClicked: { console.debug("Cube3"); }

      effect: Effect {
        color: "#0000ff"
      }
    }

    Cube {
      id: cube4
      position: Qt.vector3d(0, 0, 1.1)

      onClicked: { console.debug("Cube4"); }

      effect: Effect {
        color: "#ffffff"
      }
    }
  }
}




>________________________________
> De : BOUCARD Olivier <boucard_olivier at yahoo.fr>
>À : "interest at qt-project.org" <interest at qt-project.org> 
>Envoyé le : Samedi 15 décembre 2012 21h25
>Objet : Re: [Interest] [Qt3D] Is it usable yet?
> 
>
>I finally had the time to test the new version.
>And I do not have the problem with Qt3D.Shapes anymore.
>I still have this message at runtime: "Module 'Qt3D' does not contain a module identifier directive - it cannot be protected from external registrations.".
>But it does not seem like a big deal.
>So basically it works. I will try now to make a small app to explore the features.
>
>I was able to make QtCreator recognizes the Qt3D module by adding "QML_IMPORT_PATH = ~/Dev/Qt/qt5-git/qtbase/qml/"  in my .pro file.
>So it seems that there is still issue with QtCreator using an old QtQuick version.
>As I have also an error in the QML designer that say that my QtQuick version is not supported.
>
>
>Olivier.
>
>
>
>
>>________________________________
>> De : BOUCARD Olivier <boucard_olivier at yahoo.fr>
>>À : "interest at qt-project.org" <interest at qt-project.org> 
>>Envoyé le : Lundi 10 décembre 2012 16h40
>>Objet : Re: Re: [Interest] [Qt3D] Is it usable yet?
>> 
>>
>>Thank you for your support.
>>I will try that as soon as I can have some spare time.
>>
>>
>>Olivier.
>>
>>
>>
>>>________________________________
>>> De : Sean Harmer <sean.harmer at kdab.com>
>>>À : interest at qt-project.org 
>>>Cc : BOUCARD Olivier <boucard_olivier at yahoo.fr> 
>>>Envoyé le : Lundi 10 décembre 2012 16h16
>>>Objet : Re: Re: [Interest] [Qt3D] Is it usable yet?
>>> 
>>>On Monday 10 December 2012 14:22:49 Sean Harmer wrote:
>>>> > The editor problem is probably link to the same issue as QtCreator still
>>>> > look in the import folder.
>>>> 
>>>> Quite possible indeed. The patch I mentioned is integrating right now so
>>>> hopefully that will solve it.
>>>
>>>The patch has been
 merged. Please update and try again. Let us know if it 
>>>works for you now.
>>>
>>>Cheers,
>>>
>>>Sean
>>>--
>>>Dr Sean Harmer | sean.harmer at kdab.com | Senior Software Engineer
>>>Klarälvdalens Datakonsult AB, a KDAB Group company
>>>Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
>>>KDAB - Qt Experts - Platform-independent software solutions
>>>
>>>
>>>
>>
>>
>_______________________________________________
>Interest mailing list
>Interest at qt-project.org
>http://lists.qt-project.org/mailman/listinfo/interest
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20121215/ca249c8c/attachment.html>


More information about the Interest mailing list