Using a texquad to cover a window
Hello,
I was using texquads to blank out a window I made with viz.add(viz.Window) in Vizard 3, but it looks to me like the way texquads work with windows has changed in Vizard 4 (it appears the texquad is in effect behind instead of in front of the window). So, is there a way to either attach a texquad to a window or is there a better way to fade to black? Thanks, Christian |
Can you post some sample code? The following script shows one way to use a quad to fade the scene in/out:
Code:
import viz |
Sure! I should have done that in the first place. My problem is not covering the whole screen - that still works. It is when I try to cover a sub-window I have a problem, as shown in the following code:
Code:
import viz Thanks, Christian |
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 |
Thanks, that was just what I needed.
Christian |
All times are GMT -7. The time now is 12:47 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC