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>Data Creation Plug-Ins</title>
8</head>
9<body>
10<h1>Data Creation Plug-Ins</h1>
11<p>The data creation plug-ins are a group of plug-ins that aid in the creation of data for NintendoWare.</p>
12<p>
13The plug-ins are used to set NintendoWare attributes and search for settings primarily for nodes in Softimage.
14</p>
15<p>
16The data creation plug-ins are executed from the NW4C main menu.
17</p>
18<p>
19<a href="#kind">The Types of Data Creation Plug-Ins</a><br />
20
21</p>
22
23<h2><a name="kind">The Types of Data Creation Plug-Ins</a></h2>
24<p>The following table shows a list of data creation plug-ins.</p>
25<table class="arguments"><tbody><tr>
26<tr>
27<td>Plug-In Name</td>
28<td>Description</td>
29</tr>
30<tr>
31<td valign="top"><a href="#mat_attr">NW4C Set Material Attribute</a></td>
32<td>Sets attributes for materials.</td>
33</tr>
34<tr>
35<td valign="top"><a href="#render_priority">NW4C Set Render Priority</a></td>
36<td>Sets the polygon rendering priority for materials.</td>
37</tr>
38<tr>
39
40<tr>
41<td valign="top"><a href="#no_compress_node">NW4C Set No Compress Node</a></td>
42<td>Sets the node compression disable flag for nodes.</td>
43</tr>
44<tr>
45<td valign="top"><a href="#billboard">NW4C Set Billboard</a></td>
46<td>Sets a billboard for nodes.</td>
47</tr>
48<tr>
49<td valign="top"><a href="#combineGroup">NW4C Set Combine Group</a></td>
50<td>Sets a combine group for nodes.</td>
51</tr>
52
53<tr>
54<td valign="top"><a href="#user_data">NW4C Set User Data</a></td>
55<td>Allows user data to be set for nodes, materials, cameras, and/or lights.</td>
56</tr>
57
58<tr>
59<td valign="top"><a href="#forceExportKey">NW4C Set Force Export Key</a></td>
60<td>Sets the forced output of animation keys for nodes.</td>
61</tr>
62</tbody></table>
63
64
65<h2>
66<a NAME="mat_attr"></a>Plug-In for Setting Material Attributes (NW4C Set Material Attribute)
67</h2>
68<p>
69Sets the NintendoWare material attributes for materials. Note, however, that this is not reflected on the XSI screen. It is also possible to search for settings. To display properties, click <B>NW4C</B> and select <STRONG>NW4C Set Material Attribute...</STRONG>.<br />
70
71</p>
72<p><img SRC="images/SetMatAttr1.gif" BORDER=0 width="500" height="458" ></p>
73
74<h3>
75<a NAME="mat_attr_set1"></a>Setting Method</h3>
76
77<p>
78Select an object, polygon cluster, or material (multiple selections are allowed), and then click NW4C and select NW4C Set Material Attribute, and the Properties page will appear. If you select an object, you can set the global material of that object. If you select a polygon cluster, you can set the local material of that polygon cluster.<br /> Once set, the <CODE>Custom-NW4CMaterialAttrSet</CODE> property is created below the Material node.<br /> If the NW4CMaterialAttrProp property is already set, the property currently set is displayed.
79</p>
80
81<iframe id="CommonMaterialAttribute" src="../../common/CommonMaterialAttribute.html" frameborder="0" scrolling="auto" width="100%" height="700px"></iframe>
82
83
84<h3>
85<a NAME="mat_attr_search"></a>Searching for Attributes
86</h3>
87<p>
88Select <b>Search</b>, and click the <b>Search</b> button to select and display the corresponding <CODE>NW4C_MaterialAttrProp</CODE> property.<br /> If the <B>and</B> radio button located to the left of the <B>Search</B> button is selected, a search is made for the materials which have the same attributes. If the <B>or</B> radio button is selected, a search is made for materials with at least one of the same attributes. If no radio buttons are selected, attributes are excluded from search conditions.
89</p>
90
91<h2>
92<a NAME="render_priority"></a>Plug-In for Setting the Rendering Priority of Polygons (NW4C Set Render Priority)
93</h2>
94<p>
95Sets the polygon rendering priority for materials. It is also possible to search for settings.<br /> To display properties, click <B>NW4C</B> and select <B>NW4C Set Render Priority</B>.<br />
96<p></p>
97
98
99<p><img SRC="images/SetRenderPriority1.gif" BORDER=0>
100
101<h3>
102<a NAME="render_priority_set"></a>Setting Method
103</h3>
104
105<p>
106Select an object, polygon cluster, or material (multiple selections are allowed), and then click NW4C and select NW4C Set Render Priority, and Properties will appear. If you select an object, the global material of that object is set. If you select a polygon cluster, the local material of that polygon cluster is set.<br /> Using the radio buttons, select <B>Don't care</B> (no render priority specification) or <B>Care</B>. When specifying as a numeric value, enter an integer ranging from 1 to 255 for the priority. Polygons with the materials that have the lowest values are rendered first. If there is more than one material with the same value, the order in which the polygons are rendered is undefined (that is, it depends on the rendering routine). It is possible to make multiple selections and change all selected nodes at once.<br /> Once set, the <CODE>Custom-NW4CRenderPriorityProp</CODE> property is created below the Material node.<br /> If the NW4CRenderPriorityProp property is already set, the property currently set is displayed.
107</p>
108
109<h3>
110<a NAME="render_priority_search"></a>Searching for Attributes
111</h3>
112<p>
113Select <b>Don't care</b> in the <b>Search</b> field (no rendering priority specified), or select a conditional specification and click the <b>Search</b> button to select the corresponding <CODE>NW4C_RenderPriorityPSet</CODE> property.<BR> The following conditions can be selected: under (&lt;), below (&lt;=), exactly (=), above (&gt;=), and over (&gt;). below), equal (= : exactly), over (&gt;= : above), over(&gt; : over). Integers from 1 to 255 can be specified for the numeric value.
114</p>
115
116<h2>
117<a NAME="render_priority_list"></a>Plug-In for Setting the Rendering Priority of Polygons, List Version (NW4C Render Priority List)
118</h2>
119<p>
120The rendering priority of polygons in a scene may be set in list format.<br /> To display the property window, click NW4C and select NW4C Render Priority List.
121</p>
122
123<p><img SRC="images/SetRenderPriorityList.gif" BORDER=0>
124<h3>
125<a NAME="render_priority_set"></a>Setting Method
126</h3>
127
128<p>
129Clicking the <strong>Update</strong> button in the lower left corner of the window will display the scene rendering priority in list format.<br /> Here, <B>Don't care</B> is displayed as 0.
130</p>
131
132<p>
133To select an object or a polygon cluster, click on the name of a material in the list.<br /> If the <B>Frame Objects</B> checkbox is ON at this time, the corresponding polygons will fill the view.
134</p>
135
136<p>
137Clicking the <strong>Priority</strong> or <STRONG>Material</STRONG> button will sort the list by rendering priority or material name, respectively.<br /> Clicking the same button twice will reverse the sorting order.<br /> Under the initial settings, sorting is performed in the ascending order of rendering priority.<br /> Rendering priority may be changed individually, by clicking the <STRONG>Edit</STRONG> button. Multiple rendering priorities may not be edited together.
138</p>
139
140<p>
141To switch the rendering priority of the material directly above the currently selected one, click the <STRONG>Move Up</STRONG> button.<br /> In the same way, to switch the rendering priority of the material directly below the currently selected one, click on the <STRONG>Move Down</STRONG> button.
142</p>
143
144
145<h3>
146<a NAME="render_priority_list_update"></a>Updating the List
147</h3>
148<p>
149To update the list in an open window such that it reflects the addition of new materials, deletions, and name changes in the scene, click the <STRONG>Update</STRONG> button.
150</p>
151
152
153
154
155
156<h2><a name="no_compress_node">Plug-In for Disabling Node Compression (NW4C Set No Compress Node)</a></h2>
157<p>Sets a flag so objects and nodes are not compressed even if the node compression feature is enabled. It is also possible to search for settings.<br /> <img src="images/SetNoCompressNode.gif"border="0">
158<h3>
159<a name="no_compress_node_set"></a>Setting Method
160</h3>
161
162
163<p>
164Select a Null or joint node (multiple selections are possible), then click <B>NW4C</B> and select <B>NW4C Set No Compress Node</B> to display the property.<br /> The flag for disabling node compression can be changed by clicking the combo box. It is possible to make multiple selections and change all selected nodes at once.<br /> If <b>Compress this node if possible</b> is set, compression will be performed when the node compression function is enabled. This is the default.<br />
165
166If <B>Don’t compress this node</B> is set, compression will never be performed even if the node compression function is enabled.<br /> Once set, the <CODE>NW4CNoCompProp</CODE> property is created below the selected node.<br /> If the NW4CNoCompProp property is already set, the property currently set is displayed.
167</p>
168
169<h3>
170<a name="no_compress_node_search"></a>Searching for Attributes
171</h3>
172<p>
173Select <b>Search</b>, and click the <b>Search</b> button to select the corresponding <CODE>NW4CNoCompProp</CODE> property. If multiple check boxes have been selected, a search is made for nodes that satisfy any of the settings.
174
175</p>
176
177<h2><a name="billboard">Plug-In for Setting Billboards (NW4C Set Billboard)</a></h2>
178<p>Sets a billboard for nodes. However, the settings are not reflected in the 3ds Max Work View. It is also possible to search for settings.</p>
179<p>To display the window, click NW4C → NW4C Set Billboard.</p><br/> <img src="images/SetBillboard1.gif"border="0"> <br/>
180
181<br/>
182<p><strong>Billboard Coordinates</strong></p>
183<p>
184The billboard feature is suitable for use when the z direction of local coordinates for a node is being used for the view direction.<BR> <img src="images/billboard-axis.gif"border="0" />
185</p>
186
187<br />
188
189<p><strong>Setting Attributes</strong></p>
190<p>When a node is selected (multiple selections are possible), the <strong>Set</strong> field displays current settings for the selected node(s).<br /> If multiple selections were made, the settings get displayed for the node that was selected first.</p>
191<p>Billboard mode can be changed by clicking the combo box. If multiple nodes are selected, they can all be changed at once.</p>
192<iframe id="CommonBillboard" src="../../common/CommonBillboard.html" frameborder="0" scrolling="auto" width="100%" height="250px"></iframe>
193
194
195<p><strong>Searching for Attributes</strong></p>
196<p>Select a <B>Search</B> field check box and click the <B>Search</B> button to select the corresponding nodes. If multiple check boxes have been selected, a search is made for nodes that satisfy any of the settings.
197</p>
198<br />
199
200<h2><a name="combineGroup">Plug-in for Setting Combine Group (NW4C Set Combine Group)</a></h2>
201<p>You can specify a range of nodes for optimization and grouping by specifying a combine group by number for those nodes. <BR> When setting a combine group, meshes that exist underneath nodes with different numbers are not combined. <BR> (For details on mesh combines, click <a href="../../common/CommonMeshCombine.html">Here</a>.)<br> <br>
202
203To display the window, click NW4C → NW4C Set No Compress Node.</p>
204<img src="images/SetCombineGroup.gif" alt="SetCombineGroup" border="0" />
205<p><strong>Setting Attributes</strong></p>
206<p>
207When an object or node is selected (multiple selections are possible), the <strong>Set</strong> field displays current settings for the selected node(s).<br /> It is possible to make multiple selections and change all selected nodes at once.<br />
208</p>
209<p>
210If <strong>Don't Care</strong> is selected, the value of the parent node is inherited. If the parent also has been set to <strong>Don't Care</strong> the combine group is not exported. This is the default.<br /> Values in the range of 0-255 can  be set for Combine Group.<br />
211</p>
212<p>
213If you select multiple nodes and press <strong>Set Sequential</strong>, the node hierarchy will be configured from shallow to deep while incrementing the count one at a time from the specified value. If the value exceeds 255, a warning will display and the configuration process will not proceed.
214</p>
215
216<p><strong>Searching for Attributes</strong></p>
217<p>
218Select <strong>Don't care</strong> (that is, no specified combine group) in the <strong>Search</strong> field, or select a conditional specification and then click the <strong>Search</strong> button to display the pertinent materials. The following conditions can be selected: under (&lt;), below (&lt;=), exactly (=), above (&gt;=), and over (&gt;). below), equal (= : exactly), over (&gt;= : above), over(&gt; : over). Integers from 0 to 255 can be specified for the numeric value.<br />
219</p>
220
221
222<h2><a name="forceExportKey">Plug-in for setting the forced output of animation keys (NW4C Set Force Export Key)</a></h2>
223
224<p>This plug-in sets the forced output of animation keys for nodes. It is also possible to search for settings.<br />
225
226From the NW4C menu, run NW4C Set Force Export Key to display a window.</p>
227<img src="images/SetForceExportKey.gif" border="0" />
228<p>Selected file nodes are displayed in the <strong>Selected Nodes</strong> column.</p>
229
230<p><strong>Setting Attributes</strong></p>
231<p>When a node is selected (multiple selections are possible), the <strong>Set</strong> field displays current settings for the selected node(s).<br />
232
233Animation key output settings can be changed by clicking the check box. If multiple nodes are selected, they can all be changed at once.</p><br />
234<ul>
235  <li><strong>Force Export Translate Key</strong></li>
236  <li><strong>Force Export Rotate Key</strong></li>
237  <li><strong>Force Export Scale Key</strong>
238	  <p>These options specify whether to forcibly output the Translate, Rotate, and Scale value keys of skeletal animations. The default setting is OFF.<br /> If turned ON, at least one key will be output even if there is no animation or the value is the same as the bind pose. If turned OFF, no keys will be output for a skeletal animation if there is no animation or the value is the same as the bind pose.
239	  </p>
240  </li>
241  <li><strong>Force Export Visibility Key</strong>
242    <p>Specifies whether to forcibly output node visibility keys. The default setting is OFF.<br /> If set to ON, at least one key will be exported even if there is no animation.  If set to OFF, keys are not exported to the model animation file if there is no animation.
243    </p>
244  </li>
245</ul><br />
246
247<p>A different node can be set by selecting it without closing the window.</p>
248
249<p><strong>Searching for Attributes</strong></p>
250<p>Select the <B>Search</B> field check box and click the <B>Search</B> button to select the corresponding nodes. If the <B>and</B> radio button located above the <B>Search</B> button is selected, a search is made for all nodes that have the same attributes. If the <B>or</B> radio button is selected, a search is made for nodes with at least one of the same attributes. Items for which no check boxes are selected are excluded from search conditions.</p>
251
252
253<h2><a name="user_data">Plug-in for Setting User Data (NW4C Set User Data)</a></h2>
254<p>This plug-in sets user data for the object or material.<br /> From the NW4C menu, run NW4C Set User Data to display the window.</p>
255<p><img src="images/SetUserData1.gif" border="0"></p>
256
257<p><strong>Setting Attributes</strong></p>
258<p>If <strong>only one</strong> object or material is selected, current settings for the selected node are shown in the window. New user data can be added by clicking the <strong>Add</strong> button. If an item in the list is selected, data is inserted in the selected location; if no item is selected, data is added to the end of the list. (The selection can be canceled by clicking &quot;-----&quot; at the bottom of the list.) The name and contents of existing user data can be changed by selecting an item in the list and clicking <strong>Edit</strong> or by double-clicking on the item.<br /> Selected user data can be deleted by selecting an item in the list and clicking <strong>Delete</strong>.<br /> The order of user data can be changed by selecting an item in the list and clicking <strong>Move Up</strong> or <strong>Move Down</strong>.<br /> A different object can be set by selecting another object without closing the window. <br /> A user data entry window can be displayed by clicking Add or Edit.</p>
259<p><img src="images/SetUserData2.gif" border="0"></p>
260<ul>
261<li><strong>Name</strong>
262  <p>Enter the name of user data. Double-byte characters and half-space kana characters cannot be used. Symbols other than the hyphen (-), underscore (_), and period (.) cannot be used.</p>
263  </li>
264<li><strong>Type</strong>
265  <p>Specifies the type of user data. <B>String</B> is a character type, <B>Integer</B> is an integer type, and <B>Float</B> is a real number type.</p>
266  </li>
267<li><strong>Number or String</strong>
268  <p>If Type is String, enter a text string.「&lt;」、「&gt;」、「&amp;」, single quotes, and double quotes cannot be used. More than one character string can be input by entering a return.</p>
269  <p>If Type is Integer or Float, enter a numeric value. More than one numeric value can be entered by delimiting with a carriage return. (Only one value per row can be entered.)</p>
270  </li>
271</ul>
272<p>User data can be added or changed by clicking <strong>OK</strong>. If the name, character string, or numeric value is invalid, an error will be displayed on the command line and in the script editor .</p>
273
274
275
276
277<br />
278<p>
279Even if additional information just for NintendoWare has been set or, conversely, deleted, there will be no effect on the work view or data configuration under Softimage.<br /> <br />
280</p>
281<hr><p>CONFIDENTIAL</p></body>
282</html>
283