GLUBEGINTRIM(3G) | GLUBEGINTRIM(3G) |
̾??¶
gluBeginTrim, gluEndTrim - NURBS ?Υȥ??ߥ????Ķ??????????????ڤ?
????¶
void gluBeginTrim( GLUnurbs* nurb )
void gluEndTrim( GLUnurbs* nurb )
??????¶
- nurb
- NURBS ???֥???????(gluNewNurbsRenderer ???Ȥä?????????) ?????ꤹ?롣
????¶
?ȥ??ߥ????Ķ????γ??Ϥ??ˤ? gluBeginTrim ???Ȥ??? ?ȥ??ߥ????Ķ????ν?λ???ˤ? gluEndTrim ???Ȥ??? ?ȥ??ߥ????Ķ????ϸ????????ä??????????????Ȥν??ޤ??Ǥ???(???줬 ?Ĥ??????????ʤ?)??NURBS ???̤ζ????????????롣 ???Υȥ??ߥ????Ķ??????????ϡ?NURBS ???̤??????????? (gluBeginSurface ?? gluEndSurface ?θƤӽФ??δ?) ?˵??Ҥ??롣
?ҤȤĤ? NURBS ???̤????????Ф??ơ?ʣ???Υȥ??ߥ????Ķ??????ޤ??뤳?? ???Ǥ??롣 ?㤨?С???????Ĺ?????Τ褦?ʷ??? NURBS ???̤??????Ҥ????ݤˤϡ? ?????????ˤϤդ??ĤΥȥ??ߥ????Ķ??????ޤޤ??롣 ?ҤȤĤ?Ĺ?????γ??????????????Ķ????Ǥ??ꡢ?⤦?ҤȤĤ?Ĺ?????? ???????????????????Ķ????Ǥ??롣 ???????Υȥ??ߥ????Ķ??????????ϡ????줾?? gluBeginTrim/gluEndTrim ?dz??롣
?ҤȤĤΥȥ??ߥ????Ķ??????????ϡ?ʣ???ζ???ʬ???????Ǥ??롣 ???줾???ζ???ʬ?϶?ʬ???????? (gluPwlCurve ??)?? ?ҤȤĤ? NURBS ???? (gluNurbsCurve ??)?????뤤?? ξ?Ԥ??Ȥ߹??碌(???֤?Ǥ??)?Ȥ??Ƶ??Ҥ????롣 ?ȥ??ߥ????Ķ????????????˸ƤӽФ??????饤?֥????ؿ??? gluPwlCurve ?? gluNurbsCurve ?????Ǥ??롣
NURBS ???̤?ɽ??????????ʬ?ϡ??ȥ??ߥ????Ķ????Υѥ?????????ä??? ?????Ǹ??ơ??????κ??ˤ????ΰ??Ǥ??롣 ???????äơ?NURBS ???̤Τ????ڤ??????줺?˻Ĥ??ΰ???ȿ???ײ????? ?ȥ??ߥ????Ķ???????¦???Ļ??ײ????Υȥ??ߥ????Ķ????γ?¦?ˤ?????ʬ?? ???롣 ???Ҥ?Ĺ?????ˤĤ??Ƹ????ȡ?Ĺ?????γ??????? ?ȥ??ߥ????Ķ?????ȿ???ײ????Ǥ??ꡢ??¦?ˤ????????? ?ȥ??ߥ????Ķ????ϻ??ײ????Ȥʤ롣
ʣ???ζ??????ȤäƤҤȤĤΥȥ??ߥ????Ķ??????????????????ϡ? ????ʬ?ν??礬?ҤȤĤ??Ĥ????Ķ??????????ʤ????Фʤ??ʤ? (?Ĥޤꡢ?ƶ????ν????ϼ??ζ????λ????Ǥ??ꡢ???ĺǸ??ζ????ν????? ?ǽ??ζ????λ????Ǥʤ????Фʤ??ʤ?)?? ?????λ????Ƚ???????ʬ?ᤤ????̩?ˤϰ??פ??Ƥ??ʤ??????ϡ????????? ???פ??????ΤȤ??ư??????롣 ?????Ƚ???????ʬ??ʤ??????ϡ????̤ϥ??顼?Ȥʤ? (gluNurbsCallback ??)??
?ȥ??ߥ????Ķ???????????ʣ???ζ??????ޤޤ????????ϡ??????θ??????????? ???????Ƥ??ʤ????Фʤ??ʤ?(?Ĥޤꡢ???Ƥζ????κ?¦?ˤʤ???ʬ????¦?? ?ʤ????Фʤ??ʤ?)?? ?ȥ??ߥ????Ķ??????????Ҥˤʤ??????ϡ??????θ????????????Ѥ??????????? ???????롣 ?ȥ??ߥ????Ķ???????ʬ???Ȥ??뤤??¾???Ķ????ȸ????äƤ????????ˤϡ? ???̤ϥ??顼?Ȥʤ롣
NURBS ???̤??Ф??ƥȥ??ߥ????ꤵ???Ƥ??ʤ????С? ???????Τ????褵???롣
??????¶
???˼????????ɤϡ???ʬ?????????ҤȤĤ? NURBS ?????դ??Ĥ??ޤ? ?ȥ??ߥ????Ķ?????????????:
gluBeginTrim(nobj);
gluPwlCurve(..., GLU_MAP1_TRIM_2);
gluNurbsCurve(..., GLU_MAP1_TRIM_2);
gluNurbsCurve(..., GLU_MAP1_TRIM_3); gluEndTrim(nobj);
??Ϣ????¶
gluBeginSurface, gluNewNurbsRenderer, gluNurbsCallback, gluNurbsCurve, gluPwlCurve