Thread: Mirror issues
View Single Post
Old 04-08-2008, 10:25 AM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
There is a bug in the clip plane calculation, replace that section with the following code:
#Setup reflection clip plane
s = -viz.sign(viz.Vector(dir) * viz.Vector(pos))
plane = vizmat.Plane(pos=pos,normal=dir)
dist = plane.distance([0,0,0])
Reply With Quote