游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1232|回复: 0

请教熟悉Maya文件格式的人以下数据如何解释

[复制链接]

15

主题

20

帖子

20

积分

注册会员

Rank: 2

积分
20
发表于 2007-5-19 00:36:00 | 显示全部楼层 |阅读模式

createNode script -name "sceneConfigurationScriptNode";
        setAttr ".before" -type "string" "playbackOptions -min 1 -max 24 -ast 1 -aet 48 ";
        setAttr ".scriptType" 6;

//-----------------------------------------------<
select -noExpand :time1;
        setAttr ".outTime" 1;
//----------------------------------------------->

select -noExpand :renderPartition;
        setAttr -size 2 ".sets";
select -noExpand :renderGlobalsList1;
select -noExpand :defaultShaderList1;
        setAttr -size 2 ".shaders";
select -noExpand :postProcessList1;
        setAttr -size 2 ".postProcesses";
select -noExpand :lightList1;

//-----------------------------------------------<
select -noExpand :initialShadingGroup;
        setAttr ".renderableOnlySet" yes;
//----------------------------------------------->

select -noExpand :initialParticleSE;
        setAttr ".renderableOnlySet" yes;
select -noExpand :hardwareRenderGlobals;
        setAttr ".colorTextureResolution" 256;
        setAttr ".bumpTextureResolution" 512;

//-----------------------------------------------<
select -noExpand :defaultHardwareRenderGlobals;
        setAttr ".filename" -type "string" "im";
        setAttr ".resolution" -type "string" "ntsc_4d 646 485 1.333";
//----------------------------------------------->

以上是模型的一个部分具体位置在屏幕脚本后
其中
-noExpand :time1,
-noExpand :defaultHardwareRenderGlobals,
-noExpand :initialParticleSE等 这个":"符号后面的参数是什么,命令还是节点,其中有些是在API中找不到
其中,如果把"time1"变成"time"时"time"就是节点,是可以这样用吗
还有创建脚本名的"sceneConfigurationScriptNode"是如何定义的或怎样命名的???
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-26 10:40

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表