#1
|
|||
|
|||
PROBLEM: Picture-in-Picture breaks textures?!?
I am implementing a picture-in-picture view where the main view is what the user sees and a small windown in the corner shows an outside view of the user's avatar. The apprearence of the outside window is triggered by a keyboard callback like so:
Code:
def mykeyboard(button): global cheat, PinP # initialized as PinP = viz.add(viz.WINDOW) if button is ' ': #space on keyboard toggles PinP window if cheat == 0: cheat = 1 PinP.visible(viz.ON) else: cheat = 0 PinP.visible(viz.OFF) is there somehting like a viz.REDRAW command, or some other way to solve this problem? Note: after the textures are broken, toggling the extra window ON and OFF does not fix the texture problem. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|