This commit is contained in:
2025-11-23 23:31:18 +08:00
parent d60cdc52fd
commit 9f7667a475
710 changed files with 252869 additions and 6 deletions

View File

@@ -0,0 +1,84 @@
<!DOCTYPE html>
<html>
<head>
<title>加载Pickers</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="auto-load pickers,loading pickers,picker searching paths" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
body { margin: 0px; background: #F8F8F8; }
</style>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="helpman_settings.js"></script>
<script type="text/javascript" src="helpman_topicinit.js"></script>
<script type="text/javascript">
HMSyncTOC("index.html", "loadpicker.htm");
</script>
<script type="text/javascript" src="highlight.js"></script>
<script type="text/javascript">
$(document).ready(function(){highlight();});
</script>
</head>
<body>
<table style="width:100%; border:none; border-spacing:0px; padding:0px; background:#D0D0D0">
<tr style="vertical-align:middle">
<td style="text-align:right">
<a href="welcome.htm"><img border="0" src="../common/images/MGtoolsHelp_Home.gif" width="34" height="22" alt="Home" /></a>&nbsp;
<a href="animator.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="setnamespace.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a>
</td>
</tr>
</table>
<!-- Placeholder for topic body. -->
<table style="width:100%;border:none;border-spacing:0px"><tr style="vertical-align:top"><td style="text-align:left;padding:5px">
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">多个加载相关Picker的方法:</span></p><div style="text-align: left; text-indent: 0; line-height: 1.80; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="border:none; border-spacing:0;">
<tr>
<td style="vertical-align:middle; width:16px; padding:0; border:none"><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 21px;">&nbsp;</p>
</td>
<td style="vertical-align:middle; width:798px; padding:0; border:none"><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin-left: 0;"><span class="f_Normal" style="font-weight:bold; font-size:9pt;display:inline-block;width:20px;margin-left:-20px">1.</span><span style="font-size: 9pt; font-weight: bold;">默认情况下所有场景内的Picker节点在读取Maya档案后将会被自动加载。</span><br />
<img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 这个自动加载与否的选项可以通过选择更多功能按钮 </span><img alt="moreFeaturesBtn" width="20" height="20" style="margin:0;width:20px;height:20px;border:none" src="morefeaturesbtn.gif"/><span class="f_ImageCaption"> </span><span style="font-size: 9pt;">/配置..,在弹出的配置对话框里设置。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin-left: 0;"><span class="f_Normal" style="font-weight:bold; font-size:9pt;display:inline-block;width:20px;margin-left:-20px">2.</span><span style="font-size: 9pt;">选择Reference角色的任意一部分 </span><span style="font-size: 9pt; font-weight: bold;">ALT+鼠标左键双击Picker标签的空白处或如果当前没有Picker打开就直接双击视图区来搜索并自动打开与当前角色相关的Picker。</span><br />
<img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 也可以直接点击右上角的查找&amp;加载Picker按钮 </span><img alt="findAndLoadBtn" width="20" height="20" style="margin:0;width:20px;height:20px;border:none" src="findandloadbtn.gif"/><span class="f_ImageCaption"> </span><span style="font-size: 9pt;">.</span><br />
<img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 搜索的优先级及搜索路径可以在配置对话框里设置。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin-left: 0;"><span class="f_Normal" style="font-weight:bold; font-size:9pt;display:inline-block;width:20px;margin-left:-20px">3.</span><span style="font-size: 9pt; font-weight: bold;">大部分打开功能</span><span style="font-size: 9pt;">在按钮</span><img alt="openIcon" width="20" height="20" style="margin:0;width:20px;height:20px;border:none" src="openicon.gif"/><span style="font-size: 9pt;">的菜单里。</span></p><p class="p_Normal" style="line-height: 1.80;">&nbsp;</p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin-left: 0;"><span class="f_Normal" style="font-weight:bold; font-size:9pt;display:inline-block;width:20px;margin-left:-20px">4.</span><span style="font-size: 9pt; font-weight: bold;">鼠标左键双击Picker标签的空白处</span><span style="font-size: 9pt;">或如果当前没有Picker打开就直接双击视图区来打开文件对话框您可以手动拾取一个外部的.mgpkr的picker文件。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin-left: 0;"><span class="f_Normal" style="font-weight:bold; font-size:9pt;display:inline-block;width:20px;margin-left:-20px">5.</span><span style="font-size: 9pt; font-weight: bold;">SHIFT+鼠标左键双击Picker标签的空白处或如果当前没有Picker打开就直接双击视图区来加载场景里所有的Picker节点</span><span style="font-size: 9pt;">(如果他们被设置不被自动加载)。</span><br />
<img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 也可以点击右上角的更多功能按钮 </span><img alt="moreFeaturesBtn" width="20" height="20" style="margin:0;width:20px;height:20px;border:none" src="morefeaturesbtn.gif"/><span class="f_ImageCaption"> </span><span style="font-size: 9pt;"> / 加载场景内所有Picker节点。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin-left: 0;"><span class="f_Normal" style="font-weight:bold; font-size:9pt;display:inline-block;width:20px;margin-left:-20px">6.</span><span style="font-size: 9pt; font-weight: bold;">拖拽一个 .mgpkr文件夹Picker视图区域并松开来打开那个picker文件。</span></p></td>
</tr>
</table>
</div>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><img alt="Warning" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="warning.gif"/><span style="font-size: 9pt; color: #ff0000;"> &nbsp;Picker被加载后你可能仍然需要设置下它的命名空间namespace以便它可以正常工作。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="width:24px;display:inline-block">&nbsp;</span><span style="font-size: 9pt; color: #ff0000;">在动画师模式下可以查看顶上的命名空间栏看上面显示的命名空间是否跟你reference角色的命名空间是否匹配。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="width:24px;display:inline-block">&nbsp;</span><span style="font-size: 9pt; color: #ff0000;"><a href="setnamespace.htm" class="topiclink">点此了解</a> 更多命名空间的信息。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">MG-Picker工作室搜索三个基本路径来取得相关Picker:</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#9642;</span><span style="font-size: 9pt; font-weight: bold;">在当前Maya场景/ Reference场景内部的Picker节点。</span><br />
<span style="font-size: 9pt;">这些Picker节点采用Maya内置节点类型 &quot;subdivSurfaceVarGroup&quot;,并通常有一个&quot;_MGPIKR&quot;作为名字后缀。</span><br />
<span style="font-size: 9pt;">Picker节点采用的图片一般存储在Maya场景目录的pickerimages子目录。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#9642;</span><span style="font-size: 9pt; font-weight: bold;">当前或Reference场景目录里的pickers文件夹。 </span><br />
<span style="font-size: 9pt;">你可以将Picker数据及图片发布在相关场景所在目录里的pickers目录里。这个目录也将被自动搜索。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#9642;</span><span style="font-size: 9pt; font-weight: bold;">Maya的用户程序目录 / MG_PickerData / 当前Picker工程目录。</span><br />
<span style="font-size: 9pt;">在Windows操作系统这个目录是我的文档/Maya/MG_PickerData/. 在里面的当前Picker工程里的Picker数据将被搜索。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p><p class="p_Normal" style="line-height: 1.80;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 在配置窗口里,你还可以添加其它的自定义搜索路径。</span></p>
</td></tr></table>
<table height="30" width="100%" border="0" cellspacing="" cellpadding="0" bgcolor="#D0D0D0">
<tr valign="bottom" bgcolor="#D0D0D0" >
<td align="left" valign="middle" >
<a href="welcome.htm"><img border="0" src="../common/images/MGtoolsHelp_Home.gif" width="34" height="22" alt="Home" /></a>
<a href="animator.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="setnamespace.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>