Re: [Interest] Qt3D simple geometry example

2017-04-04 Thread Sean Harmer
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? > > /

Re: [Interest] Qt3D simple geometry example

2017-04-04 Thread Igor Mironchik
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

Re: [Interest] Qt3D simple geometry example

2017-04-04 Thread 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 : > Hello, > > Did anybody see any v

[Interest] Qt3D simple geometry example

2017-04-04 Thread Igor Mironchik
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-pro