NURBS Tesselation

Pavel Vlasanek <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CAGz9kJzFN+jDGGRJiJj2uFSmRyFjjxQ7M9JweVbP27FOM+RPxw@mail.gmail.com>
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: [email protected] <%[email protected]>  |   web IRAFM:
irafm.osu.cz  |   web IT4I: it4i.cz <http://www.it4i.cz/>  |   phone: +420
553 461 422

_______________________________________________
mesa-users mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-users
1.jpg (image/jpeg, 13.1 KB) - not displayed
2.jpg (image/jpeg, 22.7 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.