![]() |
|
#4
|
|||
|
|||
|
The previous sample is incorrect. The following sample should do what you want:
Code:
import viz
viz.go()
gallery = viz.add('gallery.ive')
#add a subwindow
subWindow = viz.addWindow()
subWindow.setPosition([0,1])
#create info box in custom scene
import vizinfo
info = vizinfo.add('Info box in transparent window')
info.translate(0.05,0.95)
info.alignment(vizinfo.UPPER_LEFT)
info_scene = viz.addScene()
info._group.parent(viz.SCREEN,info_scene)
#add a clearWindow that displays the custom scene
clearWindow = viz.addWindow(view=viz.addView(scene=info_scene))
clearWindow.setClearMask(0)
clearWindow.setPosition([0,1])
clearWindow.setSize([1,1])
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Spatialized sound in Windows 7 | GiudiceLab | Vizard | 3 | 01-27-2010 08:35 AM |
| rendering to displays that are not spanned by Windows desktop | qwerty | Vizard | 3 | 12-11-2009 09:49 AM |
| addText problems with 3 windows | Ravi | Vizard | 1 | 08-25-2008 06:51 PM |
| Best Way to set up wii cursors across 2 windows | shivanangel | Vizard | 1 | 03-13-2008 12:24 PM |
| known windows firewall issue | mspusch | Vizard | 0 | 06-01-2006 10:47 AM |