POV-Ray : Newsgroups : povray.general : Mesh problem Server Time
5 Nov 2024 11:21:19 EST (-0500)
  Mesh problem (Message 1 to 4 of 4)  
From: Matti Karnaattu
Subject: Mesh problem
Date: 8 May 2003 11:05:06
Message: <web.3eba713cbda226ccbef0bd7d0@news.povray.org>
Almost every time when I do meshes by hand or using my own macros some of
the quad polygons (combination of two triangles) looks like it is full of
tiny holes. It is the same effect when making zero length boxes or similar
objects.

I have check my code hundred times and I'm sure that there isn't overlapping
trianles. What i do wrong?

Matti


Post a reply to this message

From: ABX
Subject: Re: Mesh problem
Date: 8 May 2003 11:08:00
Message: <qhskbv4kapv5enk5a4n42dpsq1hhb20vod@4ax.com>
On Thu,  8 May 2003 11:01:16 EDT, "Matti Karnaattu" <nomail@nomail> wrote:
> Almost every time when I do meshes by hand or using my own macros some of
> the quad polygons (combination of two triangles) looks like it is full of
> tiny holes. It is the same effect when making zero length boxes or similar
> objects.
>
> I have check my code hundred times and I'm sure that there isn't overlapping
> trianles. What i do wrong?

Something. :-)

In other words did you anything to verify your data?

ABX


Post a reply to this message

From: Matti Karnaattu
Subject: Re: Mesh problem
Date: 8 May 2003 13:10:09
Message: <web.3eba8892de136843bef0bd7d0@news.povray.org>
>In other words did you anything to verify your data?

Pen and paper, following code with creating same result by hand. My meshes
are so simple that this sould work. I like to know when this kind of result
is possible. I know that two surface at same position causes it but is
there any other situations?

Matti


Post a reply to this message

From: ABX
Subject: Re: Mesh problem
Date: 8 May 2003 13:16:09
Message: <1s3lbv0lfesf5n9h88j7te5ge196fo5fq7@4ax.com>
On Thu,  8 May 2003 12:40:50 EDT, "Matti Karnaattu" <nomail@nomail> wrote:
> >In other words did you anything to verify your data?
>
> Pen and paper, following code with creating same result by hand. My meshes
> are so simple that this sould work.

In every place where your syntax is outputed redirect it to external file and
verify file with final floats. Is mesh is really simple (about ten triangles)
present it here if you wish. If it is complicated try add conditions to your
script so it does not include other triangles in output. In other words - cause
your macros to create as small mesh as possible where this effect still appear.
Then it will be easier to find reason. Perhaps you will find reason yourself.

ABX


Post a reply to this message

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