GLUBEGINSURFACE



GLUBEGINSURFACE

NAME
C SPECIFICATION
PARAMETERS
DESCRIPTION
EXAMPLE
SEE ALSO

NAME

gluBeginSurface, gluEndSurface − delimit a NURBS surface definition

C SPECIFICATION

void gluBeginSurface( GLUnurbs* nurb )

void gluEndSurface( GLUnurbs* nurb )

PARAMETERS

nurb

Specifies the NURBS object (created with gluNewNurbsRenderer).

DESCRIPTION

Use gluBeginSurface to mark the beginning of a NURBS surface definition. After calling gluBeginSurface, make one or more calls to gluNurbsSurface to define the attributes of the surface. Exactly one of these calls to gluNurbsSurface must have a surface type of GL_MAP2_VERTEX_3 or GL_MAP2_VERTEX_4. To mark the end of the NURBS surface definition, call gluEndSurface.

Trimming of NURBS surfaces is supported with gluBeginTrim, gluPwlCurve, gluNurbsCurve, and gluEndTrim. See the gluBeginTrim reference page for details.

GL evaluators are used to render the NURBS surface as a set of polygons. Evaluator state is preserved during rendering with glPushAttrib(GL_EVAL_BIT) and glPopAttrib(). See the glPushAttrib reference page for details on exactly what state these calls preserve.

EXAMPLE

The following commands render a textured NURBS surface with normals; the texture coordinates and normals are also described as NURBS surfaces:

gluBeginSurface(nobj);
gluNurbsSurface(nobj, ..., GL_MAP2_TEXTURE_COORD_2);
gluNurbsSurface(nobj, ..., GL_MAP2_NORMAL);
gluNurbsSurface(nobj, ..., GL_MAP2_VERTEX_4); gluEndSurface(nobj);

SEE ALSO

gluBeginCurve(3G), gluBeginTrim(3G), gluNewNurbsRenderer(3G), gluNurbsCurve(3G), gluNurbsSurface(3G), gluPwlCurve(3G)



More Linux Commands

manpages/typeahead_sp.3ncurses.html
typeahead_sp(3ncurses) - curses screen-pointer extension....
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th

manpages/slk_attron_sp.3ncurses.html
slk_attron_sp(3ncurses) - curses screen-pointer extension...
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th

manpages/cvtbatch.8.html
cvtbatch(8) - Convert Usenet batch files to INN format......
cvtbatch reads standard input as a sequence of lines, converts each line, and writes it to standard output. It is used to convert simple batch files that contai

manpages/systemd-binfmt.service.8.html
systemd-binfmt.service(8) Configure additional binary format
systemd-binfmt.service is an early-boot service that registers additional binary formats for executables in the kernel. See binfmt.d(5) for information about th

manpages/ctl_cyrusdb.8.html
ctl_cyrusdb(8) - perform operations common to all Cyrus data
Ctl_cyrusdb is used to perform various administrative operations on the Cyrus databases. Ctl_cyrusdb reads its configuration options out of the imapd.conf(5) fi

manpages/Tcl_LimitExceeded.3.html
Tcl_LimitExceeded(3) - manage and check resource limits on i
Tcls interpreter resource limit subsystem allows for close control over how much computation time a script may use, and is useful for cases where a program is d

manpages/Tcl_GetNamespaceUnknownHandler.3.html
Tcl_GetNamespaceUnknownHandler(3) - manipulate namespaces...
Namespaces are hierarchic naming contexts that can contain commands and variables. They also maintain a list of patterns that describes what commands are export

manpages/gst-xmllaunch-0.10.1.html
gst-xmllaunch-0.10(1) - build and run a GStreamer pipeline f
gst-xmllaunch is a tool that is used to build and run a basic GStreamer pipeline, loading it from an XML description. You can produce the XML description using

manpages/uniconv.1.html
uniconv(1) - convert text to native formats through unicode
uniconv program decodes scripts with a certain encoding encodes them with some other encoding. The scipt is a 16,8 or 7 bit-byte stream. The converted text will

manpages/PAIR_NUMBER.3ncurses.html
attr_set(3ncurses) - curses character and window attribute c
These routines manipulate the current attributes of the named window. The current attributes of a window apply to all characters that are written into the windo

manpages/lspci.8.html
lspci(8) - list all PCI devices (Admin - Linux man page)....
lspci is a utility for displaying information about PCI buses in the system and devices connected to them. By default, it shows a brief list of devices. Use the

manpages/listen.2.html
listen(2) - listen for connections on a socket (Man Page)...
listen() marks the socket referred to by sockfd as a passive socket, that is, as a socket that will be used to accept incoming connection requests using accept(





We can't live, work or learn in freedom unless the software we use is free.