WorldViz User Forum

WorldViz User Forum (
-   Vizard (
-   -   Mirror imaging the display (

yanw 06-14-2012 10:51 AM

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?



farshizzo 06-14-2012 12:44 PM

The following code uses a post-process effect to horizontally flip the final rendered image:

#Flip rendered image horizontally
flipWindow = viz.addWindow(size=(1,1),pos=(0,1),clearMask=0,order=100)
import vizfx.postprocess.manager as pp
from vizfx.postprocess.transform import FlipEffect

All times are GMT -7. The time now is 09:57 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC