|
 |
"GioSeregni" <gms### [at] hotmail com> wrote:
> I've studied the #debug feature a bit, but I don't understand. Is there a way to
> tell PovRay to generate a file with only the incorrect entities, or to rewrite
> my file to clean them up?
> It would save me some often long and tedious work.
The mesh2 files are not accessible as arrays, so you can't loop over the content
and check for vertices being ~equal.
Options:
- manually or using a script turn your mesh-file into a file of arrays. Then you
can loop over them and check
- write a small mesh2 parser in a scripting language. There then loop over the
triangles. I once wrote a mesh2 to obj converter in Python. It may still be
somewhere in the newsgroups. I myself lost it.
- use a mesh cleaner. May have to convert to an other format first, or if you
use an other format before converting to mesh2, use that file format to clean.
- check what PoseRay can do (for you) in this regard. I really don't know, it's
been a long time since i used it.
ingo
Post a reply to this message
|
 |