POV-Ray : Newsgroups : povray.programming : Mesh Single Precision? : Re: Mesh Single Precision? Server Time
28 Jul 2024 12:28:00 EDT (-0400)
  Re: Mesh Single Precision?  
From: Geoff Wedig
Date: 2 Jul 2001 07:49:48
Message: <3b405fdc@news.povray.org>
Wlodzimierz ABX Skiba <abx### [at] abxartpl> wrote:

> Geoff Wedig wrote in message <3b39c23a@news.povray.org>...
>> I've found that the vertices of meshes are stored as single-precision
>> values.
>> ...
>> So, anyone know why this is the way it is?


> I don't know source for meshes but I've idea that it is automatically converted
> to single float to save memory by eliminating (equal after conversion)
> neigbours. Perhaps it is some kind of variable EPSILON value. But it is just
> idea becouse I don't know anything about storing vertices of mesh.

Hmm, I might look to see, but I don't think so.  The parse routine for the
mesh2, at least, doesn't do anything so clever as far as I've seen.  Maybe
mesh does, though.

Right now, that's the least of my worries.  I'm getting some really weird
behaviors which culminate in a segmentation fault from the triangles.  Some
kind of data corruption.  At this point, given the nature of my output, I'm
starting to suspect the compiler, which isn't a good thing.

Geoff


Post a reply to this message

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