–這個工具首先是對uv進行操作的。首先是要 hold 住在進行操作。

--******************************************************************************************************-- Created:   05-05-2011-- Last Updated: 05-05-2011-- Version:   1.0---- Author :  Kostadin Kotev / miau_u@yahoo.com /-- Version:  3ds max 2009

UVtool 工具解釋1

appendIfUnique  是為了保證數組的唯一性, 所以這個還是很好的。但是在2008 之上應用。所以這個要進行處理。ps = createOLEobject "Photoshop.Application" ---在max 裡面開啟某個軟體 就是這個函數了。--對於別的我也差別找newbitmaps=getclassinstances Bitmaptexture target:i.material --可以返回 一個物體不管使用了什麼東西都是 一樣的(返回材質貼圖)---但是他是2011

和朋友研究的東西

 rollout tbtest "aa" width:227 height:182(   dotNetControl testSpinner "System.Windows.Forms.NumericUpDown" pos:[86,53] width:93 height:25  --io =dotNetclass "System.Windows.Forms.button"  --io.gettext  dotNetControl   sdf  

匯入3ds的一些操作, 裡面有修改器中沒有的東西,

--utility threedeeesimporter "Import 3ds Sequence"rollout rol_UVRandomRotate "UV Rotate" ---借用一下頭 ( ---匯入3ds 格式。  ---匯入權證的辦法  bitmap logo filename:"mondolabs.bmp" --圖片顯示 覺得沒有什麼。只是一個解釋。 local objbasename = "3dsobj" --名字的顯示。 button doit "Import" on

max 4.0 添加

---max 4.0 加入的 filters:  GetSelectFilter() --SetSelectFilter 3 -- 選擇的處理。 GetNumberSelectFilters () --- 返回可供上面旋轉的個數  GetSelectFilterName  1 ---返回我選擇的名字 。 SetDisplayFilter  1 on  GetNumberDisplayFilters() ---就是下面另外加入的 GetDisplayFilterName 1

系統自己提供的 非常方便進行軸向的改變。

fn alignUVGizmo theObj theFace =(---這個可以做很好的視圖座標。 ---其實這個就是差乘的結果。這個在做造型的時候費城有用,faceNormal = in coordsys theObj (getFaceNormal theObj theFace) worldUpVector = [0,0,1] rightVector = normalize (cross worldUpVector faceNormal)upVector = normalize (

3dmax 集會成員表示形式。

object1 = Cylinder()object2 = Box()object3 = OmniLight()obj_array = #(object1, object2, object3)new_ass = assemblyMgr.assemble obj_array name:"合并後" classDesc: point --Dummy  --- 這裡必須要是一個虛擬類obj_arrayassemblyMgr.Disassemble obj_arrayappend obj_array

幫朋友寫的尋找選擇的父子骨骼。之前我都是用遞迴,這個好、

---第一種方法。sel_array=for i in selection collect i ---確保收集的是骨骼  global op = falseglobal oop=undefinedfor j in 1 to sel_array.count do(  for i in 1 to sel_array.count do (  if sel_array[j].parent !=sel_array[i] then      (   op= true    oop =sel_array[j]

排列頂點 uv 不過有很大問題

-- curb unwrapper(version 0.1, 6th may  2004)-- MAX script, tested with 3ds MAX 5.1-- (c) 2004 Andrei Kletskov (111)-- homepage: http://andklv.narod.ru -- e-mail: andklv@mail.ru -- please do not remove any copyrights from this script-- Description --

麻花的移動物體到原點

--只移動Z軸到0fn moveObjectToZeroOnlyZ obj = (        local icenter        local minz        icenter = obj.center        minz   = obj.min.z        move obj [0,0,-minz])--軸心歸底fn CenterPiv i =(        CenterPivot i  --軸心歸中心        i.pivot.z = i.min.z 

直線y=x

shp = splineShape() select shp spln = addNewSpline shpfor i = 1 to 1000 do (addKnot shp spln  #corner #line [i*5,0,i*5])converttosplineshape shp updateShape shp  ---螺旋線函數shp = splineShape() select shp spln = addNewSpline shpfor i = 1 to 1000 do ( x =

論壇裡 名為麻花寫的 是到處物體的東西

fn HandleMax obj=(    --有必要可以最佳化一下材質    --........    obj_name=obj.name    filepath = maxfilepath    makeDir (filepath + obj_name)--在當前處理的max路徑下建立以對象物體為名的檔案夾    --輸出這個檔案成一個.x檔案,並儲存為以物體為名的檔案夾內。    exportfile (filepath + obj_name + "\\" + obj_name+".x"

解釋指令碼語言 計算兩個向量的夾角度數。

A face always has 3 vertices.--一個面總是有3 個點構成Each pair of vertices define one of the 3 edges of the face, and at the same time can be seen as a vector --每一對點 看看做是連著3 條變 還有就是一個面。同時 很多時候我們是吧他看做一個向量。 every vertex is already a vector--每個點都能看做是一個向量。 and

唐璜性質的指令碼 和朋友分析

p= 茶壺PCross = point---這個指令碼是這樣解釋的,--第一次用this.vTime 沒有定義肯定報錯 多億返回 【0 0 0 】  $Point001[4].tension $Point001[4].Damping=0.5show $Point002[3][1].soxRealtimeSpringCon$Point002[3][1].soxRealtimeSpringCon.vTime  .vpos : point3  .vVec : point3  .vTime :

摘抄 : max mel 的一些用法。

clearListener() char="0123456789abcdef"for i=1 to char.count dofor j=1 to char.count do(s=execute("\"\\x"+char[i]+char[j]+"\"")format "%% %\n" char[i] char[j] s)print "\x1f\x1e"將字串當做指令碼執行的方法MXS:executeMel:eval evalDeferred evalEcho轉換大小寫方法MXS:toupper

轉載 多層影藏 和顯示

global LI_Isolateglobal LI_Back btnpress=0 AllArray=#()curselArray=#() firstArraypview activecam theNodeName         store1stPos=truefn LI_Isolate=(                                        if store1stPos==true and btnpress==0 then

時時設定 uv 面板的位置,還有就是 關於屬性開啟介面的大小

unwrapModPKW = modpanel.getcurrentobject() -- unwrapModPKW= modpanel.getcurrentobject() ---當前選擇的層級  xPKW = unwrapModPKW .GetWindowX() -- xPKW = unwrapModPKW. GetWindowX ()    yPKW = unwrapModPKW .GetWindowY() -- yPKW = unwrapModPKW. GetWindowY ..

對於檔案併入的方法 這裡提供了這個

--關於檔案合并的一個檔案。p=[100,100,100]for i = 1 to 5 do box pos:(random p -p) -- create some boxessavemaxfile "mergetest.max" -- save to filefor obj in objects do obj.name = "_"+obj.name -- rename the boxesobjects.pos += [0,-1000,0] -- move them off to the

思路錯了這樣的問題應該子啊匯入匯出上下功夫

---法線問題基本是通過角度判斷--- normal*a.*正常的*,*普通的* problem*n.*問題,疑難* form*n.*形式*,*形狀*vt.*形成* verdict*n.*裁決*,*定論* ---/* polyop.getFaceSelection $ p_22 = polyop.getFaceNormal $ 19 --node:<node=unsupplied>      p_14 = polyop.getFaceNormal $ 151

情境骨骼 cs bone 的隱藏情況

local tempCSandBone,tempboneobj,tempbipedobj fn getboneNode num =---按骨骼物體處理---- ( try( tempCSandBone= #(); tempboneobj =#(); tempbipedobj =#() for obj in geometry do ( ---這個沒有用到在這裡就不進行運算了。 --if (classof obj==BoneGeometry) or (classof

總頁數: 61357 1 .... 9436 9437 9438 9439 9440 .... 61357 Go to: 前往

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.