![]() |
|
#2
|
|||
|
|||
|
You can add text to the screen and then make it visibile or hide it when a timer function is called.
Code:
#Add text to the screen.
text_2D = viz.addText('box', viz.SCREEN )
text_2D.setPosition(.5,.5)
text_2D.visible(viz.OFF)
def showBox():
text_2D.visible(viz.ON)
vizact.ontimer2(4,0,text_2D.visible, viz.OFF)
vizact.ontimer2(15,0,showBox)
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vizard tech tip: Using the Python Imaging Library (PIL) | Jeff | Vizard | 0 | 03-23-2009 12:13 PM |
| Vizard tech tip: Text to Speech | Jeff | Vizard | 1 | 01-15-2009 10:39 PM |
| Placing Text onto another object??? | Elittdogg | Vizard | 4 | 04-08-2008 03:15 PM |
| Fall 2007 release of Vizard R3 | 3 D | Announcements | 0 | 10-15-2007 05:50 PM |
| Animation Tracks.... | k_iwan | Vizard | 2 | 03-26-2007 06:52 PM |