STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
394
游戏中
2,346
在线
成立于
2013 年 11 月 8 日
所有讨论 > Help > 主题详情
GottoGure 2015 年 10 月 23 日 上午 8:34
[Solve]Having problem about export model to dmx file.
i'm newbie about blender and i try to export model to dmx but it's got weight error

here is picture http://imgur.com/GoLD8Yu

ps. i'm doing follow original was smd file but i have too much bone so i have to export to dmx and got this error
最后由 GottoGure 编辑于; 2015 年 12 月 14 日 下午 8:12
< >
正在显示第 1 - 15 条,共 19 条留言
Zappy 2015 年 10 月 23 日 上午 8:38 
If any vertice of a mesh has more than 3 weight links (is rigged to more than 3 bones), Blender Source Tools will either tell you "too many weight links, you can't compile this model" or "too many weight links, I'll just cull it down to 3 for you" depending on the "weight link cull threshold" in the Source export properties, of which you are getting the second message. As long as you keep a Blender session of it, you should be fine.
GottoGure 2015 年 10 月 23 日 上午 9:01 
Thank you for you anwser between i'm still noob at blender (start learn week ago)

i try to export XNA file and i can't delete bone name Example : are right shouder 2 ctr

if i delete it when i'm try to pose in blender model shape it's gone weird

i'll try but still idk how to do it _(:3jz)_
最后由 GottoGure 编辑于; 2015 年 10 月 23 日 上午 9:23
xdshot 2015 年 10 月 23 日 上午 10:04 
Try exporting model into smd format if possible.
xdshot 2015 年 10 月 23 日 上午 10:11 
Or try using this script. It removes exeeded weitghting on object's vertices. Select your mesh in Object Mode and run this script(I ussgest making reserve duplicate of object in case if you need to edit that):

# Purpose: Source supports 3 infuences per vertex
# this snippet will remove excess influences from the selected
# objects
import bpy

def removeExcessVtxFrom(obj, imax):
for v in obj.data.vertices:
if len(v.groups) > imax:
vgs = []
for vg in v.groups:
vgs += [(vg.weight, vg.group)]
vgs.sort()
diff = len(v.groups) - imax
vgs = vgs[:diff]
for (w,g) in vgs:
obj.vertex_groups[g].remove([v.index])

for o in bpy.context.selected_objects:
if o.type == 'MESH':
removeExcessVtxFrom(o, 3)
print ('Removed extra influences form', o.name)
GottoGure 2015 年 10 月 23 日 上午 10:13 
@ xDShot™ i trying to smd too but i have too much bone the most problem is XNA my model have "ctr" bone i try to delete it but when change to pose mode in blender it was cripple so i'm will try to delete some bone which i don't want it (mostly) on head model it have face bone like eye leash and lips before i go to sleep (it's midnight here so after this i'll go to bed i'll come to read comment later thank you for any anwser might help me.) :D

Edit (00:15) : i just see xDShot™ 2nd comment how i use that script? (i have to go file... or something?)

Edit *2 : here this picture about bone on my model http://imgur.com/7vR8nV2

*Warning NSFW but Doge was block it so i think it's ok.

Edit *3 Thank you xDShot™ i'll do it later it almost 1 am. gtg sleep XD
最后由 GottoGure 编辑于; 2015 年 10 月 23 日 下午 5:25
xdshot 2015 年 10 月 23 日 上午 10:26 
There is a stripped top-right corner on 3D view. Press and hold it and drag it down. In upper new window switch into Text Editor, press New and paste the code above. Select your object, back it up and press Run Script.
Zappy 2015 年 10 月 23 日 下午 12:06 
引用自 xDShot™
Or try using this script. It removes exeeded weitghting on object's vertices.
But BLENDER SOURCE TOOLS already does that.
Artfunkel 2015 年 10 月 23 日 下午 12:22 
There is a built-in weight limit feature. Adjust the Weight Link Cull Threshold value, which is in the Export panel. Whack it all the way up to 1 if you don't want to edit the mesh.

The Tools' code accounts for changes to the limit too (it's higher in Source 2).
GottoGure 2015 年 10 月 24 日 上午 2:09 
@Artfunkel sorry for slow repiles (because i have to do laundry at the morning)

i try to change weight link cull Threshold to 1 it won't work and i try to 0.5 and still have same massage error.
Zappy 2015 年 10 月 24 日 上午 2:13 
引用自 Zappy
- Blender Source Tools will either tell you "too many weight links, you can't compile this model" or "too many weight links, I'll just cull it down to 3 for you" - of which you are getting the second message. -
It either tells you "too many influences" or "I'll cull it down for you", of which you get the latter message if you set the scene threshold to 1, which will allow you to compile the model for Source.
GottoGure 2015 年 10 月 24 日 上午 2:19 
@Zappy i'm grateful for your help but i'm doing NSFW model i didn't want you to see it XD (i didn't want get kick on my steam account so i can't send it to you, i'm terrible sorry.)



but pelase tell me how to do it or throw some guide to me i might try to do it. :3
最后由 GottoGure 编辑于; 2015 年 10 月 24 日 上午 2:21
Zappy 2015 年 10 月 24 日 上午 3:10 
In the Source export panel, set the weight link cull threshold to 1, and export. Done. That's all you need to do to export it so you can compile it for Source. Like I've said at least three times now.
GottoGure 2015 年 10 月 24 日 下午 7:30 
@Zappy i try to set weight link cull threshold to 1 and still got error maybe there have problem with mesh or something i dont' sure (it's wasn't my model but i'm import form XNA) here this my short video export DMX

https://www.youtube.com/watch?v=U6MwxPSV33w

also thank you everyone for help me out for few days it's end by i'm export smd but i have to delete so bone (mostly face pose bone) now i think my model kinda derping now XD
最后由 GottoGure 编辑于; 2015 年 10 月 24 日 下午 7:39
Zappy 2015 年 10 月 25 日 上午 12:36 
Do you even read?

It either gives you the
"TOO MANY INFLUENCES, YOU WILL NOT BE ABLE TO COMPILE THIS DMX MODEL FOR SOURCE"
or
"I'LL CULL IT DOWN FOR YOU SO YOU CAN COMPILE THIS FOR SOURCE"
message, and it's giving you the
"I'LL CULL IT DOWN FOR YOU SO YOU CAN COMPILE THIS FOR SOURCE"
message, just like I've been saying ALL ALONG.
最后由 Zappy 编辑于; 2015 年 10 月 25 日 上午 12:37
GottoGure 2015 年 10 月 25 日 上午 12:53 
@Zappy i read it but i don't get it (i'm too dunce) ;w; but i delete some bone

and export to .smd file instead. and sorry for made you angry or something.
< >
正在显示第 1 - 15 条,共 19 条留言
每页显示数: 1530 50

所有讨论 > Help > 主题详情
发帖日期: 2015 年 10 月 23 日 上午 8:34
回复数: 19