Johannes
01-12-2005, 01:14 PM
Trying to graph e.g. the position I used a graph made out of on the fly Lines (coordinate system) and on the fly Lines
I realised that it is possible to draw two points but to only draw one point does not seem to work?!
import viz
import vizmat
import time
import math
viz.go()
point=(0.3,0.3,0.3)
point2=(0.4,0.3,0.3)
viz.startlayer(viz.POINTS)
viz.vertexcolor(0,12,1)
viz.pointsize(2)
viz.vertex(point)
#viz.vertex(point2)
points = viz.endlayer(viz.SCREEN)
To draw two points on the same spot or just slighetly besides each other did not seem to work either.
Thank you,
Johannes
I realised that it is possible to draw two points but to only draw one point does not seem to work?!
import viz
import vizmat
import time
import math
viz.go()
point=(0.3,0.3,0.3)
point2=(0.4,0.3,0.3)
viz.startlayer(viz.POINTS)
viz.vertexcolor(0,12,1)
viz.pointsize(2)
viz.vertex(point)
#viz.vertex(point2)
points = viz.endlayer(viz.SCREEN)
To draw two points on the same spot or just slighetly besides each other did not seem to work either.
Thank you,
Johannes