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>Scene Data</title> 8</head> 9<body> 10 11<h1>Scene Data</h1> 12 13<p>This chapter describes procedures and precautions for creating scene data using NintendoWare in Softimage.</p> 14<p> 15<a href="#camera">Camera</a><br> <a href="#light">Light</a><br> 16</p> 17 18<h2><a name="camera">Camera</a></h3> 19<p> 20<ul> 21<li>Camera Types 22 <p>Supported camera types are: Perspective, Telephoto, Wide Angle, and Orthographic. 23 </p></li> 24<!-- li>カメラの数 <p>最大 32 個のカメラが出力できます。 </p></li--> 25<li>Cameras that are not output 26 <p>A camera will not be output if its Visibility property <B>View Visibility</B> is OFF. 27 </p></li> 28<!-- li>カメラの親Null( Camera_Root )について <p>Camera_Rootは無視します。</p></li--> 29<li>Aspect Ratio 30 <p>The aspect ratio is set by selecting <B>Primitive</B> > <B>Pict. Ratio</B> under Camera Properties, or <B>Projection Plane</B> > <B>Film Aperture (Fixed Aspect Ratio OFF)</B>.<br> 31 </p></li> 32<li>Angle of View 33 <p>Angle of view is set by selecting <B>Primitive</B> > <B>Field Of View</B> > <B>Angle</B> under Camera Properties or <B>Projection Plane</B> > <B>Film Aperture (Fix Aspect Ratio ON)</B>. Since vertical Field of View (Fovy) is output to the intermediate file, if <B>Primitive</B> > <B>Field Of View</B> is set to <B>Horizontal</B>, convert it to <B>Vertical Field of View</B> before exporting. The relationship between Horizontal Angle of View and Vertical Angle of View is determined by the Aspect Ratio.<BR> The relationship between the Vertical Field of View (Fovy) and the Horizontal Field of View (Fovx) is given by the following formula: 34 <pre>Fovy = 2 * atan( tan( Fovx * 0.5 ) / aspect )</pre> 35 <p></p></li> 36 37<!-- li>アニメーションを設定できるアトリビュート <p>アニメーションを設定できるアトリビュートをまとめると次のようになります。</p> <ul> <li> カメラの Kinematics の <strong>Translate</strong>、<strong>Rotate</strong> (Rotate はRotateタイプのカメラの場合のみ)(グローバル座標)</li> <li> カメラの方向コンストレイント先(Camera_Interest)の Kinematics の <strong>Translate</strong> (Aimタイプのカメラの場合)(グローバル座標)</li> <li> アップベクターコントロールオブジェクトの Kinematics の <strong>Translate</strong> (アップベクターコントロールオブジェクトを使用している場合)(グローバル座標)</li> <li> アップベクターのロール(アップベクターがアクティブの場合)</li> <li> cameraプロパティのピクチャーレシオ(フィルムアパチャーX/Yでコントロール)、視野-角度、クリッピングプレーン(前方/後方)、焦点距離、オーソ高さ</li> </ul> <p></p></li--> <!--li>ユーザーデータ <p>カメラノードに <a href="data_plugins.html#user_data">NW4C Set User Data プラグイン</a>でユーザーデータを設定することができます。 </p></li--> 38</ul> 39<p></p> 40 41<h2><a name="light">Lights</a></h3> 42<p> 43<ul> 44<li>Light Types 45 <p>Supported light types are: Infinite, Point, and Spot.<br> <B>Render</B> > <B>Edit</B> > <B>Ambience</B> converts light into ambient light. However, there can only be one ambient light. 46 </p></li> 47<li>Lights that are not output 48 <p>A light is not output if the Visibility property <B>View Visibility</B> is not animated and is OFF. 49 </p></li> 50<li>The Spotlight's <CODE>Visibility</CODE> property 51 <p>A spotlight is not output if either its own <CODE>Visibility</CODE> or the <CODE>Visibility</CODE> of <CODE>Spot_Root</CODE> is OFF. </p></li> 52<li>Light Contribution 53 <p>If the light property <B>Light Contribution</B> > <B>Specular</B> is ON, then the <CODE>color </CODE>value is output as specular color.<br/> If it is OFF, then black is output to the specular color. 54 <p>If the light property <B>Light Contribution</B> > <B>Diffuse</B> is ON, then the <CODE>color </CODE>value is output as diffuse color.<br/> If it is OFF, then black is output to the diffuse color. 55 </p></li> 56<li>Specular Color 0, Specular Color 1 57 <p>The intermediate file can have two settings for specular color, but the same value is output for both from Softimage. 58 </p></li> 59<li>Exportable Attributes 60 <p>Attributes that can be output to intermediate files are collected below.</p> 61<ul> 62<li> The light kinematics <B>Translate </B>and <B>Rotate</B> (Global Coordinates)</li> 63<li> The light Visibility property <B>View Visibility</B> (except for Ambient Lights)</li> 64<li> The light Color, Cone Angle and Spread (Cone Angle and spread are for Spot Lights only)</li> 65<li> Ambient Light <B>Color</B></li> 66<li> <B>Intensity </B>is output as the alpha component of the light color. (Valid values range between 0.0 and 1.0. The values 0.0-1.0 correspond to the alpha values 0-255 in the intermediate file.)</li> 67</ul> 68 <p></p></li> 69<!--li>ユーザーデータ <p>ライトノードには<a href="data_plugins.html#user_data">NW4C Set User Data プラグイン</a>でユーザーデータを設定することができます。 </p></li--> 70<p></p> 71<p><br></p> 72</ul><hr><p>CONFIDENTIAL</p></body> 73</html> 74