Scroll to navigation

GLUPARTIALDISK(3G) GLUPARTIALDISK(3G)

̾??

gluPartialDisk - ?????????褹??

????

void gluPartialDisk( GLUquadric* quad,

	GLdouble inner,
	GLdouble outer,
	GLint slices,
	GLint loops,
	GLdouble start,
	GLdouble sweep )

??????

?󼡶??̥??֥???????(gluNewQuadric ???Ȥäƺ???)?????ꤹ?롣
?????????¤????ꤹ??(0 ?Ǥ??褤)??
?????γ??¤????ꤹ?롣
z ????????ʬ?????????ꤹ?롣
??????ʬ?䤹?롢??????????Ʊ???ߤο??????ꤹ?롣
?????γ??ϳѤ????ꤹ?롣 ñ?̤??ٿ??Ǥ??롣
?????????Ѥ????ꤹ?롣 ñ?̤??ٿ??Ǥ??롣

????

z=0

plane. A partial disk is gluPartialDisk ?? z=0 ʿ?̾??????????????????󥰤??롣 ?????ϱ??פȻ????????????????פ? start ?٤??? start + sweep ?٤? ??ʬ?????ޤޤ??ʤ??????ۤʤ?(?????? 0 ?٤? +y????90 ?٤? +x ???? 180?٤? -y ????270 ?٤? -x ?٤Ȥʤ?)??

??????Ⱦ?? outer ?Ǥ??ꡢȾ?? inner ??Ʊ???ߤη꤬?????Ƥ??롣 inner ?? 0 ?ʤ??з??Ϻ??????ʤ??? ?????? z ????????(?ԥ??Υ??饤???Τ褦?ʷ???)ʬ?䤵?졢?????? z ?????濴?Ȥ??????󥰾??ˤ?ʬ?䤵????(???Ԥ?ʬ?????? slices?????Ԥ?ʬ?????? loops ?ǻ??ꤹ??)??

?????ˤĤ??Ƥϡ??????? +z ¦????¦?Ȥ????? (gluQuadricOrientation ?򻲾?)?? ?Ĥޤꡢ?????Ȥ??? GLU_OUTSIDE ?????ꤵ???Ƥ????????ˤϡ????? ??????ˡ???? +z ???????Ȥʤ롣 ?????Ǥʤ??????ϡ?ˡ???? -z ???????Ȥʤ롣

r=outer , the value at (r, 0, 0) is ?ƥ??????㤬(gluQuadricTexture ???Ȥä?)ͭ???ˤ????Ƥ????????ϡ? ?ƥ?????????ɸ?? r=outer ?ˤĤ??ơ? (r, 0, 0) ?Ǥ??ͤ? (1.0, 0.5), (0, r, 0) ?Ǥ??ͤ? (0.5, 1.0), (-r, 0, 0) ?Ǥ??ͤ? (0.0, 0.5), (0, -r, 0) ?Ǥ??ͤ? (0.5, 0.0) ?Ȥ??????????????????֤????褦?? ?????????롣

??Ϣ????

gluCylinder, gluDisk, gluNewQuadric, gluQuadricOrientation, gluQuadricTexture, gluSphere