Scroll to navigation

GLUBEGINPOLYGON(3G) GLUBEGINPOLYGON(3G)

̾??

gluBeginPolygon, gluEndPolygon - ¿?ѷ??ε??Ҥ????ڤ?

????

void gluBeginPolygon( GLUtesselator* tess )


void gluEndPolygon( GLUtesselator* tess )


??????

?ƥ??졼?????󥪥֥???????(gluNewTess ???Ȥä?????)?????ꤹ?롣

????

gluBeginPolygon ?? gluEndPolygon ?? ?̤Ǥʤ?¿?ѷ????????ζ????򼨤??? ???????ä?¿?ѷ????????????ˤϡ??ǽ??? gluBeginPolygon ???Ƥ֡? ???˳?ĺ?????Ф??? gluTessVertex ???Ƥ֤??Ȥȡ? gluNextContour ???Ƥ??ǿ????????????򳫻Ϥ??뤳?? ?ˤ??äƥݥꥴ???γ??????????????롣 ?Ǹ??ˡ?gluEndPolygon ???ƤӽФ????????ν??????򼨤??? ?ܤ????? gluNextContour ?ι??ܤ򻲾Ȥ??뤳?ȡ?

gluEndPolygon ???ƤӽФ??????ȡ?¿?ѷ??ϥƥ??졼?????????????졢 ???η??̤Ȥ??????????뻰?ѷ????ϥ??????Хå????̤??ƻ??ȤǤ??롣 ???????Хå??ؿ????????ˤĤ??Ƥ? gluTessCallback ?ι??ܤ? ???Ȥ??뤳?ȡ?

????

???δؿ??ϸŤ??ƻȤ??٤??Ǥʤ????ΤǤ??ꡢ?????ߴ????Τ????????? ?󶡤????Ƥ??롣 gluBeginPolygon ?θƤӽФ??ϡ? gluTessBeginPolygon ?? gluTessBeginContour ?????˸ƤӽФ????????֤??????????롣 gluEndPolygon ?θƤӽФ??ϡ? gluTessEndContour ?? gluTessEndPolygon ?????˸ƤӽФ????????֤??????????롣

??????

???ѷ??η꤬???????ͳѷ??ϼ??Τ褦?˵??ҤǤ???:

gluBeginPolygon(tobj);
gluTessVertex(tobj, v1, v1);
gluTessVertex(tobj, v2, v2);
gluTessVertex(tobj, v3, v3);
gluTessVertex(tobj, v4, v4); gluNextContour(tobj, GLU_INTERIOR);
gluTessVertex(tobj, v5, v5);
gluTessVertex(tobj, v6, v6);
gluTessVertex(tobj, v7, v7); gluEndPolygon(tobj);

??Ϣ????

gluNewTess, gluNextContour, gluTessCallback, gluTessVertex, gluTessBeginPolygon, gluTessBeginContour