WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   making image static to the view (https://forum.worldviz.com/showthread.php?t=2172)

jaylocco 07-21-2009 03:33 AM

making image static to the view
 
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:
Code:

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


All times are GMT -7. The time now is 01:04 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC