#1
|
|||
|
|||
Mirror imaging the display
Hi all,
We are displaying our virtual world through a mirror. Because of this we would like to mirror the output of vizard so that the left of the world is presented on the right of the screen and vice versa. The top of the world still needs to be presented at the top screen so simple rotations available through the video card do not work. Does anybody know if this is possible to do in Vizard? Thanks Y |
#2
|
|||
|
|||
The following code uses a post-process effect to horizontally flip the final rendered image:
Code:
#Flip rendered image horizontally flipWindow = viz.addWindow(size=(1,1),pos=(0,1),clearMask=0,order=100) flipWindow.setView(viz.addView(scene=viz.addScene())) import vizfx.postprocess.manager as pp from vizfx.postprocess.transform import FlipEffect pp.getEffectManager(flipWindow).setRenderBufferMode(pp.READ_FRAME_BUFFER) pp.addEffect(FlipEffect(horizontal=True),window=flipWindow) |
Tags |
mirror |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
nVis SX/111 Display | kevin | Vizard | 8 | 09-25-2012 04:24 PM |
display mode change, getting framerate | dcnieho | Vizard | 3 | 05-23-2011 08:32 PM |
How do we display Chinese characters | luakt | Vizard | 2 | 09-06-2008 02:18 AM |
Support for Philips IC3D Autostereoscopic display | mspusch | Vizard | 0 | 07-13-2006 05:14 PM |
Text Display | bstankie | Vizard | 1 | 12-22-2003 04:23 PM |