|
![](/i/fill.gif) |
Wlodzimierz ABX Skiba <abx### [at] abx art pl> 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
|
![](/i/fill.gif) |