Thread: "Laser Pointer"
View Single Post
  #2  
Old 03-25-2008, 01:01 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
If you want something similar to a crosshair in the center of the screen, then you can just add a quad with a red dot texture to the screen.
Code:
import viz
viz.go()

tex = viz.add('dot.png')

quad = viz.add(viz.TEXQUAD,viz.SCREEN)
quad.texture(tex)
quad.translate(0.5,0.5,0)
Reply With Quote