POV-Ray : Newsgroups : povray.general : zero normal reported in mesh2 instead of mesh Server Time
16 Nov 2024 19:18:08 EST (-0500)
  zero normal reported in mesh2 instead of mesh (Message 1 to 4 of 4)  
From: Thomas Willhalm
Subject: zero normal reported in mesh2 instead of mesh
Date: 9 Sep 2003 05:18:41
Message: <3f5d9af0@news.povray.org>
Hello,

if you render a scene with a mesh that contains a smooth_triangle with a
normal that is zero, povray issues a warning about a "mesh2" instead of a
"mesh". The following szene illustrates this:

mesh { smooth_triangle { x,0, y,y, z,z } }

Povray 3.5c for Linux writes:

 Parsing...File: szenen/thw/meshbug.pov  Line: 1
 Warning: Normal vector in mesh2 cannot be zero - changing it to <1,0,0>. 

I have not verified this bug on other platforms, but by its nature it's
probably system independent.

If you look in parse.cpp, function Parse_Mesh, CASE(SMOOTH_TRIANGLE_TOKEN),
you find indeed messages about a mesh2 (although a mesh2 is parsed by
Parse_Mesh2).

I admit that this is only a cosmetic bug, but I assume that you also want to
know and fix those.

Thank you for your work on Povray
Thomas

-- 
aaa := ira


Post a reply to this message

From: ABX
Subject: Re: zero normal reported in mesh2 instead of mesh
Date: 9 Sep 2003 05:29:51
Message: <377rlvkckl8rdrf44qg5jgh6ep12pvkgbo@4ax.com>
On Tue, 09 Sep 2003 11:18:38 +0200, Thomas Willhalm
<wil### [at] aaauni-karlsruhede> wrote:
> If you look in parse.cpp, function Parse_Mesh, CASE(SMOOTH_TRIANGLE_TOKEN),
> you find indeed messages about a mesh2 (although a mesh2 is parsed by
> Parse_Mesh2).

This was already reported and fixed for next release, thanks for report.

ABX


Post a reply to this message

From: Thomas Willhalm
Subject: Re: zero normal reported in mesh2 instead of mesh
Date: 10 Sep 2003 10:34:09
Message: <3f5f3661@news.povray.org>
ABX wrote:

> On Tue, 09 Sep 2003 11:18:38 +0200, Thomas Willhalm
> <wil### [at] aaauni-karlsruhede> wrote:
>> If you look in parse.cpp, function Parse_Mesh,
>> CASE(SMOOTH_TRIANGLE_TOKEN), you find indeed messages about a mesh2
>> (although a mesh2 is parsed by Parse_Mesh2).
> 
> This was already reported and fixed for next release, thanks for report.

I didn't find it in povray.bugreports nor on
http://www.povray.org/download/3.5-bugs.php .
Is there any other place to look at before submitting a bug report or
did I just miss it?

Greetings
Thomas

-- 
aaa := ira


Post a reply to this message

From: ABX
Subject: Re: zero normal reported in mesh2 instead of mesh
Date: 10 Sep 2003 10:58:11
Message: <1keulv4emsoqco4fo5h63adeeg58ol59qa@4ax.com>
On Wed, 10 Sep 2003 16:34:07 +0200, Thomas Willhalm
<wil### [at] aaauni-karlsruhede> wrote:
> > This was already reported and fixed for next release, thanks for report.
>
> I didn't find it in povray.bugreports nor on
> http://www.povray.org/download/3.5-bugs.php .
> Is there any other place to look at before submitting a bug report or
> did I just miss it?

No. It was reported 'internal' way and fixed just a few days ago by a person
who has no writable access to 3.5-bugs.php so thare was no way to inform you
that it was already reported. There was everything fine on your side IMO. Do
not discourage yourself from reporting in the future :-) thanks in advance ,

ABX


Post a reply to this message

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