![]() |
|
#1
|
|||
|
|||
If you specify a window object as the scene of a text, then you need to specify viz.ORTHO as the parent, not viz.SCREEN. Also, when adding object to the viz.ORTHO layer, the position units are in pixels, not normalized coordinates. Here is sample code:
Code:
self.anweisung = viz.addText("hello",viz.ORTHO,self.CenterWindow,fontSize=32) self.anweisung.translate(50,50) #50 pixel from bottom left corner of window |
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Best Way to set up wii cursors across 2 windows | shivanangel | Vizard | 1 | 03-13-2008 11:24 AM |
problems with webcam plug-in | v-clizzin | Plug-in development | 2 | 01-25-2008 03:06 PM |
Picking in multiple windows | FalconNL | Vizard | 1 | 07-02-2007 09:45 AM |
Windows within windows | VAmanda | Vizard | 5 | 10-31-2005 12:16 AM |
Problems with lighting in 2.0 | murm | Vizard | 6 | 04-21-2004 09:59 AM |