STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
310
游戏中
1,864
在线
成立于
2013 年 11 月 8 日
所有讨论 > Help > 主题详情
Elmo 2018 年 10 月 7 日 上午 3:25
Blender Cycles - Automatically apply textures
Hii! :)
Saw this video that shows textures applied automatically in Blender Render.
https://gfycat.com/SpryWelltodoDogfish

Is it possible for it to do the same when importing qc in Cycles Render (or Eevee Render in the future)?

Offtopic, there is a addon that imports source models directly into Blender without using Crowbar - https://github.com/REDxEYE/io_mesh_SourceMDL
最后由 Elmo 编辑于; 2018 年 10 月 7 日 上午 3:28
引用自 Momo:
If you don't know where the video is from then I'm afraid that the addon I linked is the closest we are to being able to apply textures quicker.
< >
正在显示第 1 - 5 条,共 5 条留言
Zappy 2018 年 10 月 7 日 上午 3:38 
No. Source uses VTF-format textures, and there doesn't seem to be a Blender plugin that imports VTFs into Blender. And if it could, Blender would have to find the VMT material files of the model (which are typically very far from the QC/DMX/SMD files), look for $BaseTexture in the VMTs, and load the VTFs specified by $BaseTexture (which are sometimes not even in the same directory as the VMTs). Even then, what about VMTs that use special options, like the Refract shader or completely overriding $BaseTexture with $Detail?

So no, even with a VTF import plugin, it's simply not possible to automatically do this with the Cycles renderer, Eevee renderer, nor "Blender" renderer, unless you're okay with Blender Source Tools looking through every single folder on your computer until it finds what it's looking for, making it possibly take hours to import a model.
最后由 Zappy 编辑于; 2018 年 10 月 7 日 上午 5:46
Momo 2018 年 10 月 7 日 上午 3:54 
There Is a way to import VTFs and VMTs in Blender with the help of a few surprisingly unheard of addon:
https://github.com/REDxEYE/io_texture_VTF

Where did you find that video? This is the first time I see such functionality, but if it exists, it can be done for Cycles, it just needs to link the textures differently so they work with Cycles.

It is otherwise theoretically possible to automatically import textures, like for example prompting the user to pick the game's root folder and then by parsing the QC and the model materials finding the proper textures, but that would be quite difficult to program and would be prone to issues. For now, feel free to try the addon above, it should make things a bit quicker than having to convert every single VTF before importing the texture into Blender.
最后由 Momo 编辑于; 2018 年 10 月 7 日 上午 3:55
Zappy 2018 年 10 月 7 日 上午 4:11 
引用自 Momo
There Is a way to import VTFs and VMTs in Blender with the help of a few surprisingly unheard of addon: -Link- -
"Surprisingly unheard of" indeed. Actually searching for "Blender VTF plugin" or such simply shows results about "it's not worth making such a plugin, just use VTFEdit to convert it to PNG".
最后由 Zappy 编辑于; 2018 年 10 月 7 日 上午 4:12
Elmo 2018 年 10 月 7 日 上午 5:21 
引用自 Momo
Where did you find that video? This is the first time I see such functionality, but if it exists, it can be done for Cycles, it just needs to link the textures differently so they work with Cycles.
Sorry, no clue where the video is from.


引用自 Momo
There Is a way to import VTFs and VMTs in Blender with the help of a few surprisingly unheard of addon:
https://github.com/REDxEYE/io_texture_VTF
That looks interesting.
该讨论串的作者已表示此帖子解答了原先的主题。
Momo 2018 年 10 月 7 日 上午 10:01 
If you don't know where the video is from then I'm afraid that the addon I linked is the closest we are to being able to apply textures quicker.
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50

所有讨论 > Help > 主题详情
发帖日期: 2018 年 10 月 7 日 上午 3:25
回复数: 5