InterpColor

功能:将多边形内的点的颜色设置为渐变色

渐变色的起点为多边形顶点的颜色

此类可实现以向量为起点做渐变,所以此函数也可以实现以法线向量做起点的渐变

test_create_jianbian2.py

test_create_jianbian3.py

# run command:

# ! python InterpColor.py && open InterpColor.png

Classes

InterpColor()