[Interest] Qt3D simple geometry example
Igor Mironchik
igor.mironchik at gmail.com
Tue Apr 4 10:55:18 CEST 2017
Hi,
Thank you.
In QPlainGeometry I found that they use position, texture coordinate,
normal and tangent to describe vertex data.
So my question is - why they need tangent, and why tangent defined with
4 floats?
//tangent
*fptr++=1.0f;
*fptr++=0.0f;
*fptr++=0.0f;
*fptr++=1.0f;
04.04.2017 11:05, Oleg Evseev пишет:
> Hi, Igor
>
> Take a look on this examples in qt3d/tests/manual folder:
>
> custom-mesh-cpp
> custom-mesh-qml
> custom-mesh-update-data-cpp
> custom-mesh-update-data-qml
>
> I think they are exactly what you need.
>
> With regards, Oleg.
>
> 2017-04-04 11:01 GMT+03:00 Igor Mironchik <igor.mironchik at gmail.com
> <mailto:igor.mironchik at gmail.com>>:
>
> Hello,
>
> Did anybody see any very simple example of Qt3D geometry creation.
> Let it be a simple plain ellipse. Can anybody explain in a few
> words what should be done to generate such geometry in 3D.
>
> Thank you.
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org <mailto:Interest at qt-project.org>
> http://lists.qt-project.org/mailman/listinfo/interest
> <http://lists.qt-project.org/mailman/listinfo/interest>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170404/4511455a/attachment.html>
More information about the Interest
mailing list