<div dir="ltr">Hi guys,<div><br></div><div>I am working on adaptive NURBS tessellation and I found a strange behavior in GLU. Please, take a look on attached screenshots.</div><div><br></div><div>1.jpg - flat trimmed patch</div><div>2.jpg - same setup but curved patch</div><div><br></div><div>Both of them are NURBS, the only difference is in control points. Why the tessellation on the edge looks great in 2.jpg and terrible in 1.jpg? The same for inner trim by the way (not in the pictures).</div><div><br></div><div>I am just debugging the GLU and so far I found that the 1.jpg scenario leads to the "case cd" in "ccw.h". The problem is with wrong sampling.</div><div><br></div><div>Well, I am trying to fix it in the code but I would like to ask for some advice or guidance :) The debugging is very time consuming so if any of you have some advice or fix available I would be happy :)</div><div><br></div><div>Thank you,</div><div>Pavel V.</div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><p class="inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-size:initial;background-origin:initial;background-clip:initial;background-position:initial;background-repeat:initial"><b><span style="font-size:10pt;font-family:arial,sans-serif;color:rgb(36,34,90)">RNDr. Pavel Vlašánek, Ph.D.<br></span></b><span style="font-size:10pt;font-family:helvetica,sans-serif"><br> </span><b><span style="font-size:9pt;font-family:arial,sans-serif;color:rgb(36,34,90)">IT4</span></b><b><span style="font-size:9pt;font-family:arial,sans-serif;color:rgb(0,155,221)">Innovations</span></b><b><span style="font-size:9pt;font-family:arial,sans-serif;color:rgb(136,136,136)"> </span></b><b><span style="font-size:9pt;font-family:arial,sans-serif"><font color="#af1d1f">NSC<br></font></span></b><span style="font-family:arial,sans-serif;font-size:9pt"><font color="#af1d1f"><b><br></b></font><font color="#6a6a6c">Institute for Research and Applications of Fuzzy Modeling<br></font></span><span style="color:rgb(106,106,108);font-family:arial,sans-serif;font-size:9pt">University of Ostrava<br></span><span style="color:rgb(106,106,108);font-family:arial,sans-serif;font-size:9pt">IT4Innovations National Supercomputing Center<br></span><font color="#6a6a6c" face="arial, sans-serif"><span style="font-size:9pt">30. dubna 22 | 701 03 Ostrava
| Czech Republic</span><span style="font-size:12px"><br></span></font><span style="font-family:helvetica,sans-serif;font-size:10pt"> </span></p><p style="font-family:"helvetica neue",helvetica,arial,sans-serif;line-height:1.5;padding:0px;margin:0px">
<span style="font-size:9pt;line-height:115%;font-family:arial,sans-serif;color:rgb(0,155,221)">e-mail: </span><span style="font-size:10pt;line-height:115%;font-family:helvetica,sans-serif"><a href="mailto:%20pavel.vlasanek@osu.cz" target="_blank"><span style="font-size:9pt;line-height:115%;font-family:arial,sans-serif;color:rgb(106,106,108)">pavel.vlasanek@osu.cz</span></a></span><span style="font-size:9pt;line-height:115%;font-family:arial,sans-serif;color:rgb(0,155,221)"> </span><span style="font-size:9pt;line-height:115%;font-family:arial,sans-serif;color:rgb(136,136,136)">| </span><span style="font-size:9pt;line-height:115%;font-family:arial,sans-serif;color:rgb(0,155,221)">web IRAFM:</span><span style="font-size:9pt;line-height:115%;font-family:arial,sans-serif;color:rgb(136,136,136)"> </span><span style="font-size:10pt;line-height:115%;font-family:helvetica,sans-serif"><a href="http://irafm.osu.cz/" target="_blank"><span style="font-size:9pt;line-height:115%;font-family:arial,sans-serif;color:rgb(106,106,108)">irafm.osu.cz</span></a></span><span style="font-size:9pt;line-height:115%;font-family:arial,sans-serif;color:rgb(136,136,136)"> | </span><span style="font-size:9pt;line-height:115%;font-family:arial,sans-serif;color:rgb(0,155,221)">web IT4I:</span><span style="font-size:9pt;line-height:115%;font-family:arial,sans-serif;color:rgb(136,136,136)"> </span><span style="font-size:10pt;line-height:115%;font-family:helvetica,sans-serif"><a href="http://www.it4i.cz/" target="_blank"><span style="font-size:9pt;line-height:115%;font-family:arial,sans-serif;color:rgb(106,106,108)">it4i.cz</span></a></span><span style="font-size:9pt;line-height:115%;font-family:arial,sans-serif;color:rgb(136,136,136)"> | </span><span style="font-size:9pt;line-height:115%;font-family:arial,sans-serif;color:rgb(0,155,221)">phone:</span><span style="font-size:9pt;line-height:115%;font-family:arial,sans-serif;color:rgb(136,136,136)"> +420
553 461 422</span><br></p></div></div>