1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5<meta http-equiv="Content-Style-Type" content="text/css"> 6<link rel="stylesheet" href="css/manpage.css" type="text/css"> 7<style type="text/css"> 8<!-- 9TABLE.custom1 10{ 11 margin : 0px 8px 0px 20px; 12 border-collapse : collapse; 13} 14TABLE.custom1 TR, TABLE.custom1 TD 15{ 16 font : normal normal normal 10pt normal Arial; 17 text-align : center; 18 padding : 2px; 19 background : #dfd; 20 border : solid 1px #888; 21} 22--> 23</style> 24<title>Creating Cube Maps</title> 25</head> 26<body> 27<h1>Creating Cube Maps</h1> 28<p>Cubemaps are created under Photoshop as shown below by arranging images for each view direction in a horizontal cross pattern without gaps between images.</p> 29<table class="custom1"><tbody> 30<tr height="32"><td width="30" style="background:white;"> </td><td width="30">+Y</td><td width="30" style="background:white;"> </td><td width="30" style="background:white;"> </td></tr> 31<tr height="32"><td>-X</td><td>-Z</td><td>+X</td><td>+Z</td></tr> 32<tr height="32"><td style="background:white;"> </td><td>-Y</td><td style="background:white;"> </td><td style="background:white;"> </td></tr> 33</tbody></table> 34<p>(The white parts in each of the four corners are not used.)</p> 35<p>Images for each view direction must be squares (with same width and height) having a size that is a power of two equal to or greater than 8 and equal to or less than 1024.<BR> The coordinate axes of each view direction image under Photoshop are defined as follows.</p> 36<table class="arguments" style="width:auto;"><tbody> 37<tr><th style="width:70px;">View Direction</th><th style="width:70px;">Up</th><th style="width:70px;">Right</th></tr> 38<tr><td>+X</td><td>+Y</td><td>+Z</td></tr> 39<tr><td>-X</td><td>+Y</td><td>-Z</td></tr> 40<tr><td>+Y</td><td>+Z</td><td>+X</td></tr> 41<tr><td>-Y</td><td>-Z</td><td>+X</td></tr> 42<tr><td>+Z</td><td>+Y</td><td>-X</td></tr> 43<tr><td>-Z</td><td>+Y</td><td>+X</td></tr> 44</tbody></table> 45<p>Because the direction going up is -Y under CTR, data rotated 180 degrees is output in TGA file additional information and ctex files for images representing the +X, -X, +Z, and -Z view directions.</p> 46 47<p>For images arranged in a horizontal cross, a mipmap image for the cubemap can be created by executing the <a href="NW4C_CreateMipMap.html">mipmap creation plug-in</a>.</p> 48<p><img src="images/CubeMipMap1.gif" border="0"></p> 49 50<p><br><br></p> 51<hr><p>CONFIDENTIAL</p></body> 52</html>