include more low-level bindings
[clinton/guile-figl.git] / upstream-man-pages / man2 / fo / glTexGen.fo
1 <?xml version="1.0"?>
2 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="serif,Symbol,ZapfDingbats" font-size="10pt" text-align="justify" line-height="normal" font-selection-strategy="character-by-character" line-height-shift-adjustment="disregard-shifts" language="en"><fo:layout-master-set><fo:simple-page-master master-name="blank" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body display-align="center" margin-bottom="0.5in" margin-top="0.5in" region-name="blank-body"/><fo:region-before region-name="xsl-region-before-blank" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-blank" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="titlepage-first" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1"/><fo:region-before region-name="xsl-region-before-first" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-first" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="titlepage-odd" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1"/><fo:region-before region-name="xsl-region-before-odd" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-odd" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="titlepage-even" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1"/><fo:region-before region-name="xsl-region-before-even" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-even" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="lot-first" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1"/><fo:region-before region-name="xsl-region-before-first" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-first" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="lot-odd" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1"/><fo:region-before region-name="xsl-region-before-odd" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-odd" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="lot-even" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1"/><fo:region-before region-name="xsl-region-before-even" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-even" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="front-first" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1"/><fo:region-before region-name="xsl-region-before-first" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-first" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="front-odd" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1"/><fo:region-before region-name="xsl-region-before-odd" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-odd" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="front-even" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1"/><fo:region-before region-name="xsl-region-before-even" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-even" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="body-first" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1"/><fo:region-before region-name="xsl-region-before-first" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-first" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="body-odd" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1"/><fo:region-before region-name="xsl-region-before-odd" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-odd" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="body-even" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1"/><fo:region-before region-name="xsl-region-before-even" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-even" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="back-first" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1"/><fo:region-before region-name="xsl-region-before-first" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-first" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="back-odd" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1"/><fo:region-before region-name="xsl-region-before-odd" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-odd" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="back-even" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1"/><fo:region-before region-name="xsl-region-before-even" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-even" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="index-first" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="2"/><fo:region-before region-name="xsl-region-before-first" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-first" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="index-odd" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="2"/><fo:region-before region-name="xsl-region-before-odd" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-odd" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="index-even" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="2"/><fo:region-before region-name="xsl-region-before-even" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-even" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="blank-draft" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" background-repeat="no-repeat" background-position-horizontal="center" background-position-vertical="center"/><fo:region-before region-name="xsl-region-before-blank" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-blank" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="titlepage-first-draft" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1" background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" background-repeat="no-repeat" background-position-horizontal="center" background-position-vertical="center"/><fo:region-before region-name="xsl-region-before-first" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-first" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="titlepage-odd-draft" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1" background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" background-repeat="no-repeat" background-position-horizontal="center" background-position-vertical="center"/><fo:region-before region-name="xsl-region-before-odd" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-odd" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="titlepage-even-draft" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1" background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" background-repeat="no-repeat" background-position-horizontal="center" background-position-vertical="center"/><fo:region-before region-name="xsl-region-before-even" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-even" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="lot-first-draft" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1" background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" background-repeat="no-repeat" background-position-horizontal="center" background-position-vertical="center"/><fo:region-before region-name="xsl-region-before-first" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-first" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="lot-odd-draft" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1" background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" background-repeat="no-repeat" background-position-horizontal="center" background-position-vertical="center"/><fo:region-before region-name="xsl-region-before-odd" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-odd" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="lot-even-draft" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1" background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" background-repeat="no-repeat" background-position-horizontal="center" background-position-vertical="center"/><fo:region-before region-name="xsl-region-before-even" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-even" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="front-first-draft" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1" background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" background-repeat="no-repeat" background-position-horizontal="center" background-position-vertical="center"/><fo:region-before region-name="xsl-region-before-first" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-first" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="front-odd-draft" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1" background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" background-repeat="no-repeat" background-position-horizontal="center" background-position-vertical="center"/><fo:region-before region-name="xsl-region-before-odd" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-odd" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="front-even-draft" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1" background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" background-repeat="no-repeat" background-position-horizontal="center" background-position-vertical="center"/><fo:region-before region-name="xsl-region-before-even" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-even" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="body-first-draft" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1" background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" background-repeat="no-repeat" background-position-horizontal="center" background-position-vertical="center"/><fo:region-before region-name="xsl-region-before-first" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-first" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="body-odd-draft" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1" background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" background-repeat="no-repeat" background-position-horizontal="center" background-position-vertical="center"/><fo:region-before region-name="xsl-region-before-odd" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-odd" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="body-even-draft" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1" background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" background-repeat="no-repeat" background-position-horizontal="center" background-position-vertical="center"/><fo:region-before region-name="xsl-region-before-even" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-even" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="back-first-draft" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1" background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" background-repeat="no-repeat" background-position-horizontal="center" background-position-vertical="center"/><fo:region-before region-name="xsl-region-before-first" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-first" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="back-odd-draft" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1" background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" background-repeat="no-repeat" background-position-horizontal="center" background-position-vertical="center"/><fo:region-before region-name="xsl-region-before-odd" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-odd" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="back-even-draft" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1" background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" background-repeat="no-repeat" background-position-horizontal="center" background-position-vertical="center"/><fo:region-before region-name="xsl-region-before-even" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-even" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="index-first-draft" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="2" background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" background-repeat="no-repeat" background-position-horizontal="center" background-position-vertical="center"/><fo:region-before region-name="xsl-region-before-first" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-first" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="index-odd-draft" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="2" background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" background-repeat="no-repeat" background-position-horizontal="center" background-position-vertical="center"/><fo:region-before region-name="xsl-region-before-odd" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-odd" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:simple-page-master master-name="index-even-draft" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom="0.5in" margin-right="1in" margin-left="1in"><fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="2" background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" background-repeat="no-repeat" background-position-horizontal="center" background-position-vertical="center"/><fo:region-before region-name="xsl-region-before-even" extent="0.4in" display-align="before"/><fo:region-after region-name="xsl-region-after-even" extent="0.4in" display-align="after"/></fo:simple-page-master><fo:page-sequence-master master-name="titlepage"><fo:repeatable-page-master-alternatives><fo:conditional-page-master-reference master-reference="blank" blank-or-not-blank="blank"/><fo:conditional-page-master-reference master-reference="titlepage-first" page-position="first"/><fo:conditional-page-master-reference master-reference="titlepage-odd" odd-or-even="odd"/><fo:conditional-page-master-reference odd-or-even="even" master-reference="titlepage-odd"/></fo:repeatable-page-master-alternatives></fo:page-sequence-master><fo:page-sequence-master master-name="lot"><fo:repeatable-page-master-alternatives><fo:conditional-page-master-reference master-reference="blank" blank-or-not-blank="blank"/><fo:conditional-page-master-reference master-reference="lot-first" page-position="first"/><fo:conditional-page-master-reference master-reference="lot-odd" odd-or-even="odd"/><fo:conditional-page-master-reference odd-or-even="even" master-reference="lot-odd"/></fo:repeatable-page-master-alternatives></fo:page-sequence-master><fo:page-sequence-master master-name="front"><fo:repeatable-page-master-alternatives><fo:conditional-page-master-reference master-reference="blank" blank-or-not-blank="blank"/><fo:conditional-page-master-reference master-reference="front-first" page-position="first"/><fo:conditional-page-master-reference master-reference="front-odd" odd-or-even="odd"/><fo:conditional-page-master-reference odd-or-even="even" master-reference="front-odd"/></fo:repeatable-page-master-alternatives></fo:page-sequence-master><fo:page-sequence-master master-name="body"><fo:repeatable-page-master-alternatives><fo:conditional-page-master-reference master-reference="blank" blank-or-not-blank="blank"/><fo:conditional-page-master-reference master-reference="body-first" page-position="first"/><fo:conditional-page-master-reference master-reference="body-odd" odd-or-even="odd"/><fo:conditional-page-master-reference odd-or-even="even" master-reference="body-odd"/></fo:repeatable-page-master-alternatives></fo:page-sequence-master><fo:page-sequence-master master-name="back"><fo:repeatable-page-master-alternatives><fo:conditional-page-master-reference master-reference="blank" blank-or-not-blank="blank"/><fo:conditional-page-master-reference master-reference="back-first" page-position="first"/><fo:conditional-page-master-reference master-reference="back-odd" odd-or-even="odd"/><fo:conditional-page-master-reference odd-or-even="even" master-reference="back-odd"/></fo:repeatable-page-master-alternatives></fo:page-sequence-master><fo:page-sequence-master master-name="index"><fo:repeatable-page-master-alternatives><fo:conditional-page-master-reference master-reference="blank" blank-or-not-blank="blank"/><fo:conditional-page-master-reference master-reference="index-first" page-position="first"/><fo:conditional-page-master-reference master-reference="index-odd" odd-or-even="odd"/><fo:conditional-page-master-reference odd-or-even="even" master-reference="index-odd"/></fo:repeatable-page-master-alternatives></fo:page-sequence-master><fo:page-sequence-master master-name="titlepage-draft"><fo:repeatable-page-master-alternatives><fo:conditional-page-master-reference master-reference="blank-draft" blank-or-not-blank="blank"/><fo:conditional-page-master-reference master-reference="titlepage-first-draft" page-position="first"/><fo:conditional-page-master-reference master-reference="titlepage-odd-draft" odd-or-even="odd"/><fo:conditional-page-master-reference odd-or-even="even" master-reference="titlepage-odd-draft"/></fo:repeatable-page-master-alternatives></fo:page-sequence-master><fo:page-sequence-master master-name="lot-draft"><fo:repeatable-page-master-alternatives><fo:conditional-page-master-reference master-reference="blank-draft" blank-or-not-blank="blank"/><fo:conditional-page-master-reference master-reference="lot-first-draft" page-position="first"/><fo:conditional-page-master-reference master-reference="lot-odd-draft" odd-or-even="odd"/><fo:conditional-page-master-reference odd-or-even="even" master-reference="lot-odd-draft"/></fo:repeatable-page-master-alternatives></fo:page-sequence-master><fo:page-sequence-master master-name="front-draft"><fo:repeatable-page-master-alternatives><fo:conditional-page-master-reference master-reference="blank-draft" blank-or-not-blank="blank"/><fo:conditional-page-master-reference master-reference="front-first-draft" page-position="first"/><fo:conditional-page-master-reference master-reference="front-odd-draft" odd-or-even="odd"/><fo:conditional-page-master-reference odd-or-even="even" master-reference="front-odd-draft"/></fo:repeatable-page-master-alternatives></fo:page-sequence-master><fo:page-sequence-master master-name="body-draft"><fo:repeatable-page-master-alternatives><fo:conditional-page-master-reference master-reference="blank-draft" blank-or-not-blank="blank"/><fo:conditional-page-master-reference master-reference="body-first-draft" page-position="first"/><fo:conditional-page-master-reference master-reference="body-odd-draft" odd-or-even="odd"/><fo:conditional-page-master-reference odd-or-even="even" master-reference="body-odd-draft"/></fo:repeatable-page-master-alternatives></fo:page-sequence-master><fo:page-sequence-master master-name="back-draft"><fo:repeatable-page-master-alternatives><fo:conditional-page-master-reference master-reference="blank-draft" blank-or-not-blank="blank"/><fo:conditional-page-master-reference master-reference="back-first-draft" page-position="first"/><fo:conditional-page-master-reference master-reference="back-odd-draft" odd-or-even="odd"/><fo:conditional-page-master-reference odd-or-even="even" master-reference="back-odd-draft"/></fo:repeatable-page-master-alternatives></fo:page-sequence-master><fo:page-sequence-master master-name="index-draft"><fo:repeatable-page-master-alternatives><fo:conditional-page-master-reference master-reference="blank-draft" blank-or-not-blank="blank"/><fo:conditional-page-master-reference master-reference="index-first-draft" page-position="first"/><fo:conditional-page-master-reference master-reference="index-odd-draft" odd-or-even="odd"/><fo:conditional-page-master-reference odd-or-even="even" master-reference="index-odd-draft"/></fo:repeatable-page-master-alternatives></fo:page-sequence-master></fo:layout-master-set><fo:page-sequence hyphenate="true" master-reference="body" language="en" format="1" initial-page-number="auto" force-page-count="no-force" hyphenation-character="-" hyphenation-push-character-count="2" hyphenation-remain-character-count="2"><fo:static-content flow-name="xsl-region-before-first"><fo:block font-family="serif,Symbol,ZapfDingbats" margin-left="0pt"><fo:table table-layout="fixed" width="100%" border-bottom-width="0.5pt" border-bottom-style="solid" border-bottom-color="black"><fo:table-column column-number="1" column-width="1%"/><fo:table-column column-number="2" column-width="1%"/><fo:table-column column-number="3" column-width="1%"/><fo:table-body><fo:table-row height="14pt"><fo:table-cell text-align="left" display-align="before" relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell><fo:table-cell text-align="center" display-align="before" relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell><fo:table-cell text-align="right" display-align="before" relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:static-content><fo:static-content flow-name="xsl-region-before-odd"><fo:block font-family="serif,Symbol,ZapfDingbats" margin-left="0pt"><fo:table table-layout="fixed" width="100%" border-bottom-width="0.5pt" border-bottom-style="solid" border-bottom-color="black"><fo:table-column column-number="1" column-width="1%"/><fo:table-column column-number="2" column-width="1%"/><fo:table-column column-number="3" column-width="1%"/><fo:table-body><fo:table-row height="14pt"><fo:table-cell text-align="left" display-align="before" relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell><fo:table-cell text-align="center" display-align="before" relative-align="baseline"><fo:block><fo:block>glTexGen</fo:block></fo:block></fo:table-cell><fo:table-cell text-align="right" display-align="before" relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:static-content><fo:static-content flow-name="xsl-region-before-even"><fo:block font-family="serif,Symbol,ZapfDingbats" margin-left="0pt"><fo:table table-layout="fixed" width="100%" border-bottom-width="0.5pt" border-bottom-style="solid" border-bottom-color="black"><fo:table-column column-number="1" column-width="1%"/><fo:table-column column-number="2" column-width="1%"/><fo:table-column column-number="3" column-width="1%"/><fo:table-body><fo:table-row height="14pt"><fo:table-cell text-align="left" display-align="before" relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell><fo:table-cell text-align="center" display-align="before" relative-align="baseline"><fo:block><fo:block>glTexGen</fo:block></fo:block></fo:table-cell><fo:table-cell text-align="right" display-align="before" relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:static-content><fo:static-content flow-name="xsl-region-before-blank"><fo:block font-family="serif,Symbol,ZapfDingbats" margin-left="0pt"><fo:table table-layout="fixed" width="100%" border-bottom-width="0.5pt" border-bottom-style="solid" border-bottom-color="black"><fo:table-column column-number="1" column-width="1%"/><fo:table-column column-number="2" column-width="1%"/><fo:table-column column-number="3" column-width="1%"/><fo:table-body><fo:table-row height="14pt"><fo:table-cell text-align="left" display-align="before" relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell><fo:table-cell text-align="center" display-align="before" relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell><fo:table-cell text-align="right" display-align="before" relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:static-content><fo:static-content flow-name="xsl-footnote-separator"><fo:block><fo:leader color="black" leader-pattern="rule" leader-length="1in"/></fo:block></fo:static-content><fo:static-content flow-name="blank-body"><fo:block text-align="center"/></fo:static-content><fo:static-content flow-name="xsl-region-after-first"><fo:block font-family="serif,Symbol,ZapfDingbats" margin-left="0pt"><fo:table table-layout="fixed" width="100%" border-top-width="0.5pt" border-top-style="solid" border-top-color="black"><fo:table-column column-number="1" column-width="1%"/><fo:table-column column-number="2" column-width="1%"/><fo:table-column column-number="3" column-width="1%"/><fo:table-body><fo:table-row height="14pt"><fo:table-cell text-align="left" display-align="after" relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell><fo:table-cell text-align="center" display-align="after" relative-align="baseline"><fo:block><fo:block><fo:page-number/></fo:block></fo:block></fo:table-cell><fo:table-cell text-align="right" display-align="after" relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:static-content><fo:static-content flow-name="xsl-region-after-odd"><fo:block font-family="serif,Symbol,ZapfDingbats" margin-left="0pt"><fo:table table-layout="fixed" width="100%" border-top-width="0.5pt" border-top-style="solid" border-top-color="black"><fo:table-column column-number="1" column-width="1%"/><fo:table-column column-number="2" column-width="1%"/><fo:table-column column-number="3" column-width="1%"/><fo:table-body><fo:table-row height="14pt"><fo:table-cell text-align="left" display-align="after" relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell><fo:table-cell text-align="center" display-align="after" relative-align="baseline"><fo:block><fo:block><fo:page-number/></fo:block></fo:block></fo:table-cell><fo:table-cell text-align="right" display-align="after" relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:static-content><fo:static-content flow-name="xsl-region-after-even"><fo:block font-family="serif,Symbol,ZapfDingbats" margin-left="0pt"><fo:table table-layout="fixed" width="100%" border-top-width="0.5pt" border-top-style="solid" border-top-color="black"><fo:table-column column-number="1" column-width="1%"/><fo:table-column column-number="2" column-width="1%"/><fo:table-column column-number="3" column-width="1%"/><fo:table-body><fo:table-row height="14pt"><fo:table-cell text-align="left" display-align="after" relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell><fo:table-cell text-align="center" display-align="after" relative-align="baseline"><fo:block><fo:block><fo:page-number/></fo:block></fo:block></fo:table-cell><fo:table-cell text-align="right" display-align="after" relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:static-content><fo:static-content flow-name="xsl-region-after-blank"><fo:block font-family="serif,Symbol,ZapfDingbats" margin-left="0pt"><fo:table table-layout="fixed" width="100%" border-top-width="0.5pt" border-top-style="solid" border-top-color="black"><fo:table-column column-number="1" column-width="1%"/><fo:table-column column-number="2" column-width="1%"/><fo:table-column column-number="3" column-width="1%"/><fo:table-body><fo:table-row height="14pt"><fo:table-cell text-align="left" display-align="after" relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell><fo:table-cell text-align="center" display-align="after" relative-align="baseline"><fo:block><fo:block><fo:page-number/></fo:block></fo:block></fo:table-cell><fo:table-cell text-align="right" display-align="after" relative-align="baseline"><fo:block><fo:block/></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:static-content><fo:flow flow-name="xsl-region-body" start-indent="4pc" end-indent="0pt"><fo:block id="glTexGen"><fo:block xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" id="id2880359"><fo:block keep-together.within-column="always" font-family="sans-serif,Symbol,ZapfDingbats"><fo:block keep-with-next.within-column="always"><fo:block font-family="sans-serif" font-weight="bold" keep-with-next.within-column="always" space-before.minimum="0.8em" space-before.optimum="1.0em" space-before.maximum="1.2em" text-align="left" start-indent="0pt"><fo:marker marker-class-name="section.head.marker">Name</fo:marker><fo:block font-size="17.28pt">Name</fo:block></fo:block></fo:block></fo:block><fo:block space-after="1em">glTexGen <fo:inline font-family="serif">--</fo:inline> control the generation of texture coordinates</fo:block></fo:block><fo:block xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" id="id2880368"><fo:block><fo:block><fo:block keep-together.within-column="always" font-family="sans-serif,Symbol,ZapfDingbats"><fo:block xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" keep-with-next.within-column="always"><fo:block font-family="sans-serif" font-weight="bold" keep-with-next.within-column="always" space-before.minimum="0.8em" space-before.optimum="1.0em" space-before.maximum="1.2em" text-align="left" start-indent="0pt"><fo:marker marker-class-name="section.head.marker">C Specification</fo:marker><fo:block font-size="17.28pt">C Specification</fo:block></fo:block></fo:block></fo:block></fo:block></fo:block><fo:block id="id2880373" space-before.minimum="0.5em" space-before.optimum="1em" space-before.maximum="2em" space-after.minimum="0.5em" space-after.optimum="1em" space-after.maximum="2em"><fo:block font-family="monospace"><fo:inline font-family="monospace"> void <fo:inline font-weight="bold">glTexGeni</fo:inline></fo:inline>(coord, pname, param);<fo:block> GLenum coord;</fo:block><fo:block> GLenum pname;</fo:block><fo:block> GLint param;</fo:block></fo:block></fo:block><fo:block id="id2812749" space-before.minimum="0.5em" space-before.optimum="1em" space-before.maximum="2em" space-after.minimum="0.5em" space-after.optimum="1em" space-after.maximum="2em"><fo:block font-family="monospace"><fo:inline font-family="monospace"> void <fo:inline font-weight="bold">glTexGenf</fo:inline></fo:inline>(coord, pname, param);<fo:block> GLenum coord;</fo:block><fo:block> GLenum pname;</fo:block><fo:block> GLfloat param;</fo:block></fo:block></fo:block><fo:block id="id2812785" space-before.minimum="0.5em" space-before.optimum="1em" space-before.maximum="2em" space-after.minimum="0.5em" space-after.optimum="1em" space-after.maximum="2em"><fo:block font-family="monospace"><fo:inline font-family="monospace"> void <fo:inline font-weight="bold">glTexGend</fo:inline></fo:inline>(coord, pname, param);<fo:block> GLenum coord;</fo:block><fo:block> GLenum pname;</fo:block><fo:block> GLdouble param;</fo:block></fo:block></fo:block></fo:block><fo:block xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" id="id2880459"><fo:block><fo:block><fo:block keep-together.within-column="always" font-family="sans-serif,Symbol,ZapfDingbats"><fo:block xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" keep-with-next.within-column="always"><fo:block font-family="sans-serif" font-weight="bold" keep-with-next.within-column="always" space-before.minimum="0.8em" space-before.optimum="1.0em" space-before.maximum="1.2em" text-align="left" start-indent="0pt"><fo:marker marker-class-name="section.head.marker">PARAMETERS</fo:marker><fo:block font-size="17.28pt">PARAMETERS</fo:block></fo:block></fo:block></fo:block></fo:block></fo:block><fo:list-block id="id2880463" provisional-distance-between-starts="5em" provisional-label-separation="1em" space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em" space-after.optimum="1em" space-after.minimum="0.8em" space-after.maximum="1.2em"><fo:list-item id="id2880466" space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em"><fo:list-item-label end-indent="label-end()" text-align="start"><fo:block><fo:inline><fo:inline font-style="italic" font-family="monospace">coord</fo:inline></fo:inline></fo:block></fo:list-item-label><fo:list-item-body start-indent="body-start()"><fo:block><fo:inline><fo:inline font-style="italic" font-family="monospace">coord</fo:inline></fo:inline><fo:block>
3 Specifies a texture coordinate.
4 Must be one of <fo:inline font-family="monospace">GL_S</fo:inline>, <fo:inline font-family="monospace">GL_T</fo:inline>, <fo:inline font-family="monospace">GL_R</fo:inline>, or <fo:inline font-family="monospace">GL_Q</fo:inline>.
5 </fo:block></fo:block></fo:list-item-body></fo:list-item><fo:list-item id="id2813084" space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em"><fo:list-item-label end-indent="label-end()" text-align="start"><fo:block><fo:inline><fo:inline font-style="italic" font-family="monospace">pname</fo:inline></fo:inline></fo:block></fo:list-item-label><fo:list-item-body start-indent="body-start()"><fo:block><fo:inline><fo:inline font-style="italic" font-family="monospace">pname</fo:inline></fo:inline><fo:block>
6 Specifies the symbolic name of the texture-coordinate generation function.
7 Must be <fo:inline font-family="monospace">GL_TEXTURE_GEN_MODE</fo:inline>.
8 </fo:block></fo:block></fo:list-item-body></fo:list-item><fo:list-item id="id2813106" space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em"><fo:list-item-label end-indent="label-end()" text-align="start"><fo:block><fo:inline><fo:inline font-style="italic" font-family="monospace">param</fo:inline></fo:inline></fo:block></fo:list-item-label><fo:list-item-body start-indent="body-start()"><fo:block><fo:inline><fo:inline font-style="italic" font-family="monospace">param</fo:inline></fo:inline><fo:block>
9 Specifies a single-valued texture generation parameter,
10 one of <fo:inline font-family="monospace">GL_OBJECT_LINEAR</fo:inline>, <fo:inline font-family="monospace">GL_EYE_LINEAR</fo:inline>, <fo:inline font-family="monospace">GL_SPHERE_MAP</fo:inline>,
11 <fo:inline font-family="monospace">GL_NORMAL_MAP</fo:inline>, or <fo:inline font-family="monospace">GL_REFLECTION_MAP</fo:inline>.
12 </fo:block></fo:block></fo:list-item-body></fo:list-item></fo:list-block></fo:block><fo:block xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" id="id2813145"><fo:block><fo:block><fo:block keep-together.within-column="always" font-family="sans-serif,Symbol,ZapfDingbats"><fo:block xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" keep-with-next.within-column="always"><fo:block font-family="sans-serif" font-weight="bold" keep-with-next.within-column="always" space-before.minimum="0.8em" space-before.optimum="1.0em" space-before.maximum="1.2em" text-align="left" start-indent="0pt"><fo:marker marker-class-name="section.head.marker">C Specification</fo:marker><fo:block font-size="17.28pt">C Specification</fo:block></fo:block></fo:block></fo:block></fo:block></fo:block><fo:block id="id2813150" space-before.minimum="0.5em" space-before.optimum="1em" space-before.maximum="2em" space-after.minimum="0.5em" space-after.optimum="1em" space-after.maximum="2em"><fo:block font-family="monospace"><fo:inline font-family="monospace"> void <fo:inline font-weight="bold">glTexGeniv</fo:inline></fo:inline>(coord, pname, params);<fo:block> GLenum coord;</fo:block><fo:block> GLenum pname;</fo:block><fo:block> const GLint * params;</fo:block></fo:block></fo:block><fo:block id="id2813189" space-before.minimum="0.5em" space-before.optimum="1em" space-before.maximum="2em" space-after.minimum="0.5em" space-after.optimum="1em" space-after.maximum="2em"><fo:block font-family="monospace"><fo:inline font-family="monospace"> void <fo:inline font-weight="bold">glTexGenfv</fo:inline></fo:inline>(coord, pname, params);<fo:block> GLenum coord;</fo:block><fo:block> GLenum pname;</fo:block><fo:block> const GLfloat * params;</fo:block></fo:block></fo:block><fo:block id="id2813228" space-before.minimum="0.5em" space-before.optimum="1em" space-before.maximum="2em" space-after.minimum="0.5em" space-after.optimum="1em" space-after.maximum="2em"><fo:block font-family="monospace"><fo:inline font-family="monospace"> void <fo:inline font-weight="bold">glTexGendv</fo:inline></fo:inline>(coord, pname, params);<fo:block> GLenum coord;</fo:block><fo:block> GLenum pname;</fo:block><fo:block> const GLdouble * params;</fo:block></fo:block></fo:block></fo:block><fo:block xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" id="id2866986"><fo:block><fo:block><fo:block keep-together.within-column="always" font-family="sans-serif,Symbol,ZapfDingbats"><fo:block xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" keep-with-next.within-column="always"><fo:block font-family="sans-serif" font-weight="bold" keep-with-next.within-column="always" space-before.minimum="0.8em" space-before.optimum="1.0em" space-before.maximum="1.2em" text-align="left" start-indent="0pt"><fo:marker marker-class-name="section.head.marker">PARAMETERS</fo:marker><fo:block font-size="17.28pt">PARAMETERS</fo:block></fo:block></fo:block></fo:block></fo:block></fo:block><fo:list-block id="id2866991" provisional-distance-between-starts="6em" provisional-label-separation="1em" space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em" space-after.optimum="1em" space-after.minimum="0.8em" space-after.maximum="1.2em"><fo:list-item id="id2866993" space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em"><fo:list-item-label end-indent="label-end()" text-align="start"><fo:block><fo:inline><fo:inline font-style="italic" font-family="monospace">coord</fo:inline></fo:inline></fo:block></fo:list-item-label><fo:list-item-body start-indent="body-start()"><fo:block><fo:inline><fo:inline font-style="italic" font-family="monospace">coord</fo:inline></fo:inline><fo:block>
13 Specifies a texture coordinate.
14 Must be one of <fo:inline font-family="monospace">GL_S</fo:inline>, <fo:inline font-family="monospace">GL_T</fo:inline>, <fo:inline font-family="monospace">GL_R</fo:inline>, or <fo:inline font-family="monospace">GL_Q</fo:inline>.
15 </fo:block></fo:block></fo:list-item-body></fo:list-item><fo:list-item id="id2867025" space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em"><fo:list-item-label end-indent="label-end()" text-align="start"><fo:block><fo:inline><fo:inline font-style="italic" font-family="monospace">pname</fo:inline></fo:inline></fo:block></fo:list-item-label><fo:list-item-body start-indent="body-start()"><fo:block><fo:inline><fo:inline font-style="italic" font-family="monospace">pname</fo:inline></fo:inline><fo:block>
16 Specifies the symbolic name of the texture-coordinate generation function
17 or function parameters.
18 Must be
19 <fo:inline font-family="monospace">GL_TEXTURE_GEN_MODE</fo:inline>,
20 <fo:inline font-family="monospace">GL_OBJECT_PLANE</fo:inline>, or
21 <fo:inline font-family="monospace">GL_EYE_PLANE</fo:inline>.
22 </fo:block></fo:block></fo:list-item-body></fo:list-item><fo:list-item id="id2867057" space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em"><fo:list-item-label end-indent="label-end()" text-align="start"><fo:block><fo:inline><fo:inline font-style="italic" font-family="monospace">params</fo:inline></fo:inline></fo:block></fo:list-item-label><fo:list-item-body start-indent="body-start()"><fo:block><fo:inline><fo:inline font-style="italic" font-family="monospace">params</fo:inline></fo:inline><fo:block>
23 Specifies a pointer to an array of texture generation parameters.
24 If <fo:inline font-style="italic" font-family="monospace">pname</fo:inline> is <fo:inline font-family="monospace">GL_TEXTURE_GEN_MODE</fo:inline>,
25 then the array must contain a single symbolic constant,
26 one of
27 <fo:inline font-family="monospace">GL_OBJECT_LINEAR</fo:inline>,
28 <fo:inline font-family="monospace">GL_EYE_LINEAR</fo:inline>,
29 <fo:inline font-family="monospace">GL_SPHERE_MAP</fo:inline>,
30 <fo:inline font-family="monospace">GL_NORMAL_MAP</fo:inline>, or
31 <fo:inline font-family="monospace">GL_REFLECTION_MAP</fo:inline>.
32 Otherwise,
33 <fo:inline font-style="italic" font-family="monospace">params</fo:inline> holds the coefficients for the texture-coordinate generation function
34 specified by <fo:inline font-style="italic" font-family="monospace">pname</fo:inline>.
35 </fo:block></fo:block></fo:list-item-body></fo:list-item></fo:list-block></fo:block><fo:block xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" id="id2867124"><fo:block><fo:block><fo:block keep-together.within-column="always" font-family="sans-serif,Symbol,ZapfDingbats"><fo:block xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" keep-with-next.within-column="always"><fo:block font-family="sans-serif" font-weight="bold" keep-with-next.within-column="always" space-before.minimum="0.8em" space-before.optimum="1.0em" space-before.maximum="1.2em" text-align="left" start-indent="0pt"><fo:marker marker-class-name="section.head.marker">DESCRIPTION</fo:marker><fo:block font-size="17.28pt">DESCRIPTION</fo:block></fo:block></fo:block></fo:block></fo:block></fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
36 <fo:inline font-family="monospace">glTexGen</fo:inline> selects a texture-coordinate generation function
37 or supplies coefficients for one of the functions.
38 <fo:inline font-style="italic" font-family="monospace">coord</fo:inline> names one of the (<fo:inline font-style="italic">s</fo:inline>, <fo:inline font-style="italic">t</fo:inline>, <fo:inline font-style="italic">r</fo:inline>, <fo:inline font-style="italic">q</fo:inline>) texture
39 coordinates; it must be one of the symbols
40 <fo:inline font-family="monospace">GL_S</fo:inline>,
41 <fo:inline font-family="monospace">GL_T</fo:inline>,
42 <fo:inline font-family="monospace">GL_R</fo:inline>, or
43 <fo:inline font-family="monospace">GL_Q</fo:inline>.
44 <fo:inline font-style="italic" font-family="monospace">pname</fo:inline> must be one of three symbolic constants:
45 <fo:inline font-family="monospace">GL_TEXTURE_GEN_MODE</fo:inline>,
46 <fo:inline font-family="monospace">GL_OBJECT_PLANE</fo:inline>, or
47 <fo:inline font-family="monospace">GL_EYE_PLANE</fo:inline>.
48 If <fo:inline font-style="italic" font-family="monospace">pname</fo:inline> is <fo:inline font-family="monospace">GL_TEXTURE_GEN_MODE</fo:inline>,
49 then <fo:inline font-style="italic" font-family="monospace">params</fo:inline> chooses a mode,
50 one of
51 <fo:inline font-family="monospace">GL_OBJECT_LINEAR</fo:inline>,
52 <fo:inline font-family="monospace">GL_EYE_LINEAR</fo:inline>,
53 <fo:inline font-family="monospace">GL_SPHERE_MAP</fo:inline>,
54 <fo:inline font-family="monospace">GL_NORMAL_MAP</fo:inline>, or
55 <fo:inline font-family="monospace">GL_REFLECTION_MAP</fo:inline>.
56 If <fo:inline font-style="italic" font-family="monospace">pname</fo:inline> is either <fo:inline font-family="monospace">GL_OBJECT_PLANE</fo:inline> or <fo:inline font-family="monospace">GL_EYE_PLANE</fo:inline>,
57 <fo:inline font-style="italic" font-family="monospace">params</fo:inline> contains coefficients for the corresponding
58 texture generation function.
59 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
60 If the texture generation function is <fo:inline font-family="monospace">GL_OBJECT_LINEAR</fo:inline>,
61 the function
62 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
63 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
64
65 <mml:mrow>
66 <mml:mi mathvariant="italic">g</mml:mi>
67 <mml:mo>=</mml:mo>
68 <mml:mrow>
69 <mml:mrow>
70 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
71 <mml:mn>1</mml:mn>
72 </mml:msub>
73 <mml:mo>×</mml:mo>
74 <mml:msub><mml:mi mathvariant="italic">x</mml:mi>
75 <mml:mi mathvariant="italic">o</mml:mi>
76 </mml:msub>
77 </mml:mrow>
78 <mml:mo>+</mml:mo>
79 <mml:mrow>
80 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
81 <mml:mn>2</mml:mn>
82 </mml:msub>
83 <mml:mo>×</mml:mo>
84 <mml:msub><mml:mi mathvariant="italic">y</mml:mi>
85 <mml:mi mathvariant="italic">o</mml:mi>
86 </mml:msub>
87 </mml:mrow>
88 <mml:mo>+</mml:mo>
89 <mml:mrow>
90 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
91 <mml:mn>3</mml:mn>
92 </mml:msub>
93 <mml:mo>×</mml:mo>
94 <mml:msub><mml:mi mathvariant="italic">z</mml:mi>
95 <mml:mi mathvariant="italic">o</mml:mi>
96 </mml:msub>
97 </mml:mrow>
98 <mml:mo>+</mml:mo>
99 <mml:mrow>
100 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
101 <mml:mn>4</mml:mn>
102 </mml:msub>
103 <mml:mo>×</mml:mo>
104 <mml:msub><mml:mi mathvariant="italic">w</mml:mi>
105 <mml:mi mathvariant="italic">o</mml:mi>
106 </mml:msub>
107 </mml:mrow>
108 </mml:mrow>
109 </mml:mrow>
110 </mml:math>
111 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
112 is used, where
113 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">g</mml:mi></mml:math>
114 is the value computed for the coordinate named in <fo:inline font-style="italic" font-family="monospace">coord</fo:inline>,
115 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
116
117 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
118 <mml:mn>1</mml:mn>
119 </mml:msub>
120 </mml:math>
121 ,
122 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
123
124 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
125 <mml:mn>2</mml:mn>
126 </mml:msub>
127 </mml:math>
128 ,
129 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
130
131 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
132 <mml:mn>3</mml:mn>
133 </mml:msub>
134 </mml:math>
135 ,
136 and
137 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
138
139 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
140 <mml:mn>4</mml:mn>
141 </mml:msub>
142 </mml:math>
143 are the four values supplied in <fo:inline font-style="italic" font-family="monospace">params</fo:inline>, and
144 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
145
146 <mml:msub><mml:mi mathvariant="italic">x</mml:mi>
147 <mml:mi mathvariant="italic">o</mml:mi>
148 </mml:msub>
149 </mml:math>
150 ,
151 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
152
153 <mml:msub><mml:mi mathvariant="italic">y</mml:mi>
154 <mml:mi mathvariant="italic">o</mml:mi>
155 </mml:msub>
156 </mml:math>
157 ,
158 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
159
160 <mml:msub><mml:mi mathvariant="italic">z</mml:mi>
161 <mml:mi mathvariant="italic">o</mml:mi>
162 </mml:msub>
163 </mml:math>
164 , and
165 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
166
167 <mml:msub><mml:mi mathvariant="italic">w</mml:mi>
168 <mml:mi mathvariant="italic">o</mml:mi>
169 </mml:msub>
170 </mml:math>
171 are the object coordinates of the vertex.
172 This function can be used, for example, to texture-map terrain using sea level
173 as a reference plane
174 (defined by
175 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
176
177 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
178 <mml:mn>1</mml:mn>
179 </mml:msub>
180 </mml:math>
181 ,
182 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
183
184 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
185 <mml:mn>2</mml:mn>
186 </mml:msub>
187 </mml:math>
188 ,
189 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
190
191 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
192 <mml:mn>3</mml:mn>
193 </mml:msub>
194 </mml:math>
195 , and
196 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
197
198 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
199 <mml:mn>4</mml:mn>
200 </mml:msub>
201 </mml:math>
202 ).
203 The altitude of a terrain vertex is computed by the <fo:inline font-family="monospace">GL_OBJECT_LINEAR</fo:inline>
204 coordinate generation function as its distance from sea level;
205 that altitude can then be used to index the texture image to map white snow
206 onto peaks and green grass onto foothills.
207 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
208 If the texture generation function is <fo:inline font-family="monospace">GL_EYE_LINEAR</fo:inline>, the function
209 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
210 <fo:block id="id2812342" space-before.minimum="0.5em" space-before.optimum="1em" space-before.maximum="2em" space-after.minimum="0.5em" space-after.optimum="1em" space-after.maximum="2em"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
211
212 <mml:mrow>
213 <mml:mi mathvariant="italic">g</mml:mi>
214 <mml:mo>=</mml:mo>
215 <mml:mrow>
216 <mml:mrow>
217 <mml:msup><mml:mfenced open="" close="">
218 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
219 <mml:mn>1</mml:mn>
220 </mml:msub>
221 </mml:mfenced>
222 <mml:mo>″</mml:mo>
223 </mml:msup>
224 <mml:mo>×</mml:mo>
225 <mml:msub><mml:mi mathvariant="italic">x</mml:mi>
226 <mml:mi mathvariant="italic">e</mml:mi>
227 </mml:msub>
228 </mml:mrow>
229 <mml:mo>+</mml:mo>
230 <mml:mrow>
231 <mml:msup><mml:mfenced open="" close="">
232 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
233 <mml:mn>2</mml:mn>
234 </mml:msub>
235 </mml:mfenced>
236 <mml:mo>″</mml:mo>
237 </mml:msup>
238 <mml:mo>×</mml:mo>
239 <mml:msub><mml:mi mathvariant="italic">y</mml:mi>
240 <mml:mi mathvariant="italic">e</mml:mi>
241 </mml:msub>
242 </mml:mrow>
243 <mml:mo>+</mml:mo>
244 <mml:mrow>
245 <mml:msup><mml:mfenced open="" close="">
246 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
247 <mml:mn>3</mml:mn>
248 </mml:msub>
249 </mml:mfenced>
250 <mml:mo>″</mml:mo>
251 </mml:msup>
252 <mml:mo>×</mml:mo>
253 <mml:msub><mml:mi mathvariant="italic">z</mml:mi>
254 <mml:mi mathvariant="italic">e</mml:mi>
255 </mml:msub>
256 </mml:mrow>
257 <mml:mo>+</mml:mo>
258 <mml:mrow>
259 <mml:msup><mml:mfenced open="" close="">
260 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
261 <mml:mn>4</mml:mn>
262 </mml:msub>
263 </mml:mfenced>
264 <mml:mo>″</mml:mo>
265 </mml:msup>
266 <mml:mo>×</mml:mo>
267 <mml:msub><mml:mi mathvariant="italic">w</mml:mi>
268 <mml:mi mathvariant="italic">e</mml:mi>
269 </mml:msub>
270 </mml:mrow>
271 </mml:mrow>
272 </mml:mrow>
273 </mml:math></fo:block>
274 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
275 is used, where
276 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
277 <fo:block id="id2873838" space-before.minimum="0.5em" space-before.optimum="1em" space-before.maximum="2em" space-after.minimum="0.5em" space-after.optimum="1em" space-after.maximum="2em"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
278
279 <mml:mrow>
280 <mml:mfenced open="(" close=")">
281 <mml:mrow>
282 <mml:msup><mml:mfenced open="" close="">
283 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
284 <mml:mn>1</mml:mn>
285 </mml:msub>
286 </mml:mfenced>
287 <mml:mo>″</mml:mo>
288 </mml:msup>
289 <mml:mo>⁢</mml:mo>
290 <mml:msup><mml:mfenced open="" close="">
291 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
292 <mml:mn>2</mml:mn>
293 </mml:msub>
294 </mml:mfenced>
295 <mml:mo>″</mml:mo>
296 </mml:msup>
297 <mml:mo>⁢</mml:mo>
298 <mml:msup><mml:mfenced open="" close="">
299 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
300 <mml:mn>3</mml:mn>
301 </mml:msub>
302 </mml:mfenced>
303 <mml:mo>″</mml:mo>
304 </mml:msup>
305 <mml:mo>⁢</mml:mo>
306 <mml:msup><mml:mfenced open="" close="">
307 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
308 <mml:mn>4</mml:mn>
309 </mml:msub>
310 </mml:mfenced>
311 <mml:mo>″</mml:mo>
312 </mml:msup>
313 </mml:mrow>
314 </mml:mfenced>
315 <mml:mo>=</mml:mo>
316 <mml:mrow>
317 <mml:mfenced open="(" close=")">
318 <mml:mrow>
319 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
320 <mml:mn>1</mml:mn>
321 </mml:msub>
322 <mml:mo>⁢</mml:mo>
323 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
324 <mml:mn>2</mml:mn>
325 </mml:msub>
326 <mml:mo>⁢</mml:mo>
327 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
328 <mml:mn>3</mml:mn>
329 </mml:msub>
330 <mml:mo>⁢</mml:mo>
331 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
332 <mml:mn>4</mml:mn>
333 </mml:msub>
334 </mml:mrow>
335 </mml:mfenced>
336 <mml:mo>⁢</mml:mo>
337 <mml:msup><mml:mi mathvariant="italic">M</mml:mi>
338 <mml:mn>-1</mml:mn>
339 </mml:msup>
340 </mml:mrow>
341 </mml:mrow>
342 </mml:math></fo:block>
343 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
344 and
345 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
346
347 <mml:msub><mml:mi mathvariant="italic">x</mml:mi>
348 <mml:mi mathvariant="italic">e</mml:mi>
349 </mml:msub>
350 </mml:math>
351 ,
352 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
353
354 <mml:msub><mml:mi mathvariant="italic">y</mml:mi>
355 <mml:mi mathvariant="italic">e</mml:mi>
356 </mml:msub>
357 </mml:math>
358 ,
359 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
360
361 <mml:msub><mml:mi mathvariant="italic">z</mml:mi>
362 <mml:mi mathvariant="italic">e</mml:mi>
363 </mml:msub>
364 </mml:math>
365 , and
366 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
367
368 <mml:msub><mml:mi mathvariant="italic">w</mml:mi>
369 <mml:mi mathvariant="italic">e</mml:mi>
370 </mml:msub>
371 </mml:math>
372 are the eye coordinates of the vertex,
373 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
374
375 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
376 <mml:mn>1</mml:mn>
377 </mml:msub>
378 </mml:math>
379 ,
380 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
381
382 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
383 <mml:mn>2</mml:mn>
384 </mml:msub>
385 </mml:math>
386 ,
387 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
388
389 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
390 <mml:mn>3</mml:mn>
391 </mml:msub>
392 </mml:math>
393 ,
394 and
395 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
396
397 <mml:msub><mml:mi mathvariant="italic">p</mml:mi>
398 <mml:mn>4</mml:mn>
399 </mml:msub>
400 </mml:math>
401 are the values supplied in <fo:inline font-style="italic" font-family="monospace">params</fo:inline>, and
402 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">M</mml:mi></mml:math>
403 is the modelview matrix when <fo:inline font-family="monospace">glTexGen</fo:inline> is invoked.
404 If
405 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">M</mml:mi></mml:math>
406 is poorly conditioned or singular,
407 texture coordinates generated by the resulting function may be inaccurate
408 or undefined.
409 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
410 Note that the values in <fo:inline font-style="italic" font-family="monospace">params</fo:inline> define a reference plane in eye coordinates.
411 The modelview matrix that is applied to them may not be the same one
412 in effect when the polygon vertices are transformed.
413 This function establishes a field of texture coordinates
414 that can produce dynamic contour lines on moving objects.
415 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
416 If <fo:inline font-style="italic" font-family="monospace">pname</fo:inline> is <fo:inline font-family="monospace">GL_SPHERE_MAP</fo:inline> and <fo:inline font-style="italic" font-family="monospace">coord</fo:inline> is either
417 <fo:inline font-family="monospace">GL_S</fo:inline> or
418 <fo:inline font-family="monospace">GL_T</fo:inline>,
419 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">s</mml:mi></mml:math>
420 and
421 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">t</mml:mi></mml:math>
422 texture coordinates are generated as follows.
423 Let <fo:inline font-style="italic">u</fo:inline> be the unit vector pointing from the origin to the polygon vertex
424 (in eye coordinates).
425 Let <fo:inline font-style="italic">n</fo:inline> sup prime be the current normal,
426 after transformation to eye coordinates.
427 Let
428 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
429 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
430
431 <mml:mrow>
432 <mml:mi mathvariant="italic">f</mml:mi>
433 <mml:mo>=</mml:mo>
434 <mml:msup><mml:mfenced open="(" close=")">
435 <mml:mrow>
436 <mml:msub><mml:mi mathvariant="italic">f</mml:mi>
437 <mml:mi mathvariant="italic">x</mml:mi>
438 </mml:msub>
439 <mml:mo>⁢</mml:mo>
440 <mml:msub><mml:mi mathvariant="italic">f</mml:mi>
441 <mml:mi mathvariant="italic">y</mml:mi>
442 </mml:msub>
443 <mml:mo>⁢</mml:mo>
444 <mml:msub><mml:mi mathvariant="italic">f</mml:mi>
445 <mml:mi mathvariant="italic">z</mml:mi>
446 </mml:msub>
447 </mml:mrow>
448 </mml:mfenced>
449 <mml:mi mathvariant="italic">T</mml:mi>
450 </mml:msup>
451 </mml:mrow>
452 </mml:math>
453 be the reflection vector such that
454 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
455 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
456
457 <mml:mrow>
458 <mml:mi mathvariant="italic">f</mml:mi>
459 <mml:mo>=</mml:mo>
460 <mml:mrow>
461 <mml:mi mathvariant="italic">u</mml:mi>
462 <mml:mo>-</mml:mo>
463 <mml:mn>2</mml:mn>
464 <mml:mo>⁢</mml:mo>
465 <mml:msup><mml:mi mathvariant="italic">n</mml:mi>
466 <mml:mo>″</mml:mo>
467 </mml:msup>
468 <mml:mo>⁢</mml:mo>
469 <mml:msup><mml:mfenced open="" close="">
470 <mml:msup><mml:mi mathvariant="italic">n</mml:mi>
471 <mml:mo>″</mml:mo>
472 </mml:msup>
473 </mml:mfenced>
474 <mml:mi mathvariant="italic">T</mml:mi>
475 </mml:msup>
476 <mml:mo>⁢</mml:mo>
477 <mml:mi mathvariant="italic">u</mml:mi>
478 </mml:mrow>
479 </mml:mrow>
480 </mml:math>
481 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
482 Finally, let
483 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
484
485 <mml:mrow>
486 <mml:mi mathvariant="italic">m</mml:mi>
487 <mml:mo>=</mml:mo>
488 <mml:mrow>
489 <mml:mn>2</mml:mn>
490 <mml:mo>⁢</mml:mo>
491 <mml:msqrt>
492 <mml:mfenced open="(" close=")">
493 <mml:mrow>
494 <mml:msup><mml:mfenced open="" close="">
495 <mml:msub><mml:mi mathvariant="italic">f</mml:mi>
496 <mml:mi mathvariant="italic">x</mml:mi>
497 </mml:msub>
498 </mml:mfenced>
499 <mml:mn>2</mml:mn>
500 </mml:msup>
501 <mml:mo>+</mml:mo>
502 <mml:msup><mml:mfenced open="" close="">
503 <mml:msub><mml:mi mathvariant="italic">f</mml:mi>
504 <mml:mi mathvariant="italic">y</mml:mi>
505 </mml:msub>
506 </mml:mfenced>
507 <mml:mn>2</mml:mn>
508 </mml:msup>
509 <mml:mo>+</mml:mo>
510 <mml:msup><mml:mfenced open="(" close=")">
511 <mml:mrow>
512 <mml:msub><mml:mi mathvariant="italic">f</mml:mi>
513 <mml:mi mathvariant="italic">z</mml:mi>
514 </mml:msub>
515 <mml:mo>+</mml:mo>
516 <mml:mn>1</mml:mn>
517 </mml:mrow>
518 </mml:mfenced>
519 <mml:mn>2</mml:mn>
520 </mml:msup>
521 </mml:mrow>
522 </mml:mfenced>
523 </mml:msqrt>
524 </mml:mrow>
525 </mml:mrow>
526 </mml:math>
527 .
528 Then the values assigned to the
529 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">s</mml:mi></mml:math>
530 and
531 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">t</mml:mi></mml:math>
532 texture coordinates are
533 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
534 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
535
536 <mml:mrow>
537 <mml:mi mathvariant="italic">s</mml:mi>
538 <mml:mo>=</mml:mo>
539 <mml:mrow>
540 <mml:mfrac>
541 <mml:msub><mml:mi mathvariant="italic">f</mml:mi>
542 <mml:mi mathvariant="italic">x</mml:mi>
543 </mml:msub>
544 <mml:mi mathvariant="italic">m</mml:mi>
545 </mml:mfrac>
546 <mml:mo>+</mml:mo>
547 <mml:mfrac>
548 <mml:mn>1</mml:mn>
549 <mml:mn>2</mml:mn>
550 </mml:mfrac>
551 </mml:mrow>
552 </mml:mrow>
553 </mml:math>
554 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
555 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
556
557 <mml:mrow>
558 <mml:mi mathvariant="italic">t</mml:mi>
559 <mml:mo>=</mml:mo>
560 <mml:mrow>
561 <mml:mfrac>
562 <mml:msub><mml:mi mathvariant="italic">f</mml:mi>
563 <mml:mi mathvariant="italic">y</mml:mi>
564 </mml:msub>
565 <mml:mi mathvariant="italic">m</mml:mi>
566 </mml:mfrac>
567 <mml:mo>+</mml:mo>
568 <mml:mfrac>
569 <mml:mn>1</mml:mn>
570 <mml:mn>2</mml:mn>
571 </mml:mfrac>
572 </mml:mrow>
573 </mml:mrow>
574 </mml:math>
575 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
576 To enable or disable a texture-coordinate generation function, call
577 glEnable or glDisable
578 with one of the symbolic texture-coordinate names
579 (<fo:inline font-family="monospace">GL_TEXTURE_GEN_S</fo:inline>,
580 <fo:inline font-family="monospace">GL_TEXTURE_GEN_T</fo:inline>,
581 <fo:inline font-family="monospace">GL_TEXTURE_GEN_R</fo:inline>, or
582 <fo:inline font-family="monospace">GL_TEXTURE_GEN_Q</fo:inline>) as the argument.
583 When enabled,
584 the specified texture coordinate is computed
585 according to the generating function associated with that coordinate.
586 When disabled,
587 subsequent vertices take the specified texture coordinate
588 from the current set of texture coordinates. Initially, all texture
589 generation functions are set to <fo:inline font-family="monospace">GL_EYE_LINEAR</fo:inline> and are disabled.
590 Both
591 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">s</mml:mi></mml:math>
592 plane equations are (1, 0, 0, 0),
593 both
594 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">t</mml:mi></mml:math>
595 plane equations are (0, 1, 0, 0),
596 and all
597 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">r</mml:mi></mml:math>
598 and
599 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">q</mml:mi></mml:math>
600 plane equations are (0, 0, 0, 0).
601 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
602 When the <fo:inline font-family="monospace">ARB_multitexture</fo:inline> extension is supported, <fo:inline font-family="monospace">glTexGen</fo:inline> set the
603 texture generation parameters for the currently active texture unit,
604 selected with glActiveTexture.
605 </fo:block></fo:block><fo:block xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" id="id2884052"><fo:block><fo:block><fo:block keep-together.within-column="always" font-family="sans-serif,Symbol,ZapfDingbats"><fo:block xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" keep-with-next.within-column="always"><fo:block font-family="sans-serif" font-weight="bold" keep-with-next.within-column="always" space-before.minimum="0.8em" space-before.optimum="1.0em" space-before.maximum="1.2em" text-align="left" start-indent="0pt"><fo:marker marker-class-name="section.head.marker">ERRORS</fo:marker><fo:block font-size="17.28pt">ERRORS</fo:block></fo:block></fo:block></fo:block></fo:block></fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
606 <fo:inline font-family="monospace">GL_INVALID_ENUM</fo:inline> is generated when <fo:inline font-style="italic" font-family="monospace">coord</fo:inline> or <fo:inline font-style="italic" font-family="monospace">pname</fo:inline> is not an
607 accepted defined value,
608 or when <fo:inline font-style="italic" font-family="monospace">pname</fo:inline> is <fo:inline font-family="monospace">GL_TEXTURE_GEN_MODE</fo:inline> and <fo:inline font-style="italic" font-family="monospace">params</fo:inline> is not an
609 accepted defined value.
610 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
611 <fo:inline font-family="monospace">GL_INVALID_ENUM</fo:inline> is generated when <fo:inline font-style="italic" font-family="monospace">pname</fo:inline> is <fo:inline font-family="monospace">GL_TEXTURE_GEN_MODE</fo:inline>,
612 <fo:inline font-style="italic" font-family="monospace">params</fo:inline> is <fo:inline font-family="monospace">GL_SPHERE_MAP</fo:inline>,
613 and <fo:inline font-style="italic" font-family="monospace">coord</fo:inline> is either <fo:inline font-family="monospace">GL_R</fo:inline> or <fo:inline font-family="monospace">GL_Q</fo:inline>.
614 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
615 <fo:inline font-family="monospace">GL_INVALID_OPERATION</fo:inline> is generated if <fo:inline font-family="monospace">glTexGen</fo:inline>
616 is executed between the execution of glBegin
617 and the corresponding execution of glEnd.
618 </fo:block></fo:block><fo:block xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" id="id2884159"><fo:block><fo:block><fo:block keep-together.within-column="always" font-family="sans-serif,Symbol,ZapfDingbats"><fo:block xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" keep-with-next.within-column="always"><fo:block font-family="sans-serif" font-weight="bold" keep-with-next.within-column="always" space-before.minimum="0.8em" space-before.optimum="1.0em" space-before.maximum="1.2em" text-align="left" start-indent="0pt"><fo:marker marker-class-name="section.head.marker">ASSOCIATED GETS</fo:marker><fo:block font-size="17.28pt">ASSOCIATED GETS</fo:block></fo:block></fo:block></fo:block></fo:block></fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
619 glGetTexGen
620 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
621 glIsEnabled with argument <fo:inline font-family="monospace">GL_TEXTURE_GEN_S</fo:inline>
622 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
623 glIsEnabled with argument <fo:inline font-family="monospace">GL_TEXTURE_GEN_T</fo:inline>
624 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
625 glIsEnabled with argument <fo:inline font-family="monospace">GL_TEXTURE_GEN_R</fo:inline>
626 </fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
627 glIsEnabled with argument <fo:inline font-family="monospace">GL_TEXTURE_GEN_Q</fo:inline>
628 </fo:block></fo:block><fo:block xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" id="id2884220"><fo:block><fo:block><fo:block keep-together.within-column="always" font-family="sans-serif,Symbol,ZapfDingbats"><fo:block xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" keep-with-next.within-column="always"><fo:block font-family="sans-serif" font-weight="bold" keep-with-next.within-column="always" space-before.minimum="0.8em" space-before.optimum="1.0em" space-before.maximum="1.2em" text-align="left" start-indent="0pt"><fo:marker marker-class-name="section.head.marker">SEE ALSO</fo:marker><fo:block font-size="17.28pt">SEE ALSO</fo:block></fo:block></fo:block></fo:block></fo:block></fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
629 glActiveTexture,
630 glCopyPixels,
631 glCopyTexImage2D,
632 glCopyTexSubImage1D,
633 glCopyTexSubImage2D,
634 glCopyTexSubImage3D,
635 glTexEnv,
636 glTexImage1D,
637 glTexImage2D,
638 glTexImage3D,
639 glTexParameter,
640 glTexSubImage1D,
641 glTexSubImage2D,
642 glTexSubImage3D
643 </fo:block></fo:block><fo:block xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" id="id2884299"><fo:block><fo:block><fo:block keep-together.within-column="always" font-family="sans-serif,Symbol,ZapfDingbats"><fo:block xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" keep-with-next.within-column="always"><fo:block font-family="sans-serif" font-weight="bold" keep-with-next.within-column="always" space-before.minimum="0.8em" space-before.optimum="1.0em" space-before.maximum="1.2em" text-align="left" start-indent="0pt"><fo:marker marker-class-name="section.head.marker">COPYRIGHT</fo:marker><fo:block font-size="17.28pt">COPYRIGHT</fo:block></fo:block></fo:block></fo:block></fo:block></fo:block><fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">
644 Copyright <fo:inline font-family="serif">©</fo:inline> 1991-2006
645 Silicon Graphics, Inc. This document is licensed under the SGI
646 Free Software B License. For details, see
647 <fo:basic-link external-destination="url(http://oss.sgi.com/projects/FreeB/)">http://oss.sgi.com/projects/FreeB/</fo:basic-link>.
648 </fo:block></fo:block></fo:block></fo:flow></fo:page-sequence></fo:root>