source: OGRE/trunk/ogrenew/Docs/vbo-update/vbo-update_20.html @ 692

Revision 692, 3.5 KB checked in by mattausch, 19 years ago (diff)

adding ogre 1.2 and dependencies

RevLine 
[692]1<HTML>
2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3<!-- Created on , 12 2006 by texi2html 1.64 -->
4<!--
5Written 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.
9Maintained by: Olaf Bachmann <obachman@mathematik.uni-kl.de>
10Send bugs and suggestions to <texi2html@mathematik.uni-kl.de>
11 
12-->
13<HEAD>
14<TITLE>Hardware Buffers In OGRE: Texture Types</TITLE>
15
16<META NAME="description" CONTENT="Hardware Buffers In OGRE: Texture Types">
17<META NAME="keywords" CONTENT="Hardware Buffers In OGRE: 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="SEC30"></A>
27<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
28<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="vbo-update_19.html#SEC27"> &lt; </A>]</TD>
29<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="vbo-update_17.html#SEC22"> Up </A>]</TD>
30<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="vbo-update_21.html#SEC32"> &gt; </A>]</TD>
31<TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="index.html#SEC_Top">Top</A>]</TD>
32<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="vbo-update_toc.html#SEC_Contents">Contents</A>]</TD>
33<TD VALIGN="MIDDLE" ALIGN="LEFT">[Index]</TD>
34<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="vbo-update_abt.html#SEC_About"> ? </A>]</TD>
35</TR></TABLE>
36<HR SIZE=1>
37<H3> 2.8.3 Texture Types </H3>
38<!--docid::SEC30::-->
39<P>
40
41There are four types of textures supported by current hardware, three of them only differ in the amount of dimensions
42they 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="SEC31"></A>
61<H3> Cube map textures </H3>
62<!--docid::SEC31::-->
63<P>
64
65The 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">
87This document was generated
88by <I>Steve Streeting</I> on <I>, 12 2006</I>
89using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
90"><I>texi2html</I></A>
91
92</BODY>
93</HTML>
Note: See TracBrowser for help on using the repository browser.