![]() |
|
#1
|
|||
|
|||
The following code will add a textured quad to the upper left corner of the screen. Is this what you are needing?
Code:
import viz viz.go(viz.STEREO) texture = viz.add('ball.jpg') quad = viz.addTexQuad(viz.SCREEN,align=viz.TEXT_LEFT_TOP,pos=(0,1,0)) quad.texture(texture) |
#2
|
|||
|
|||
thanks, that's perfect.
|
#3
|
|||
|
|||
is it possible to scale the texQuad as a percentage of the screen size? we'd like to have it at 20% of the screen, no matter what the size or resolution of the image we are putting in the texQuad.
thanks. |
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
View an image on the Fakespace HMD | roman_suvorov | Vizard | 16 | 05-23-2008 07:51 AM |
position of html-file on screen | active_world | Vizard | 1 | 05-16-2008 07:24 PM |
GUI Image? | codexter | Vizard | 2 | 04-19-2007 01:45 PM |
Only part of tiled image | vizmaster | Vizard | 5 | 09-11-2006 12:11 PM |
accessing screen buffer | hotspur1 | Vizard | 3 | 08-22-2003 03:31 PM |