摘要: Global thePath Global thePath01 fn BakeDiffuseAndLighting obj size tempPath tempChannel=( obj.iNodeBakeProperties.removeAllBakeElements() be2 = LightingMap() be2.outputSzX = be2.outputSzY = size if thePath01 != undefined do(be2.fileType = ( tempPath + "\\" + obj.name + "_L.tga" ) 阅读全文
posted @ 2010-07-28 19:43 softimagewht 阅读(1682) 评论(0) 推荐(0)
摘要: winver---------检查windows版本 wmimgmt.msc----打开windows管理体系结构(wmi) wupdmgr--------windows更新程序 wscript--------windows脚本宿主设置 write----------写字板 winmsd---------系统信息 wiaacmgr-------扫描仪和照相机向导 winchat--------xp... 阅读全文
posted @ 2010-07-28 12:49 softimagewht 阅读(291) 评论(0) 推荐(0)
摘要: MAX中的代码入下:shelllaunch "C:/Program Files/WinRAR/WinRAR.exe" "a -k -r -s -m1 D:/新建文件夹/1.rar D:/新建文件夹/"下面是参考文章,非常感谢如何用命令打包一个站点,包括其所有目录文件这个问题本来很简单,因为多数站点主机都会安装winrar,如果你获得的shell能够运行exe文件,你就可以使用rar.exe这个命令行程序进行打包,rar的详细命令可以在winrar的安装目录里"Rar.txt"文件中找到,也许因为大家习惯了图形界面,忽略了这些命令,下面 阅读全文
posted @ 2010-07-28 11:47 softimagewht 阅读(7889) 评论(0) 推荐(0)
摘要: ----------------收集所有场景文件到同一目录下------------------try(destroyDialog test)catch()rollout test "资源收集工具"( button setpath ".........." pos:[12,75] width:60 height:25button help "?" pos:[310,135] width:15 height:15button setziptextrue "处理ZIP包内贴图为绝对路径" pos:[12,125] wi 阅读全文
posted @ 2010-07-27 21:04 softimagewht 阅读(374) 评论(0) 推荐(0)
摘要: MAXScript Coding StandardsLast updated on Wed, 2007-01-24 23:22. Originally submitted by Jeff Hanna on 2007-01-15 22:52.17votesThis document should be used as a source of input when developing your own, or your company’s, coding standards for MAXScript. There are many ways to format code, this style 阅读全文
posted @ 2010-07-27 13:53 softimagewht 阅读(1294) 评论(0) 推荐(0)
摘要: /* --------------------------------Lets Play With Array--------------------------------A simple MaxScript tutorial (by Anubis) [2010-03-04]written to help on question posted into the ScriptSpot forum.Of course, I will write it in manner what allow to read it withoutbound the context to the forum top 阅读全文
posted @ 2010-07-27 13:38 softimagewht 阅读(345) 评论(0) 推荐(0)
摘要: >>>Click Here For More Free TutorialsIt’s one thing to create simple scripts with MAXScript to display a rollout and perform a few tasks. But if you find yourself creating the same type of object over and over again, you might want to take a crack at creating your own parametric object.> 阅读全文
posted @ 2010-07-27 13:22 softimagewht 阅读(1664) 评论(0) 推荐(0)
摘要: 收集整个场景的用到的贴图,USEDMAP会收集到重复的贴图并合并入数组,所以要自己写代码剔除掉textrue_arrary = usedmaps()temparrary = #()for i =1 to textrue_arrary.count do (if finditem temparrary textrue_arrary[i] == 0 do append temparrary textrue_arrary[i])temparrary 阅读全文
posted @ 2010-07-26 16:41 softimagewht 阅读(384) 评论(0) 推荐(0)
摘要: rollout renderpictrue "render" width:162 height:300( spinner spn2 "" pos:[70,80] width:46 height:16 range:[0,10000,640] type:#integer scale:1 spinner spn3 "" pos:[70,100] width:46 height:16 range:[0,10000,480] type:#integer scale:1 button btn1 "渲染" pos:[7,129] 阅读全文
posted @ 2010-07-26 16:38 softimagewht 阅读(466) 评论(1) 推荐(0)
摘要: updateShape $max modify modesubobjectLevel = 1splinecount=numSplines $for i = 1 to splinecount do( numbervet = (numSegments $ i)+1 if isClosed $ i then continue else setKnotSelection $ i #(1,numbervet)) updateShape $ 阅读全文
posted @ 2010-07-26 16:29 softimagewht 阅读(247) 评论(0) 推荐(0)