WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-13-2013, 11:05 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You could try fading a quad placed on the screen:
Code:
import viz
viz.go()

viz.add('gallery.osgb')

blackScreen = viz.addTexQuad(parent=viz.SCREEN,scale=[100.0]*3,color=viz.BLACK)
blackScreen.alpha(0.0)

vizact.onkeydown(' ',blackScreen.runAction,vizact.fadeTo(0.7,time=2.0))
Also take a look at the post process section in the Vizard help. Post process effects are applied to the whole window. You can experiment with built-in effects using the PostProcess.py example script( File -> Quick Open: type 'PostProcess')
Reply With Quote
Reply

Tags
actions, lights


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
Lighting for a new Scene jassel41 Vizard 2 11-10-2010 09:14 PM
Warping Rendered Scene? rwgray Vizard 3 03-25-2010 02:19 PM
Copying Scene? Brett Lindberg Vizard 0 08-28-2009 11:56 PM
addWindow only in one special scene lilio Vizard 1 08-20-2009 09:45 AM
Active scene Chrissy2009 Vizard 2 07-13-2009 09:49 AM


All times are GMT -7. The time now is 11:05 PM.


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