blender

unity / blender / FBX / semi transparent

匿名 (未验证) 提交于 2019-12-03 01:39:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Im getting a strange issue with importing .FBX into unity. It does not look like it's an issue with normals. I have noticed on unity the material is classed as 'transparent' and changing this to 'opaque' does fix the issue but i would like to find out whats going on here. Unity: 2018.3.3f1 Blender: 2.80.0 回答1: I've just run into a similar issue. I've not figured out why it's happening yet, but there seems to be a bug report out. Will update if I find out what's causing it. Update 2019-02-13: Haven't found the exact underlying cause but I've

Why is blender rigged animation distorted when exported as GLTF?

匿名 (未验证) 提交于 2019-12-03 01:34:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I created an animation in Blender with armature rigging. When I test it in Blender by pressing Alt-A, it works perfectly fine. However, when I export it as a .glb using the KhronosGroup GLTF exporter, the resulting animation is distorted (e.g., limbs are disconnected and moving in a weird way). Why is this happening (and how can I fix it)? For the past two days, I have been trying solutions from similar questions (such as applying location/rotation/scale with Ctrl-A, or deleting the Armature modifier on the mesh) but none of them have worked

Blender 2.5 Python animated world texture setup

匿名 (未验证) 提交于 2019-12-03 01:34:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I need to set up an animated (i.e. from video file) world texture in blender 2.58 using python. I make a texture like this: import bpy # create new clouds texture bpy.ops.texture.new() wtex = bpy.data.textures[-1] # set World texture wrld = bpy.data.worlds['World'] slot = wrld.texture_slots.add() slot.texture = wtex slot.use_map_horizon = True This creates a new CloudsTexture and binds it to slot. How can I make an ImageTexture and set it up to have a video as a source? Or, how can I specify the type of a new texture made by bpy.ops.texture

How to use Multi-band Blender in opencv

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to blend two images using multiband blending but I am not clear to the input parameter of this function: void detail::Blender::prepare(const std::vector & corners, const std::vector & sizes) In my case ,I just input two warped images with black gap, and with masks all white.(forgive me can not add pictures...) And I set the two corners (0.0,0.0),because the warped images has been registered. but my result is not good enough.with obvious seam in the result can someone tell me why?How can I solve this problem? 回答1: I'm not sure what do

Blender插件加载研究

匿名 (未验证) 提交于 2019-12-03 00:41:02
[x] 解析Blender插件代码加载原理, 为测试做准备 采用方法3的方式, 可以在测试中保证重新加载子模块, 是想要的方式, 代码如下: _qk_locals = locals() def register(): if "bpy" in _qk_locals: print(">>> plugin‘s submodules reload") from importlib import reload _modules_loaded[:] = [reload(val) for val in _modules_loaded] del reload from bpy.utils import register_class for mod in _modules_loaded: for cls in mod.classes: print(‘>>> register: ‘, cls.__name__) register_class(cls) 本分析基于Blender2.79b. 在用户Blender插件目录下创建插件包 我的测试插件为 C:\Users\yaoyu\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\qk_modeler 在 __init__.py 文件中插入输出代码, 查看效果

Blender插件之Panel

匿名 (未验证) 提交于 2019-12-03 00:41:02
[x] 总结Blender之Panel Blender之Panel需要从Blender界面组成开始理解. 直观上Blender的界面层次为 Editors ? Regions ? (Tabs) ? Panels ? Controls . 面板是用户界面的最小组织单位. 定制Blender插件界面, 就是创建一个个Panel. Blender界面元素层次关系为 Window ? Screen ? Areas ? Editors ? Regions ? (Tabs) ? Panels ? Controls 屏幕由一个或多个区域(Area)组成, 每个区域都包含一个编辑器(Editor) 应用窗口在桌面上总是显示为矩形,并被分割为一些可改变大小的区域。一个区域包含特定类型编辑器的工作区,如3D视图编辑器,或者大纲视图。 每个编辑器都被细分为几个小区块。An Editor is subdivided into regions. 主区块 标题栏(菜单和常用工具的容器) 工具栏(面板)(默认在左侧) 操作器面板, 它是工具栏的一部分. 属性栏(默认在右侧) 选项卡是用户界面中的重叠区域。选项卡可以是垂直(工具栏)或者水平的(属性编辑器、用户设置)。 面板是用户界面的最小组织单位。折叠面板可隐藏内容。 属性编辑器 使用了面板 bpy.types.Panel bl_space_type -

Blender绑定模块:小技巧

匿名 (未验证) 提交于 2019-12-02 23:56:01
本文基于Blender 2.8正式版 技巧1:骨架(Armature)视图显示 选定骨骼,在其 物体上下文 标签中的 视图显示 设置区 其中 在前面 几乎是必选项,其它几个可以根据实际情况选择。 技巧2:体积吸附(Volume Snapping) 选择吸附体积并开启吸附,这样在挤出骨骼的时候可以更好地确定位置。 技巧3:巧用细分(Subdivide) 在构建脊柱或者尾巴等长度较长且段数较多的骨骼部分时,可以先挤出长骨骼。再将长骨骼细分成小段。这样效率较高且位置准确 来源:51CTO 作者: OrzStudio 链接:https://blog.csdn.net/hello_tute/article/details/100163957

How do I use Blender models in Java?

£可爱£侵袭症+ 提交于 2019-12-02 23:05:48
Just a general question really? Let's say I am making a game and have made a character model in Blender. How would I use this model in Java? Would I import it somehow? Thanks. udoprog Generally when making models in blender you export the model in a format which allows you to later import it in the game engine of your choice, which format you use differ in requirements. The export-import cycle is often referred to as the "Asset Pipeline", and you generally want to keep it as simple and automated as possible since it is something you or your artists will perform on a regular basis. So if we

How can I access BPY in standard python console? BPY is the Blender-python -thing

亡梦爱人 提交于 2019-12-02 19:38:18
The author here in point 17.20-17.50 mentions that you can access BPY with the standard Python interpreter in the future. It is already 1 year old so how can I access the BPY with the standard python console? Trial 0: roundaround -solution not working with subprocess inside Blender subprocess.call(['vim', 'test.py']) # some editing of BPY -file with Vim (not working currently) subprocess.call(['python', 'test.py']) # trying to execute the python -file (not working currently) Trial 1: not working outside Blender $ cat cubes.py import bpy mylayers = [False]*20 mylayers[0] = True add_cube = bpy

Blender vs. Unity [closed]

眉间皱痕 提交于 2019-12-02 19:32:25
I want to make a 3D game, preferably that can be played in browser. Some people say blender, some say unity. What are the pros and cons of each? Which one do you prefer? Why? Also, do you have any suggestions for tutorials? Blender and Unity are not the same thing, Unity is game engine, which means that its purpose is to create games, and you can program in it using C# or Javascript. But you cannot make 3d models in it. While Blender is program for modeling mainly, you can create applications or games in it but it is not the program's main purpose. For Unity you can create 3D model/animations,