#1
|
|||
|
|||
How to vary the transparency of part of the scene
Hello,
<node3d>.alpha changes the transparency of an OBJECT. But I would like to make part of the SCENE transparent or blur. 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 it is transparent or blur? 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) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Warping Rendered Scene? | rwgray | Vizard | 3 | 03-25-2010 02:19 PM |
Copying Scene? | Brett Lindberg | Vizard | 0 | 08-28-2009 11:56 PM |
Active scene | Chrissy2009 | Vizard | 2 | 07-13-2009 09:49 AM |
saving the scene | giancamati | Vizard | 1 | 12-21-2006 09:25 AM |
Collision with avatars and scene not working | JvdBosch | Vizard | 12 | 09-14-2006 06:01 PM |