STEAM 群組
Blender Source Tools BleST
STEAM 群組
Blender Source Tools BleST
376
遊戲中
2,181
線上
創立
2013 年 11 月 8 日
所有討論 > Help > 主題細節
Jpuffle5 2021 年 3 月 15 日 下午 11:30
Blender to SFM Flex Issue
I have Shape Keys on a model, in Blender, that work properly with no distortion. However, when I export a .dmx, of my model, and compile with Crowbar, I get this distorted result, in HLMV and SFM, as shown in my video below. In the video, the same flex is demonstrated in Blender and in HLMV as this distortion also occurs similarly on other flexes. Also, if I import the exported .dmx back into Blender, the flexes appear to be just fine.

https://www.youtube.com/watch?v=7IMZ3vaTYe0
最後修改者:Jpuffle5; 2021 年 3 月 16 日 下午 5:39
< >
目前顯示第 1-10 則留言,共 10
Pte Jack 2021 年 3 月 16 日 上午 6:44 
Are you doubling the mesh anywhere in the head when you compile>? Are you exporting SMD or DMX files and is the face solid and doesn't have any non manifold edges or vertexes?
Jpuffle5 2021 年 3 月 16 日 下午 1:31 
It is a DMX. There were non manifold edges or vertexes, but when I removed them, the model still had distorted flexes in HLMV. A part of the the head was duplicated, before any flexes were made, in order to have black textured faces within the head so that when the mouth is opened, black can be seen.
Pte Jack 2021 年 3 月 16 日 下午 5:43 
By doulbling, I mean, do you have the head objects multiple build statements like

$model "blah" "head.dmx" {
blah...
blah...
}

and/or a

$body "head" "head.dmx"

and/or a

$bodygroup "head" {
studio head.dmx
studio blah...
studio blah...
blank
}
最後修改者:Pte Jack; 2021 年 3 月 16 日 下午 5:45
Jpuffle5 2021 年 3 月 16 日 下午 5:47 
This is my QC. It is a very simple QC, body.dmx contains the whole model

$CD "D:\Desktop 12-20-19\Folders\Blender\Blender Exports\SFM Exports\Huck Rig Test"

$modelname "boomerang_from_cartoon_network\huckleberry_hound\rig_test\huck_rig_test.mdl"

$body "Body" "huck.dmx"

$mostlyopaque
$ambientboost

$cdmaterials "models\boomerang_from_cartoon_network\huckleberry_hound"

$sequence "idle" "huck.dmx" {
fps 1
}
最後修改者:Jpuffle5; 2021 年 3 月 16 日 下午 7:21
Pte Jack 2021 年 3 月 16 日 下午 6:01 
There's only one other suggestion I can make without actually looking at the model myself and that is, when you exported the mesh, was the basis shape in Blender selected and were all the shapes zeroed?
Jpuffle5 2021 年 3 月 16 日 下午 6:32 
Yeah. The Basis Shape Key is selected, and all of the flexes are zeroed. I still don't understand what you were getting at with the doubling, like how would that cause an issue?
Pte Jack 2021 年 3 月 16 日 下午 6:39 
If you have 2 or more of those statements in the QC (you don't) loading the same DMX then each of the statements creates an instance of the bodygroup. One for each statement it encounters. The shapekeys/flexes become confused (and usually don't work at all), because the multiples all have flexes with the same names. It all depends on which bodygroup the game engine thinks is the one that should have shapes/flexes.

Anyway, that is not the case in your case. You have a clean QC.

I would decompile the broken model and bring it back into Blender and have a look at each of the shapes to see if I could discover what is deforming by the key and what isn't.
最後修改者:Pte Jack; 2021 年 3 月 16 日 下午 6:42
Jpuffle5 2021 年 3 月 16 日 下午 7:20 
This is strange. When the model was decompiled, multiple SMDs were created as well as VTAs. The model also appears to be divided up within all of the SMDs.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2427089176
Jpuffle5 2021 年 3 月 16 日 下午 8:08 
The model appeared to have too many vertices. What is the max vertices for a model again?
Pte Jack 2021 年 3 月 16 日 下午 10:45 
For body groups (BG) is around 9000 to 11000 verts per BG unless $maxverts xxxxx (where xxxxx is up to 65530) is used in the QC. But I haven't hit the max in a model yet adding BGs.

As for the multimesh SMDs, check your model for doubles (blender m (for merge) -by distance) watch out for sealing the mouth and eyes)
最後修改者:Pte Jack; 2021 年 3 月 16 日 下午 10:47
< >
目前顯示第 1-10 則留言,共 10
每頁顯示: 1530 50

所有討論 > Help > 主題細節
張貼日期: 2021 年 3 月 15 日 下午 11:30
回覆: 10