View Single Post
  #1  
Old 03-29-2010, 08:10 PM
llqqff llqqff is offline
Member
 
Join Date: May 2009
Posts: 25
Render a black subwindow

Now I want to change the vertical field of view by blacking out the pixels I don't want. I am using the following code:
import viz
viz.go()

viz.add('panorama.ive')

#Add a new window.
subWindow = viz.addWindow()
#Set the size and position of the window.
subWindow.setSize(1,.1845)
subWindow.setPosition(0,1)
subWindow.clearcolor(viz.BLACK)

But the subwindow still shows part of the scene of the virtual environment. I don't know why and how to render the subwindow black. Thanks.

Qiufeng
Reply With Quote