POV-Ray : Newsgroups : povray.off-topic : Ray tracers and transformations : Re: Ray tracers and transformations Server Time
10 Oct 2024 17:21:42 EDT (-0400)
  Re: Ray tracers and transformations  
From: Warp
Date: 13 Mar 2008 19:10:20
Message: <47d9c26b@news.povray.org>
Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:
> As far as I know, the way POV-Ray does it (and probably most others) is 
> by creating a transformation matrix of all the individual 
> transformations, then inversing it, and using it to transform *rays* 
> before doing the intersection calculations.

  That's the reason why you can't, for example, scale something by 0.
Inverting that matrix would result in a division by 0.

-- 
                                                          - Warp


Post a reply to this message

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