Hi, I know the GLU library in mesa 3D is just a copy of SGIs GLU library, but i found noone else to ask. 8-(
The problem is in gluNurbsSurface. When used with a larger number of control points, some tesselation results are useless e.g. "inf" or fall outside of the contol point bounding box. The only i can offer is a rc-release of white_dune (a VRML/X3D editor) ftp://ftp.ourproject.org/pub/wdune/wdune-0.99rc1035.tar.bz2 and a test case https://wdune.ourproject.org/examples/trimmed3.x3dv and a screenshot on Ubuntu Linux 18.04 i386 in the attachment. white_dune comes with its own NURBS implementation for NurbsPatchsurface, but for NurbsTrimmedSurface it tries to use gluNurbsSurface. If you use NurbsTrimmedSurface without NurbsTrimmedSurface.trimmingContour i should look like a NurbsPatchsurface (no trimming). To compile for the testcase use $ bzip2 -cd wdune-0.99rc1035.tar.bz | tar -xf - $ cd wdune-0.99rc1035 $ buildscripts/build-without-cgal-debug-j4.sh $ bin/dune https://wdune.ourproject.org/examples/trimmed3.x3dv You need at least the developer versions of motif/lesstif, GLU/GL and libcurl. valgrind complains here about "Invalid read of size 4" but is this the error ? so long MUFTI
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev