View Single Post
  #1  
Old 07-13-2009, 07:29 PM
John P John P is offline
Member
 
Join Date: Jun 2006
Posts: 8
on the fly points

I'm doing a project where I use lots of on the fly objects. I'm trying to draw a single vertex but there seems to be a bug in that you must draw two or more vertices.

Code:
viz.startlayer(viz.POINTS)
viz.pointsize(10)
viz.vertex(0,2,5)
#viz.vertex(0,2,5.5) #this line will make it work..
p = viz.endlayer()
It seems that even with two vertices, if they are so close that they translate onto the same screen coordinate they will be culled. It could be a graphics card issue. This was really confusing me for a while so I thought I would drop this note.

Thanks
Reply With Quote