![]() |
|
#1
|
|||
|
|||
There is a bug in the clip plane calculation, replace that section with the following code:
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]) lens.clipPlane([-dir[0],-dir[1],-dir[2],s*dist+0.001]) |
#2
|
|||
|
|||
Thanks for the quick reply! Replacing the section of the clip plane calculation did the trick. The mirror now works as it should work
![]() |
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|