[Mesa-users] NURBS Tesselation
Pavel Vlasanek
tucnaq at gmail.com
Wed Apr 11 16:30:32 UTC 2018
Hi guys,
I am working on adaptive NURBS tessellation and I found a strange behavior
in GLU. Please, take a look on attached screenshots.
1.jpg - flat trimmed patch
2.jpg - same setup but curved patch
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).
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.
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 :)
Thank you,
Pavel V.
--
*RNDr. Pavel Vlašánek, Ph.D.*
*IT4**Innovations*
*NSC*
Institute for Research and Applications of Fuzzy Modeling
University of Ostrava
IT4Innovations National Supercomputing Center
30. dubna 22 | 701 03 Ostrava | Czech Republic
e-mail: pavel.vlasanek at osu.cz <%20pavel.vlasanek at osu.cz> | web IRAFM:
irafm.osu.cz | web IT4I: it4i.cz <http://www.it4i.cz/> | phone: +420
553 461 422
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20180411/fb9d26f6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.jpg
Type: image/jpeg
Size: 13410 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20180411/fb9d26f6/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.jpg
Type: image/jpeg
Size: 23293 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20180411/fb9d26f6/attachment-0003.jpg>
More information about the mesa-users
mailing list