POV-Ray : Newsgroups : povray.unofficial.patches : Photons and Laser Beams : Re: Photons and Laser Beams Server Time
2 Nov 2024 17:21:00 EDT (-0400)
  Re: Photons and Laser Beams  
From: Ron Parker
Date: 9 Jun 1999 13:25:56
Message: <375ea3a4@news.povray.org>
On 9 Jun 1999 13:18:03 -0400, Ron Parker wrote:
>Of course, this assumes you haven't done anything with the mirror, like
>rotating or scaling it.  If you've done that, you'll have to fix the 
>normal and offset appropriately.

Wicked thought - just find three points on your plane (this is easy 
enough, especially if you start with an axis-aligned plane.) and 
transform each of them as you transform the plane, then recalculate 
the normal and offset from them.

  #local Normal = vnormalize(vcross( c-a, b-a ) );
  #local Offset = vdot( a, Normal );


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.