View Single Post
  #2  
Old 06-14-2012, 01: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