How to create a 3D heightmap in python
I have a 2D Z array that stores the height at that element position. Apart from using the method here in which I need to create an X and Y array with the same size as Z, are there any easier methods to create a 3D heightmap?
The elevation map of the 3D surface is like the first patch of the surface here .
+3
Physicist
source
to share
1 answer
Even if I agree with others that meshgrids is not difficult, still I think the solution is provided by the package Mayavi
(check the surf function )
from mayavi import mlab
mlab.surf(Z)
mlab.show()
+4
Francesco turci
source
to share