#1
|
|||
|
|||
how to set the lightness of the dot
Hi, I have a problem in setting the lightness of the dot. the code is below:
viz.startLayer(viz.POINTS) viz.vertex(0,0,1) viz.vertex(0,0.5,1) aa=viz.endLayer() I don't know how to set the lightness of the point. |
#2
|
|||
|
|||
You can change the vertex color of the points:
Code:
import viz viz.go() viz.startLayer(viz.POINTS) viz.vertexColor(0.5,0.5,0.5) viz.vertex(0,0,1) viz.vertex(0,0.5,1) aa=viz.endLayer(pos=[0,1.8,3]) |
|
|