Mesh color
-
The reason I introduced force and temperature data in the demo is because I wanted to show how to push vector and scalar data into the vertex shader. Clearly this was hard enough to figure out as Qt3D has no documentation yet and I had to learn everything from the sources ;-)
-
@Wieland
Hey, thanks for this, it seems amazing. However it seems maybe a version issue prevents me to compile. Indeed I have a few problems :
- I don't have a "Qtrender" folder in the repositories, just "Qtrenderer". This can be modified easily, then come the real things
- I don't have a Qt3DRender::QGeometry or Qt3DCore::QNode. All of these classes I can find in Qt3D (and not Qt3DRender or Qt3DCore).
- This leads to probably a linking problem :
/Users/LMT/Downloads/meshviewer/femmeshgeometry.cpp:15: erreur : initializer 'QGeometry' does not name a non-static data member or base class; did you mean the base class 'QGeometry'?
: Qt3DRender::QGeometry(parent)
^~~~~~~~~
QGeometry
... and further issues when I tried to replace all QtRender's by Qt3D which has the class. Do you have a hint on how to solve this ? Currently using 5.5, maybe I just need to update ?
Thanks again !
@Florent-Mathieu can i get the demo application ?
-
Hi! I'm sorry I don't have it any more. We switched to VTK for 3D interface because it seemed more mature at the time. In any case it probably evolved in Qt3D as well so I think it would not be up to date.