POV-Ray : Newsgroups : povray.unofficial.patches : radiosity samples: 255x255x255 probably isn't enough : pow()??? (Re: radiosity samples: 255x255x255 probably isn't enough) Server Time
4 Nov 2024 18:22:01 EST (-0500)
  pow()??? (Re: radiosity samples: 255x255x255 probably isn't enough)  
From: Vadim Sytnikov
Date: 8 Jan 2003 11:58:44
Message: <3e1c58c4@news.povray.org>
"Apache" <apa### [at] yahoocom> wrote:
>   dest_vec[Z] = sqrt(1. - pow(src_vec->x, 2.)-pow(src_vec->x, 2.));

Why on Earth are you using such an expensive thing as pow() here? It is slow
as hell compared to simple multiplication. What's the catch? Am I missing
something?


Post a reply to this message

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