Hello,
I would like to get the frame count of the video that's been played by
the MediaPlayer in QML, but I didn't find any property that will
provide it. As the video is made up of frames , I have corresponding
annotations per frame in the database that I would like to fetch using
the frame numbe
On Mon, Mar 22, 2021 at 10:55 AM Alex john wrote:
> Transform {
> id: trefoilMeshTransform
> translation:Qt.vector3d(Qt.vector2D(100, 100)).unproject(
> modelView ,mainCam.projectionMatrix, forwardRenderer.viewportRect)
> property real theta: 0.0
>
On Mon, Mar 22, 2021 at 10:55 AM Alex john wrote:
>
> On Thu, Mar 18, 2021 at 5:22 AM Walter Rawdanik wrote:
> >
> > You can’t convert 2d coordinates to a 3d position because you are missing
> > the z coordinate.
>
> I can have a dummy z value as 1 for the calcula
On Thu, Mar 18, 2021 at 5:22 AM Walter Rawdanik wrote:
>
> You can’t convert 2d coordinates to a 3d position because you are missing the
> z coordinate.
I can have a dummy z value as 1 for the calculation. The problem is
similar as described here
https://community.khronos.org/t/getting-2d-to-3d
lease confirm the changes and let me know the modelView matrix.
On Mon, Mar 15, 2021 at 5:14 PM Alex john wrote:
> > Going the other way round (back-projection) can be done by e.g.
> QVector3D::unproject()
>
> Thanks, as I'm referring the the wireframe example I was able to ge
As I have loaded my custom obj in wireframe example and using the same
geometry and camera settings as its for wireframe, therefore can you
please let me know how this can be done at QML side? I did try to find
this in the documentation but didn't find the usage.
> On Mon, Mar 15, 20
Hello ,
Im successessfully able to load the obj file in Scene3D, and by using
fromEulerAngles I'm able to get the required yaw, pitch and
roll.However, I'm not able to use the right translation to get the
object rendered. I get the x,y coordinates in pixels from the other
module and I need to rend
in quick3D that would be done with a class derived from QQuick3DGeometry
> with primitives set to lines
> "setPrimitiveType(QQuick3DGeometry::PrimitiveType::Lines)"
> to construct a cube. Then register that class to qml and use it in your
> View3D. Hope it helps.
>
> J
Hello Qt
I like to render a frustum as here https://imgur.com/a/BzmCQ2D on
Scene3d. Can you let me know how it can be done? If I have to get the
custom QML ,do I have to get it from the C++ and then push it to the
QML context? Any pointers to basic code is appreciated.
Thanks.
___
to “transparent” ?
>
>
> Mike
>
> > On 3 Mar 2021, at 14:28, Alex john wrote:
> >
> >
> > Hello,
> >
> > I am trying to overlay a 3d object(.obj file) on top of the video, I could
> > successfully load the .obj file and rendered it by referi
Hello,
I am trying to overlay a 3d object(.obj file) on top of the video, I could
successfully load the .obj file and rendered it by refering to example
https://doc.qt.io/qt-5/qt3d-wireframe-example.html, later I changed the
code in main.qml by raping Entity from main.qml into Scene3D and tried t
11 matches
Mail list logo