[692] | 1 | <HTML> |
---|
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
| 3 | <!-- Created on , 12 2006 by texi2html 1.64 --> |
---|
| 4 | <!-- |
---|
| 5 | Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) |
---|
| 6 | Karl Berry <karl@freefriends.org> |
---|
| 7 | Olaf Bachmann <obachman@mathematik.uni-kl.de> |
---|
| 8 | and many others. |
---|
| 9 | Maintained by: Olaf Bachmann <obachman@mathematik.uni-kl.de> |
---|
| 10 | Send bugs and suggestions to <texi2html@mathematik.uni-kl.de> |
---|
| 11 | |
---|
| 12 | --> |
---|
| 13 | <HEAD> |
---|
| 14 | <TITLE>OGRE Manual v1.2.0 ('Dagon'): Texture Types</TITLE> |
---|
| 15 | |
---|
| 16 | <META NAME="description" CONTENT="OGRE Manual v1.2.0 ('Dagon'): Texture Types"> |
---|
| 17 | <META NAME="keywords" CONTENT="OGRE Manual v1.2.0 ('Dagon'): Texture Types"> |
---|
| 18 | <META NAME="resource-type" CONTENT="document"> |
---|
| 19 | <META NAME="distribution" CONTENT="global"> |
---|
| 20 | <META NAME="Generator" CONTENT="texi2html 1.64"> |
---|
| 21 | <LINK TYPE="text/css" rel="stylesheet" href="../style.css"> |
---|
| 22 | </HEAD> |
---|
| 23 | |
---|
| 24 | <BODY LANG="" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000"> |
---|
| 25 | |
---|
| 26 | <A NAME="SEC257"></A> |
---|
| 27 | <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> |
---|
| 28 | <TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="manual_57.html#SEC254"> < </A>]</TD> |
---|
| 29 | <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="manual_55.html#SEC249"> Up </A>]</TD> |
---|
| 30 | <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="manual_59.html#SEC259"> > </A>]</TD> |
---|
| 31 | <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="index.html#SEC_Top">Top</A>]</TD> |
---|
| 32 | <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="manual_toc.html#SEC_Contents">Contents</A>]</TD> |
---|
| 33 | <TD VALIGN="MIDDLE" ALIGN="LEFT">[Index]</TD> |
---|
| 34 | <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="manual_abt.html#SEC_About"> ? </A>]</TD> |
---|
| 35 | </TR></TABLE> |
---|
| 36 | <HR SIZE=1> |
---|
| 37 | <H3> 5.8.3 Texture Types </H3> |
---|
| 38 | <!--docid::SEC257::--> |
---|
| 39 | <P> |
---|
| 40 | |
---|
| 41 | There are four types of textures supported by current hardware, three of them only differ in the amount of dimensions |
---|
| 42 | they have (one, two or three). The fourth one is special. The different texture types are: |
---|
| 43 | </P><P> |
---|
| 44 | |
---|
| 45 | <DL COMPACT> |
---|
| 46 | |
---|
| 47 | <DT>TEX_TYPE_1D |
---|
| 48 | <DD>One dimensional texture, used in combination with 1D texture coordinates. |
---|
| 49 | <DT>TEX_TYPE_2D |
---|
| 50 | <DD>Two dimensional texture, used in combination with 2D texture coordinates. |
---|
| 51 | <DT>TEX_TYPE_3D |
---|
| 52 | <DD>Three dimensional volume texture, used in combination with 3D texture coordinates. |
---|
| 53 | <DT>TEX_TYPE_CUBE_MAP |
---|
| 54 | <DD>Cube map (six two dimensional textures, one for each cube face), used in combination with 3D texture coordinates. |
---|
| 55 | <P> |
---|
| 56 | |
---|
| 57 | </DL> |
---|
| 58 | <P> |
---|
| 59 | |
---|
| 60 | <A NAME="SEC258"></A> |
---|
| 61 | <H3> Cube map textures </H3> |
---|
| 62 | <!--docid::SEC258::--> |
---|
| 63 | <P> |
---|
| 64 | |
---|
| 65 | The cube map texture type (TEX_TYPE_CUBE_MAP) is a different beast from the others; a cube map texture represents a series of six two dimensional images addressed by 3D texture coordinates. |
---|
| 66 | |
---|
| 67 | <DL COMPACT> |
---|
| 68 | <DT>+X (face 0) |
---|
| 69 | <DD>Represents the positive x plane (right). |
---|
| 70 | <DT>-X (face 1) |
---|
| 71 | <DD>Represents the negative x plane (left). |
---|
| 72 | <DT>+Y (face 2) |
---|
| 73 | <DD>Represents the positive y plane (top). |
---|
| 74 | <DT>-Y (face 3) |
---|
| 75 | <DD>Represents the negative y plane (bottom). |
---|
| 76 | <DT>+Z (face 4) |
---|
| 77 | <DD>Represents the positive z plane (front). |
---|
| 78 | <DT>-Z (face 5) |
---|
| 79 | <DD>Represents the negative z plane (back). |
---|
| 80 | </DL> |
---|
| 81 | <P> |
---|
| 82 | |
---|
| 83 | <A NAME="Pixel Formats"></A> |
---|
| 84 | <HR SIZE=1> |
---|
| 85 | <BR> |
---|
| 86 | <FONT SIZE="-1"> |
---|
| 87 | This document was generated |
---|
| 88 | by <I>Steve Streeting</I> on <I>, 12 2006</I> |
---|
| 89 | using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html |
---|
| 90 | "><I>texi2html</I></A> |
---|
| 91 | |
---|
| 92 | </BODY> |
---|
| 93 | </HTML> |
---|