GRUPO DE STEAM
Blender Source Tools BleST
GRUPO DE STEAM
Blender Source Tools BleST
326
JUGANDO
1,907
ONLINE
Fundado
8 de noviembre de 2013
Todas las discusiones > Bug Reports > Detalles del tema
lasa 22 ABR 2020 a las 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.
< >
Mostrando 1-5 de 5 comentarios
Artfunkel 25 ABR 2020 a las 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 25 ABR 2020 a las 14: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 3 MAY 2020 a las 5:21 
Is the difference defined by whether the model is a $staticprop?
lasa 3 MAY 2020 a las 10:48 
That seems to be the case actually. Checked a couple of models and the ones with $staticprop were correctly rotated.
lasa 7 MAY 2020 a las 13: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.
< >
Mostrando 1-5 de 5 comentarios
Por página: 1530 50

Todas las discusiones > Bug Reports > Detalles del tema