POV-Ray : Newsgroups : povray.unofficial.patches : double/single precision : Re: double/single precision Server Time
1 Sep 2024 18:18:00 EDT (-0400)
  Re: double/single precision  
From: Chris Huff
Date: 19 Jan 2001 13:24:23
Message: <chrishuff-BE4984.13252919012001@news.povray.org>
In article <3a68805d$1@news.povray.org>, "Daniel Jungmann" 
<DSJ### [at] gmxnet> wrote:

> But single precision could be optimized. 3D!Now & SSE use single 
> precision and PovRay can't use this, because of double precision. I 
> am optimizing PovRay for SSE2 ( uses double precision ), but not 
> everybody have a Pentium 4 but I am looking for the possibility to 
> make PovRay faster and it would be easier to use 3D!Now & SSE to do 
> that.

Well, you could change it to single and use the SIMD features...and just 
get bad renders faster.
Raytracing *requires* double precision in a lot of areas, single 
precision could lead to inaccurate surfaces or simply failing to find an 
intersection at all...locating the areas where things could be done in 
single precision would be a lot of work. The color calculations are done 
in single-precision, but I don't know how much of an improvement you 
would get by optimizing those...

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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