[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55895] __go_patch__ fails when NaN vertices e

From: Eddy
Subject: [Octave-bug-tracker] [bug #55895] __go_patch__ fails when NaN vertices exist
Date: Thu, 14 Mar 2019 15:26:50 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #1, bug #55895 (project octave):

I'm looking into the problem.

One thing I found is, the SVD based co-planar test somehow accept NaN as input
(do not complain about it, in contrast to eig). So it is potentially a bug.
e.g. this create a infinite loop.

%v = [0 0 0; 1 0 0; 0 1 0; 0 0 1; nan nan nan];
f = 1:rows(v)
patch("vertices", v, "faces", f);

To fix it, I need to make sure some detail of __go_patch__.

1. When the last vertex contains NaN, what is the expected result? Still a
polygons (a closed loop) but with less edges? or a open loop?

2. If a open loop is expected (as what ver 5.1.0 shown), what should be the
normal vector of that face? Especially what if the whole face is not in a
plane. It is not a typical face actually.


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]