View Single Post
  #3  
Old 05-15-2008, 05:09 AM
Frank Verberne Frank Verberne is offline
Member
 
Join Date: Mar 2008
Location: Netherlands
Posts: 148
Hi farshizzo,

The modification of the original mirror script works fine. The only error in it is the line
Code:
lens.setMatrix(viz.Matrix.translate(-pos)*invRot*viz.Matrix.scale(1,1,-1)*rot*viz.Matrix.translate(pos))
This should be:
Code:
lens.setMatrix(viz.Matrix.translate(pos*-1)*invRot*viz.Matrix.scale(1,1,-1)*rot*viz.Matrix.translate(pos))
Thanks for helping me again!
Reply With Quote