Login  Register

gluNurbsProperty fields

classic Classic list List threaded Threaded
3 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

gluNurbsProperty fields

Hecaton
5 posts
Hello there, I'm succesfully using GLUgl2's gluNurbsSurface to draw surfaces and am now trying to get outline patches working but have so far been unable to do so.
I haven't been able to find either of the GLU_DISPLAY_MODE or GLU_OUTLINE_PATCH fields in GLUgl2 or GLU and substituting in their int values -
(glugl2.gluNurbsProperty(nurbsRenderer, 100204, 100240);)
hasn't done anything - my surfaces keep on drawing in fill mode as usual.

Is changing the nurbs display mode not supported or am I doing something wrong?

 Thanks, Hecaton.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: gluNurbsProperty fields

gouessej
Administrator
6045 posts
Hi

I think it is not supported yet but I'm not 100% sure. These constants were in very early drafts of JOGL but not in JOGL 2. There is a way of switching to the native GLU implementation (instead of using the Java GLU port) but I have forgotten the name of this flag and you will be exposed to native GLU bugs if you do so.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: gluNurbsProperty fields

Hecaton
5 posts
Ah right.
I can easily get away without it. Would have mainly been for testing purposes anyway.
I'll gladly skip the joys of native GLU.

Thanks for the info, Hecaton.