Scroll to navigation

GLUBEGINSURFACE(3G) GLUBEGINSURFACE(3G)

̾??

gluBeginSurface, gluEndSurface - NURBS ???̤??????????ڤ?

????

void gluBeginSurface( GLUnurbs* nurb )


void gluEndSurface( GLUnurbs* nurb )


??????

NURBS ???֥???????(gluNewNurbsRenderer ???Ȥä?????????)?? ???ꤹ?롣

????

NURBS ???̤??????γ??Ϥ? gluBeginSurface ???ȤäƼ????? gluBeginSurface ???Ƥ??????ˡ??ҤȤİʾ??? gluNurbsSurface ???ƤӽФ??ƶ??̤?°???????????롣 gluNurbsSurface ?θƤӽФ????󤴤Ȥˡ? GL_MAP2_VERTEX_3 ?ޤ??? GL_MAP2_VERTEX_4 ???ζ??̤??ʤ????Фʤ??ʤ??? NURBS ???̤ν??????򼨤??ˤ? gluEndSurface ???ƤӽФ???

NURBS ???̤Υȥ??ߥ󥰤? gluBeginTrim, gluPwlCurve, gluNurbsCurve, gluEndTrim ?ǹԤ??롣 ?ܤ????? gluBeginTrim ?ι??ܤ򻲾Ȥ??뤳?ȡ?

NURBS ???̤ϡ?GL ??ɾ?????????ƤӽФ????Ȥˤ???¿?ѷ??ν??ޤ??Ȥ??? ?????????󥰤????롣 ?????????󥰤δ֤ϡ?ɾ???????ξ????ͤ? glPushAttrib(GL_EVAL_BIT) ?? glPopAttrib() ???Ȥä???¸?????롣 ???????δؿ??ƤӽФ?????¸?????????֤????Τʾ????ˤĤ??Ƥ? glPushAttrib ?ι??ܤ򻲾Ȥ??뤳?ȡ?

??????

?ʲ??Υ??ޥ??ɤϡ?ˡ???????????ƥ??????????????줿 NURBS ???̤? ?????????󥰤??롣 ?ƥ?????????ɸ?Ϥ?ˡ???? NURBS ?????Ȥ??ƻ??ꤹ?롣

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

??Ϣ????

gluBeginCurve, gluBeginTrim, gluNewNurbsRenderer, gluNurbsCurve, gluNurbsSurface, gluPwlCurve