07 2010 档案
摘要: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" )
阅读全文
摘要:winver---------检查windows版本 wmimgmt.msc----打开windows管理体系结构(wmi) wupdmgr--------windows更新程序 wscript--------windows脚本宿主设置 write----------写字板 winmsd---------系统信息 wiaacmgr-------扫描仪和照相机向导 winchat--------xp...
阅读全文
摘要: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"文件中找到,也许因为大家习惯了图形界面,忽略了这些命令,下面
阅读全文
摘要:----------------收集所有场景文件到同一目录下------------------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
阅读全文
摘要: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
阅读全文
摘要:/* --------------------------------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
阅读全文
摘要:>>>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.>
阅读全文
摘要:收集整个场景的用到的贴图,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
阅读全文
摘要: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]
阅读全文
摘要: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 $
阅读全文
摘要:1.把C++当成一门新的语言学习(和C没啥关系!真的。); 2.看《Thinking In C++》,不要看《C++变成死相》; 3.看《The C++ Programming Language》和《Inside The C++ Object Model》,不要因为他们很难而我们自己是初学者所以就不看; 4.不要被VC、BCB、BC、MC、TC等词汇所迷惑——他们都是集成开...
阅读全文
摘要:macroScript BFF_Exporter category:"Bobo_s Tools" (-----------------------------------------------------------------------BOBO'S FILE FORMAT (BFF) --(formerly known as "Back From Five")--Beta 0.4.2--Started: 01/10/2002--Edited : 09/24/2003--Code by Borislav Petrov--bobo@email.
阅读全文
摘要:-- BFF Mesh Definition For [Box01]-- Version 0.4.0 - 09/20/2003 -- Exporter by Borislav 'Bobo' Petrov -- http://www.scriptspot.com/bobo/ --------------------------------------------------------------------- SOURCE SCENE NAME: [Untitled] -- EXPORT DATE: [21.09.2003 13:15:37] -- SOURCE VERSION
阅读全文
摘要:The following example demonstratesThe use of the System.Windows.Forms.Timer DotNetObject as alternative to the MAXScript rollout Timer control.The main advantage of the DotNet version is the ability to call MAXScript functions at given intervals without the need for a rollout.MAXSCRIPT CODE:theTimer
阅读全文
摘要:The following example demonstratesThe use of the System.Windows.Forms.OpenFileDialog DotNetControl as alternative to the MAXScript GetOpenFileName..The main advantage of the DotNet version is the ability to select multiple files at once.theDialog = dotNetObject "System.Windows.Forms.OpenFileDia
阅读全文
摘要:The following example demonstrates The use of the System.Windows.Forms.Label DotNetControl to output formatted text to a rollout. Setting the Font of the Label using a System.Windows.Forms.FontDialog ...
阅读全文
摘要:The following example demonstrates the use of the System.Windows.Forms.Clipboard DotNetClass to read and write bitmaps from/to the Windows Clipboard.The script can be saved into one of the Startup fol...
阅读全文
摘要:----输出模型信息mesh01 = snapshotasmesh selection[1]out_name = ((getdir #export)+"/ee.txt")out_file = createfile out_name--点总数输出numberverts = mesh01.numverts --面总数输出numberfaces = mesh01.numfacesformat "%,%\n" numberverts numberfaces to:out_file--点位置集合for i = 1 to numberverts do (v = ge
阅读全文
摘要:3dmax的导出插件是用来把做好的3d模型导出成自己引擎需要的格式的一个dll,它由3dmax加载调用.具体怎样去写一个插件,小T不多说,在3dmax的sdk里面有比较详细的介绍,在google上面也能搜索到不少的源代码,这里说的只是3dmax的数据组织方式,以及怎么获取转换3dmax的数据. 3dmax里面一个比较重要的概念就是INode,3dmax的场景模型都是由一个个的INode组成,这些INode构成一棵体系树,而各个真实的模型都是附着到一个INode上面的,3dmax的sdk提供了怎样获取INode指针,怎样获取INode的几个Matrix的方法,这个能在max的sdk里面找到...
阅读全文
摘要:3Dmax导出插件制作(译文)前言:本教材将建立一个3dMax导出插件。目的是帮助使你掌握建立MAX插件的基础知识和学习怎样从3ds max中导出场景数据。本教材一共五个部分,每一部分都带有相应源码,相应的目录如下:第一节:开始第二节:几何体第三节:灯光和纹理第四节:动画和修正第五节:定制数据注:MaxSDK 类 ,用Iderivedobject 格式MaxSDK 方法,用DoExport() 格...
阅读全文
摘要:-- export by sssa2000macroScript ExportGeo category:"HowTo2"( fn GetGeometry o = ( Superclassof o == Geometryclass and classof o != TargetObject ) fn DumpMaterial m file= ( --只对Standard类型的材质处理 --获得...
阅读全文
摘要:macroScript ImportGeo category: "HowTo2"( --从文件中读入某个分割符 后面 的数据 --FileStream:文件句柄 --needload :储存读取后的值的变量 (string or value) --spliter:分隔符(string) --bReadLine: 是否读取分隔符后所有的数据 1表示读取后面所有 fn LoadData FileStr...
阅读全文
摘要:Designing a tool: 3D ExportersIt seems like most exporters I come across are designed to export everything in the currently loaded scene in 3D Studio Max, Maya, Lightwave, and so on, but within the limits of the system the programmer designed. If anything in the scene is hidden, they don't expor
阅读全文
摘要:There's a common feeling in the game industry that many programmers don't 'get' artists, and visa versa. This often results in artists making fun of programmers for speaking geek, and programmers maki...
阅读全文
posted @ 2010-07-23 16:01
softimagewht
只有注册用户登录后才能阅读该文。
posted @ 2010-07-23 15:58
softimagewht

浙公网安备 33010602011771号