WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-02-2010, 03:32 PM
whj whj is offline
Member
 
Join Date: Apr 2008
Posts: 60
How to vary the transparency of the scene

Hello,

<node3d>.alpha changes the transparency of an OBJECT. But I would like to vary the transparency of part of the SCENE. I tried creating a subview and subwindow, but that only makes part of the scene black.

The following is my code. Is there any way I can show, in the black area, the original scene but make it blurred?

Code:
import viz
viz.go()

viz.add('gallery.ive')

subView1 = viz.addView()
subWindow1 = viz.addWindow(pos=(0,1.0), size=(0.2,1.0))
corner of main window
subWindow1.setView(subView1)
subView1.setScene(2)

subView2 = viz.addView()
subWindow2 = viz.addWindow(pos=(0,1.0), size=(1.0,0.2))
subWindow2.setView(subView2)
subView2.setScene(3)

subView3 = viz.addView()
subWindow3 = viz.addWindow(pos=(0.8,1.0), size=(0.2,1.0))
subWindow3.setView(subView3)
subView3.setScene(4)

subView4 = viz.addView()
subWindow4 = viz.addWindow(pos=(0,0.2), size=(1.0,0.2))
subWindow4.setView(subView4)
subView4.setScene(5)
Thanks a lot,

Last edited by whj; 04-02-2010 at 03:35 PM.
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
How to vary the transparency of part of the scene whj Vizard 0 04-02-2010 03:32 PM
Warping Rendered Scene? rwgray Vizard 3 03-25-2010 03:19 PM
Copying Scene? Brett Lindberg Vizard 0 08-29-2009 12:56 AM
Active scene Chrissy2009 Vizard 2 07-13-2009 10:49 AM
saving the scene giancamati Vizard 1 12-21-2006 10:25 AM


All times are GMT -7. The time now is 06:31 AM.


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