Город МОСКОВСКИЙ
00:00:43

obj to vmf

Аватар
Минивэн-автопоиск
Просмотры:
28
Дата загрузки:
31.01.2024 20:35
Длительность:
00:00:43
Категория:
Видеоигры

Описание

quick little bit of code I threw together that converts a single .obj file into a hammer .vmf file

only works on models that hammer would consider a "valid solid"

can convert complex models if each "object" in the .obj is a valid solid, any objects that aren't will be removed from the file by hammer on startup.

If I get the time I'll make a script that converts the other way too.
EDIT: https://github.com/Dylancyclone/VMF2OBJ someone beat me to it

code available here (just this script working as of December 2020):
https://github.com/snake-biscuits/vmf_tool_examples/tree/df52268c88a34ffc0ba403a385a8600b72de768d

Рекомендуемые видео