Hi,
On Tuesday 04 April 2017 11:55:18 Igor Mironchik wrote:
> 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?
>
> /
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.2
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 :
> Hello,
>
> Did anybody see any v