WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1  
Old 02-01-2012, 09:48 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
When the parent of the quad is viz.ORTHO you can specify the subwindow to add the quad to with the scene argument:

Code:
import viz
viz.go()

viz.addChild('gallery.osgb')

subWindow = viz.addWindow()
blackScreen = viz.addTexQuad(parent=viz.ORTHO,scene=subWindow,scale=[500]*3,color=viz.BLACK)
blackScreen.alpha(0.0)

vizact.onkeydown(' ',blackScreen.runAction,vizact.fadeTo(1.0,time=2.0))
Reply With Quote
  #2  
Old 02-07-2012, 03:13 PM
Enlil Enlil is offline
Member
 
Join Date: May 2008
Posts: 61
Thanks, that was just what I needed.

Christian
Reply With Quote
Reply


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
Videos apearing in active movie window TarkaDahl Vizard 9 02-12-2016 02:43 PM
Limit vizinfo message to only one window? hotspur1 Vizard 1 05-07-2010 02:13 PM
tkinter window focus John P Vizard 4 08-31-2009 05:51 AM
texquad shai Vizard 1 02-23-2005 01:09 PM
The error window that couldn't FlyingWren Vizard 2 12-02-2003 08:23 AM


All times are GMT -7. The time now is 09:41 PM.


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