POV-Ray : Newsgroups : povray.binaries.images : Mesh2 bug? [JPG, 800 x 600, 42881 bytes] : Re: Mesh2 bug? [JPG, 800 x 600, 42881 bytes] Server Time
8 Aug 2024 22:16:18 EDT (-0400)
  Re: Mesh2 bug? [JPG, 800 x 600, 42881 bytes]  
From: Jörg 'Yadgar' Bleimann
Date: 24 Apr 2005 04:07:52
Message: <426b53d8@news.povray.org>
High!

Gilles Tran wrote:

> If precision errors can be ruled out, then it looks like that the common 
> vertices of two adjacent triangles are actually slightly different... I've 
> never seen something like this in a regular mesh2. One possible way to test 
> this would be to choose one vertex coordinate (for instance x=3.8989901) and 
> search for the beginning of the string (without the last digits, for 
> instance 3.898). If you find something like x=3.898123 then it's probable 
> that the vertices are duplicated and slightly off.

I have no clue how to do this... I even didn't understand until now how 
face_indices work - it's all Greek to me! And posting the code would be 
useless without also posting the ASCII matrix - but the latter is about 
6 megs large!

In the original matrix, the elevation values are in fact integer 
numbers, but converted to floats, with an accuracy of 2 digits right of 
the point, such as 2894.00,2876.00,2803.00,... etc.

Perhaps I should erase all those useless .00s to get real integers...

See you in Khyberspace!

Yadgar

Now playing: Endless Dream (Yes)


Post a reply to this message

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