POV-Ray : Newsgroups : povray.programming : Profiling of optics.pov : Re: Profiling of optics.pov Server Time
28 Jul 2024 08:24:42 EDT (-0400)
  Re: Profiling of optics.pov  
From: Thorsten Froehlich
Date: 2 Sep 2002 12:27:50
Message: <3d739186@news.povray.org>
In article <3d73558d@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:

>   I wonder if that happens at parse time or at rendering time. If it happens
> at rendering time, then it may be a bit alarming.

At render time.  The trick is to remove the square root from each recursive
call.  This can be done by calculating it in PQInsert and making sqrt_dmax_s
a global variable just like dmax_s.   This is because dmax_s seems to only
change in PQInsert as far as I can tell...

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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