WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-14-2012, 10:51 AM
yanw yanw is offline
Member
 
Join Date: Jan 2012
Posts: 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
Reply With Quote
  #2  
Old 06-14-2012, 12:44 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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)
Reply With Quote
Reply

Tags
mirror

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
nVis SX/111 Display kevin Vizard 8 09-25-2012 03:24 PM
display mode change, getting framerate dcnieho Vizard 3 05-23-2011 07:32 PM
How do we display Chinese characters luakt Vizard 2 09-06-2008 01:18 AM
Support for Philips IC3D Autostereoscopic display mspusch Vizard 0 07-13-2006 04:14 PM
Text Display bstankie Vizard 1 12-22-2003 03:23 PM


All times are GMT -7. The time now is 04:28 PM.


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