POV-Ray : Newsgroups : povray.programming : Inverse transforms inefficiency Server Time
5 Jul 2024 15:22:00 EDT (-0400)
  Inverse transforms inefficiency (Message 1 to 1 of 1)  
From: Christoph Hormann
Subject: Inverse transforms inefficiency
Date: 22 Jan 2003 12:01:10
Message: <3E2ECE55.CC593695@gmx.de>
In parse.cpp, function 'Parse_Transform_Block()' it calls 'MInvers()' two
times:

   if(isInverse == true)
   {
       MInvers(New->matrix, New->matrix);
       MInvers(New->inverse, New->inverse);
   }

instead of just swapping the matrices.  I can't find any reason for this,
i suppose it is just some unintended inefficiency.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 31 Dec. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

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