Qt3d: Height map rendering
-
Hi,
is Qt3D able to render height map?
I mean setup scene like this:
add plane mesh to the scene, set texture for it so that the texture displace the geometry and render it?Something like this https://somethingaboutmaps.wordpress.com/blender-relief-tutorial-the-plane/ where Blender is used for this.
I found out that the answer is no so far but maybe I'm missing something?
The closest thing I found is https://doc.qt.io/qt-5.11/qt3d-advancedcustommaterial-example.html
but it seems that it does not do any displacement, i.e. creating real geometry from height map so that light reflection works as expected. -
I saw terrain rendering in this old video, but I couldn't find the code to it:
https://www.youtube.com/watch?v=bYgSxoXgSU8
Maybe you have more luck.