Method OpenGLSurface.set_fill_by_value()
colors surface a single color
#2173
Labels
Projects
OpenGLSurface.set_fill_by_value()
colors surface a single color
#2173
Description of bug / unexpected behavior
When using
OpenGLSurface.set_fill_by_value()
the entire surface is given a single color.Expected behavior
.set_fill_by_value()
should color the surface based on the z-value of the axes.How to reproduce the issue
Code for reproducing the problem
Additional media files
Images/GIFs
System specifications
System Details
python/py/python3 --version
): 3.9.5pip list
):FFMPEG
Output of
ffmpeg -version
:Additional comments
The current implementation seems to have been copied from
Surface.set_fill_by_value()
which colors individual squares making up the surface as just one color each. AsOpenGLSurface
is made up of triangles, which can be colored using a gradient, it would be good if the individual triangles were colored by gradient to give a smooth gradient effect compared to each triangle being one color.The text was updated successfully, but these errors were encountered: