python - How to create a layer over a surface with mayavi? -


i made program python displays animation of propagation of fire spreading in forest in 2d (the forest array):

  • no tree = 0.0
  • a tree = 1.0
  • a tree in fire = 2.0

and made surface plot mayavi, python , gdal using post (https://gis.stackexchange.com/questions/223129/dem-plot-with-matplotlib-is-too-slow).

now want know how put propagation made array (in 2d) on surface of mountain if kind of layer able move , grow on surface fire growing in forest.

i not asking algorithm can make simulation of forest fire.

i asking way create kind of layer on surface plot made.

for instance, in next photo can see red layer (the spreading fire) on surface: https://i.stack.imgur.com/rc5dt.png


Comments

Popular posts from this blog

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -