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.mironc...@gmail.com
<mailto:igor.mironc...@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@qt-project.org <mailto:Interest@qt-project.org>
http://lists.qt-project.org/mailman/listinfo/interest
<http://lists.qt-project.org/mailman/listinfo/interest>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest