WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 08-16-2010, 04:41 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Your idea will work. The following code adds the info box only to a transparent window on top:
Code:
import viz
viz.go()

gallery = viz.add('gallery.ive')

import vizinfo
info = vizinfo.add('Info box in transparent window')
info.translate(0.05,0.95)
info.alignment(vizinfo.UPPER_LEFT)

#don't add info box to MainWindow
viz.MainWindow.visible(0,viz.SCREEN)

#add a subwindow
subWindow = viz.addWindow()
subWindow.setPosition([0,1])
#dont' add info box here
subWindow.visible(0,viz.SCREEN)

#add a clearWindow that the info box appears in
clearWindow = viz.addWindow()
clearWindow.setClearMask(viz.GL_STENCIL_BUFFER_BIT)
clearWindow.setPosition([0,1])
clearWindow.setSize([1,1])
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spatialized sound in Windows 7 GiudiceLab Vizard 3 01-27-2010 07:35 AM
rendering to displays that are not spanned by Windows desktop qwerty Vizard 3 12-11-2009 08:49 AM
addText problems with 3 windows Ravi Vizard 1 08-25-2008 05:51 PM
Best Way to set up wii cursors across 2 windows shivanangel Vizard 1 03-13-2008 11:24 AM
known windows firewall issue mspusch Vizard 0 06-01-2006 09:47 AM


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


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