how to draw a single point
Excuse me, the code bellow can't draw a single dot:
import viz viz.go() viz.startLayer(viz.POINTS) viz.vertex(0,1.8,1) viz.endLayer() the code bellow can draw two points: import viz viz.go() viz.startLayer(viz.POINTS) viz.vertex(0,1.8,1) viz.vertex(0,1.7,1) viz.endLayer() My problem is how to draw a single dot. |
You will need to disable culling on the object, since a single point will result in a infinitely small bounding box. Try the following code:
Code:
import viz |
Thanks very much
|
All times are GMT -7. The time now is 08:22 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC