|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Does POVRay use double precision numbers anywhere in its fields or calcs?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
dragonmage <dra### [at] gmailcom> wrote:
> Does POVRay use double precision numbers anywhere in its fields or calcs?
I wonder why you think that 'double' wouldn't be the default type used
by POV-Ray for its calculations.
AFAIK the only places POV-Ray uses 'float' is in color handling (ie.
the colors of the final image, which end up as pixels in the final image
file) and mesh coordinates.
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp <war### [at] tagpovrayorg> wrote:
> dragonmage <dra### [at] gmailcom> wrote:
> > Does POVRay use double precision numbers anywhere in its fields or calcs?
>
> I wonder why you think that 'double' wouldn't be the default type used
> by POV-Ray for its calculations.
In the help provided with the program:
a search on "float" reveals endless references to float,
such as: all floating point functions, vector litterals, user defined
functions,
teh machine epsilon documented is rather large, pretty muich all parameters,
such as global settings, the transformation matrix is 12 float vectors, ...
and so on.
searching on double finds much less. though there is a para. on 3DNow which
states that POVRay needs double precision.
cheers,
chris
>
> AFAIK the only places POV-Ray uses 'float' is in color handling (ie.
> the colors of the final image, which end up as pixels in the final image
> file) and mesh coordinates.
>
> --
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> In the help provided with the program:
> a search on "float" reveals endless references to float,
The user documentation doesn't trouble itself to distinguish between
single and double precision, subsuming them all as floating-point
numbers. If you search the source for references to SNGL and DBL (which
are typedef'd appropriately), you will find fewer areas where SNGL is
mentioned.
--
"Of all things, good sense is the most fairly distributed: everyone
thinks he is so well supplied with it that even those who are the
hardest to satisfy in every other respect never desire more of it than
they already have." -- Descartes, 1637 http://surreal.istic.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
dragonmage <dra### [at] gmailcom> wrote:
> In the help provided with the program:
> a search on "float" reveals endless references to float,
In the documentation "float" is just short for "floating point number".
It doesn't refer to its size.
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |