# Share On RDP (gen)
## MetaHuman
[点我手动跳转一下~](https://www.notion.so/Meta-Human-Test-62b2d8f1ec444be7ac46615d7e02b0b9)
## maxscript 法线
```
macroScript MungeNormals category:"MicroForte"
(
a = pickObject message: "select an object as the center for normal calculations"
if a != undefined then
(
center = a.transform.row4
mySelection = #()
for i in selection do
(
mySelection += i
)
for i in mySelection do
(
select i
if i.modifiers[#edit_normals] != undefined then
(
inv = inverse( i.transform )
localcenter = center * inv
tm = snapshotasmesh i
a = i.Edit_Normals
for j = 1 to a.getnumnormals() do
(
a.setnormalexplicit j explicit:true
)
nVerts = tm.numverts
for j = 1 to nVerts do
(
position = getvert tm j
normal = normalize( (position * inv ) - localcenter )
trans = random (eulerangles -10 -10 -10) (eulerangles 10 10 10) as matrix3
normal = normal * trans
verts=#{j}
normals=#{}
a.convertVertexSelection &verts &normals
for k = 1 to normals.count do
(
if normals[k] == true do
(
a.SetNormal k &normal node:i
)
)
)
)
else
(
print "No edit normals modifier"
)
)
select mySelection
)
)
macros.run "MicroForte" "mungenormals"`
```
## 学习
[MaxScript Note](https://www.notion.so/MAXScript-a356075ee93b4518b24ebd12313c2ba0)
好东西:[MAXScript vs MEL ](http://www.scriptspot.com/bobo/mel2mxs/mel2mxs.htm) 我只看到了[变量部分](http://www.scriptspot.com/bobo/mel2mxs/variables.htm)