PDA

View Full Version : making image static to the view


jaylocco
07-21-2009, 03:33 AM
Hello,

how do I make, an image to appear statically to the view window.just like how vizinfo does.

TQ

farshizzo
07-21-2009, 09:48 AM
Do you mean display a texture on the screen? If so, the following code should help:import viz
viz.go()

texture = viz.add('ball.jpg')

quad = viz.addTexQuad(parent=viz.SCREEN,pos=(0.9,0.9,0))
quad.texture(texture)

jaylocco
07-22-2009, 09:23 PM
Thanks, it works