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<title>Animation</title> 8</head> 9<body> 10 11<h1>Animation</h1> 12<p>This chapter describes procedures and precautions regarding the use of 3ds Max to create animations for NintendoWare.</p> 13<p> 14<a href="#common">Animation Overview</a><br /> <a href="#chara_anim">Character Animation</a><br /> <a href="#vis_anim">Visibility Animation</a><br /> <a href="#color_anim">Color Animation</a><br /> <a href="#tex_pat_anim">Texture Pattern Animation</a><br /> <a href="#tex_srt_anim">Texture SRT Animation</a><br /> 15 16<a href="#scene_anim">Scene Animation</a><br> 17</p> 18 19<h2><a name="common">Animation Overview</a></h2> 20 21<h3><a name="make_curve">Automatically Creating Animation Data</a></h3> 22<p>When exporting, animation curve data for output is created automatically from baked data from frame values.<br> The animation curves from 3ds Max cannot be output without modification.</p> 23 24<p>The rotational value automatically generates animation curve data after adjusting the baked data so that it is continuous and has a small absolute value.</p> 25 26 27 28<h3><a name="cmdl_attr">Values Output to CMDL Files</a></h3> 29<p> 30If attributes are being animated, values for the start frame specified with the Export option are output to the CMDL file. However, the Translate, Rotate, and Scale values of nodes which affect skinning are output in the skinning-configured state.<br> Be aware that what are being output are not the current values for the frames in 3ds Max. 31</p> 32 33 34 35<h2><a name="chara_anim">Character Animation</a></h2> 36<p> Character animations are configured by animating the <B>Translate</B>, <B>Rotate</B>, and <B>Scale</B> values of nodes (these nodes may be objects or bones, Bipeds, or dummies). 37</p> 38<p> 39We recommend setting the axis array to "<B>XYZ</B>" using the <B>Euler Parameters</B> combo box in the <B>Motion</B> panel.<br> If the axis array is set to something other than XYZ, the volume of animation data could become very large. 40</p> 41<p>Animation curves are always baked inside the Export plug-in before being output.</p> 42<br> 43 44 45<h2><a name="vis_anim">Visibility animation</a></h2> 46<p> 47The animation set in the rendering control <strong>display</strong> is reflected in the visibility animation.<br> 0.0 is interpreted as invisible. Values greater than 0.0 are interpreted as visible.<br> Interactive invisibility settings are not reflected in the intermediate file. 48</p> 49<center><img src="./images/visibility.gif"></center> 50<br> 51<p> 52For visibility animation, animation curve data is always automatically created and output from baked data. 53</p> 54<table border="1" class="arguments"><tbody><tr><td> 55When the Export option <a href="export.html#options_compress_node">Compress Node</a> has been set to <B>Cull Useless Node</B> or <B>Cull Uninfluential Node</B>, make sure nodes which have visibility animations configured are not compressed, since visibility animation is set on a node basis. (You can set the compression disable flag using the <a href="data_plugins.html#no_compress_node">NW4C Set No Compress Node Plug-in</a>).<br> When using visibility animation, do not set <CODE>Compress Node</CODE> to <strong>Unite Compressible Node</strong>, <strong>Unite All Node</strong> or <strong>Unite Below Node</strong>.<br> 56 57</td></tr></tbody></table> 58 59 60<h2><a name="color_anim">Color Animation</a></h2> 61<p> 62Color animation is set by animating a material's <strong>diffuse reflected light</strong>, <strong>specular reflected light</strong>, <strong>transparency</strong> and <B>self-illumination</B>. 63</p> 64<center><img src="./images/material_setting.gif"></center><br> 65 66 67 68 69<h2><a name="tex_pat_anim">Texture Pattern Animation</a></h2> 70 71<p> 72Texture pattern animations are created using IFL files. 73</p> 74<h3>The IFL file</h3> 75<p> 76The IFL file is the standard text format file supported by 3ds Max. In 3ds Max, image files can be substituted in every frame for viewing. Specify the IFL files in the same way you use bitmaps to allocate image files to a material's diffuse reflection light. 77</p> 78<p> 79Texture names are recorded inside the IFL file in the order of substitution. 80</p> 81 82<p> 83In the example below, the IFL file has been configured to play animation in the order p1, p2, p3, p1, p2, p3, .... 84</p> 85<pre> 86p1.tga 87p2.tga 88p3.tga 89</pre> 90<p> 91In this second example, the IFL file has been configured to play animations in the order p1, p1, p2, p3, p3, p1, p1, p2, p3, p3.... 92</p> 93<pre> 94p1.tga 2 95p2.tga 1 96p3.tga 2 97</pre> 98<p> 99When registering image files in the IFL file, do not register a mix of color index format textures and non-color index format textures. An error will result if the file contains a mix of textures. 100</p> 101<p> 102The 3ds Max IFL Manager is a useful tool when creating IFL files.<br> To read about IFL files in more detail, see the 3ds Max Help. 103</p> 104 105<h3>Controlling Repetition</h3> 106<p> 107You can use the Material Editor's <I>Time</I> category to control how IFL files get played on 3ds Max.<br> 108</p> 109<center><img src="./images/tex_time.gif"></center> 110<br> 111<p> 112All items in the <B>Time</B> category other than <STRONG>Synchronize frame to particle edge</STRONG> are reflected to the .cmata file.</p> 113 114<h3>Notes</h3> 115<ul> 116<li> 117SPACE is the only valid delimiter in IFL files. 118</li> 119</ul> 120 121<br /> 122 123 124 125<h2><a name="tex_srt_anim">Texture SRT Animation</a></h2> 126<p> 127Animations with coordinates set to <B>Offset U,V</B>, <B>Tiling U,V</B>, or <B>Angle W</B> can be output as texture SRT animations. No other parameters are supported. 128</p> 129<p>Animation curves are always baked inside the Export plug-in before being output.</p> 130<center><img src="./images/tex_srt.gif"></center> 131<br /> 132 133 134 135 136 137<h2><a name="scene_anim">Scene Animation</a></h2> 138<p>Scene animations are configured by animating the camera and light attributes.</p> 139<h3><a name="camera_anim">Camera</a></h3> 140<ul> 141 142<li><strong>Attributes For Which Animation Can be Set</strong> 143 <p> 144The following is a list of attributes that can be configured with animation:</p> 145<ul> 146 <li>Common 147 <ul> 148 <li>Camera's <strong>Translate</strong></li> 149 <li>Camera's View / Clipping planes (Near/Far)</li> 150 <li>Height of orthogonal projection (if camera is orthographic camera)</li> 151 </ul> 152 </li> 153 <li>Free Camera 154 <ul> 155 <li>Camera's <strong>Rotate</strong></li> 156 </ul> 157 </li> 158 <li>Target Camera 159 <ul> 160 <li>Target's <strong>Translate</strong></li> 161 <li>Camera's roll angle</li> 162 </ul> 163 </li> 164</ul> 165 166<p><STRONG>Global coordinate space</STRONG> values are output for the camera position and direction. If camera or target (equivalent to <CODE>Aim</CODE>) nodes have parent nodes, the Translate and Rotate settings of the parent node are also applied.</p> 167 </li> 168 169</ul> 170 171<h3><a name="light_anim">Lights</a></h3> 172<ul> 173<li><strong>Light Types</strong> 174<p>Output of standard lighting is supported as shown below.<br> 175<ul> 176<li>Omni-light</li> 177<li>Spot light (Target Spot Light or Free Spot Light)</li> 178<li>Directional light (Directional Light or Target Directional Light)</li> 179<li>Environment: ambient light (Ambient Light on the Environment dialog)</li> 180</ul> 181</li> 182 183 184 185 186<li><strong>Attributes For Which Animation Can be Set</strong> 187<p> 188The following is a list of attributes that can be configured with animation:</p> 189<ul> 190<li><STRONG>Position</STRONG> and <STRONG>Rotate</STRONG> (For all cases other than Environment: Ambient Light)</li> 191 192<li><B>Color</B> (The value that gets output is the color multiplied by the intensity)</li> 193 194</ul> 195<br> 196<p><STRONG>Global coordinate space</STRONG> values are output for the light position and direction. If a light has a parent node, the Position and Rotate for the parent node are also applied.</p> 197</li> 198 199 200 201 202</ul> 203 204 205 206<p><br /></p> 207<hr><p>CONFIDENTIAL</p></body> 208</html>