STEAM 群組
Blender Source Tools BleST
STEAM 群組
Blender Source Tools BleST
331
遊戲中
1,927
線上
創立
2013 年 11 月 8 日
所有討論 > Bug Reports > 主題細節
lasa 2020 年 4 月 22 日 上午 9:21
Inconsistent imported Z rotation on certain models
On some imported models the Z rotation is wrong, compared to models loaded into Half-Life Model Viewer as .mdl and exported as .obj and imported into Blender with settings -Y Forward, Z Up. Decompiled .qc models were imported with the following settings: https://imgur.com/9VaNtI8

Here's a screenshot about the issue: https://imgur.com/d0W6eDa

Blue models are imported with Blender Source Tools, and grey models are .obj imports. On most models, the imported rotation is correct (e.g. CSGO models "models/props_vehicles/van.mdl", "models/props/de_inferno/bench_wood_new.mdl"). However, in some rare cases the Z rotation is incorrect (e.g. "models/props/de_mirage/bomb_site_tarp.mdl").

The same issue is in both BST 3.0.3 and latest unreleased BST 3.1.0. The models are decompiled with latest Crowbar before importing. The issue doesn't seem to be in Crowbar, since recompiling the decompiled .qc models doesn't affect the rotation on the problematic models.
< >
目前顯示第 1-5 則留言,共 5
Artfunkel 2020 年 4 月 25 日 下午 12:29 
This is normally to do with the presence or absence of animations. For legacy reasons all SMD meshes are rotated 90 degrees from their final engine position, as your tarpaulin model shows, and that error is then corrected by their animations rotating them back.
lasa 2020 年 4 月 25 日 下午 2:38 
I checked that all of the meshes I have there are imported with animations. The issue is not the fact that the models are rotated in Z since that can be easily corrected, but that seemingly some models are rotated and some are not. This makes it impossible for my .vmf importer to import all prop rotations correctly.
Artfunkel 2020 年 5 月 3 日 上午 5:21 
Is the difference defined by whether the model is a $staticprop?
lasa 2020 年 5 月 3 日 上午 10:48 
That seems to be the case actually. Checked a couple of models and the ones with $staticprop were correctly rotated.
lasa 2020 年 5 月 7 日 下午 1:58 
Looks like the animations should not be imported on models with $staticprop, but should be imported on other models to get the correct rotations. I was able to fix this on my side, but it would be probably better to have an option to import only non-$staticprop animations in BST. In any case, thanks for helping.
< >
目前顯示第 1-5 則留言,共 5
每頁顯示: 1530 50

所有討論 > Bug Reports > 主題細節