安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题
- If export is supported, when a user exports a file with SFM data and naively tries to compile it with studiomdl.
- If export isn't supported, whet a user imports a SFM animation and tries to export it again.
In both cases the SFM data is lost and the best I can do about it is provide spammy warnings that the user may not understand nor even read.I think the best solution is to implement SFM import/export as a different operator from studiomdl import/export, and perhaps even a different addon. This new operator would invoke the Source Tools and then do its own SFM-specific work afterwards. How does that sound to you?
(I just remembered that there is a third SFM-only feature: bezeier handles on each keyframe. The importer currently ignores them, and the exporter bakes them into extra keyframes. That's another feature that could be implemented.)
If you need help navigating DMX files try my desktop editor, DMXPad[github.com]. It's a bit wonky in places but it does have a massively useful file comparison feature.
In terms of the formats, they are very similar. Here's the spec for the basic studiomdl format; anything SFM does ought to be a layer on top of that.
You can't start Blender from VS due to a limitation in the Python Tools'[pytools.codeplex.com] UI. You'll need to start it up then attach. But I absolutely do develop and debug there.
There is also a test module that demonstrates how to get automated tests working. Unfortunately the tests require a special build of Blender which exists as a Python module instead of an executable. It builds with VS2013 though, so it's not a huge hurdle.
If Blender crashes while debugging, make your own build with "Python Safety" enabled. That build will be slower but will throw exceptions instead of crasting on invalid Python access.