POV-Ray : Newsgroups : povray.general : to litle precision ? : Re: to litle precision ? Server Time
6 Aug 2024 02:22:06 EDT (-0400)
  Re: to litle precision ?  
From: Ron Parker
Date: 8 Aug 2002 10:00:51
Message: <slrnal4uct.ag4.ron.parker@fwi.com>
On Thu, 08 Aug 2002 13:55:32 +0200, ABX wrote:
> On 8 Aug 2002 07:47:36 -0400, "Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote:
>> after looking deep into sources :
>>
>> 1. mesh use float's
> 
> I can be wrong but I think they are only stored as floats. They are used in
> intersection tests as doubles probably. So it is rather that vertices are
> "aligned" to grid but still should be accurate the same way.

For a very interesting definition of the word "grid."

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbf 1}hollow interior{media{emission 3-T}}}#end 
Z(-x-x.2x)camera{location z*-10rotate x*90normal{bumps.02scale.05}}


Post a reply to this message

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