Scroll to navigation

GLUBEGINCURVE(3G) GLUBEGINCURVE(3G)

̾??

gluBeginCurve, gluEndCurve - NURBS ???????????????ڤ?

????

void gluBeginCurve( GLUnurbs* nurb )


void gluEndCurve( GLUnurbs* nurb )


??????

???ꤹ?롣

????

NURBS ???????????γ??Ϥ? gluBeginCurve ???ȤäƼ????? gluBeginCurve ???Ƥ??????ˡ??ҤȤİʾ??? gluNurbsCurve ???ƤӽФ??ƶ?????°???????????롣 gluNurbsCurve ?θƤӽФ????󤴤Ȥˡ? GL_MAP1_VERTEX_3 ?ޤ??? GL_MAP1_VERTEX_4 ???ζ??????ҤȤĤ????ʤ????Фʤ??ʤ??? NURBS ?????ν??????򼨤??ˤ? gluEndCurve ???ƤӽФ???

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

??????

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

gluBeginCurve(nobj);
gluNurbsCurve(nobj, ..., GL_MAP1_TEXTURE_COORD_2);
gluNurbsCurve(nobj, ..., GL_MAP1_NORMAL);
gluNurbsCurve(nobj, ..., GL_MAP1_VERTEX_4); gluEndCurve(nobj);

??Ϣ????

gluBeginSurface, gluBeginTrim, gluNewNurbsRenderer, gluNurbsCurve, glPopAttrib, glPushAttrib