Hi
what is the status of the nurbs support in the jogl?
I found GLUnurbs object in API
but I didn’t find any other API that uses it
is there separate jar file(s)?
thanks
Hi
what is the status of the nurbs support in the jogl?
I found GLUnurbs object in API
but I didn’t find any other API that uses it
is there separate jar file(s)?
thanks
It’s incomplete and in suspended animation. The NURBS library in GLU is very large and is a significant porting effort due to the use of C++ language constructs like taking pointers to fields. About 5000 of the 40000 lines have been ported so far and are checked in to the source tree but they haven’t been tested (and probably can’t be tested until more of the code is ported). If some people volunteer to do some more of the port then it will get done faster, but if not it will probably take a fairly long time to complete.
Ken, thanks for the answer
but why do you have to port C glu library to the Java?
why not to use native glu library via JNI?
can you explain pro/contra?
thanks
The GLU NURBS library interface is very complicated and we felt it was better to try to port it to Java rather than writing lots of JNI code to support its function pointer-based callback mechanism. Also, we have seen enough problems on Linux distributions trying to use the native GLU library from Java that doing a pure Java port seemed like the better approach.