menithal / blender-metaverse-addon Goto Github PK
View Code? Open in Web Editor NEWBlender toolset for creating content for Metaverses like High Fidelity
License: GNU General Public License v3.0
Blender toolset for creating content for Metaverses like High Fidelity
License: GNU General Public License v3.0
Traceback (most recent call last):
File "C:\Users\benbr\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\metaverse_tools\files\hifi_json\operator.py", line 187, in execute
return load_file(self, context, **keywords)
File "C:\Users\benbr\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\metaverse_tools\files\hifi_json\loader.py", line 39, in load_file
scene = HifiScene(data, uv_sphere, join_children, merge_distance, delete_interior_faces, use_boolean_operation)
File "C:\Users\benbr\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\metaverse_tools\hifi_world\scene.py", line 58, in init
hifi_entity = HifiObject(entity, self)
File "C:\Users\benbr\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\metaverse_tools\hifi_world\scene.py", line 177, in init
(color['red'], color['green'], color['blue']))
File "C:\Users\benbr\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\metaverse_tools\hifi_world\scene.py", line 121, in append_material
mat.diffuse_color = tuple(c/255 for c in color)
ValueError: bpy_struct: item.attr = val: sequences of dimension 0 should contain 4 items, not 3
location: :-1
When converting an MMD armature to HiFi, the plugins finishes most of the work but throws an error:
Python: Traceback (most recent call last):
File "/home/motofckr9k/.config/blender/2.91/scripts/addons/metaverse_tools/ui/modules/hifi.py", line 105, in execute
mmd.convert_mmd_avatar_hifi()
File "/home/motofckr9k/.config/blender/2.91/scripts/addons/metaverse_tools/utils/bones/mmd.py", line 469, in convert_mmd_avatar_hifi
convert_bones(Translator, obj)
File "/home/motofckr9k/.config/blender/2.91/scripts/addons/metaverse_tools/utils/bones/mmd.py", line 316, in convert_bones
clean_up_bones(obj)
File "/home/motofckr9k/.config/blender/2.91/scripts/addons/metaverse_tools/utils/bones/mmd.py", line 294, in clean_up_bones
spine.select_set(state=True)
AttributeError: 'EditBone' object has no attribute 'select_set'
location: <unknown location>:-1
The default gltf shader and export works fine for individual objects, however if the metaverse scene export included gltf or glb this would would be extremely helpful for preserving transforms.
I have a model I'm preparing to turn into a HiFi avatar. The hair joints are named 'hair 0', 'hair 1', 'hair 2', etc. However, selecting them and clicking 'set bone physical' renames them to 'sim0', 'sim1', etc. It would appear the addon is truncating spaced bone names and assigning them a number instead. This is not only vague, but problematic, because if I want to set bone physical to other bones with similar names, I'll get 'sim1.001', 'sim2.001', etc.
My recommendation is to strip spaces and/or use regex for this, perhaps.
Blender fbx seems to hava an issue corrrectly locating textures
If you use File External data-make all paths absolute before exporting the Fbx
it corrects the links and then assigns the textures correctly
Extra feature for the fix everything button?
Traceback (most recent call last):
File "C:\Users\OrangeTwo\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\Blender-Hifi-Addon-master\hifi_json_writer.py", line 409, in execute
bpy.ops.object.select_all(action = 'DESELECT')
File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\modules\bpy\ops.py", line 189, in __call__
ret = op_call(self.idname_py(), None, kw)
RuntimeError: Operator bpy.ops.object.select_all.poll() failed, context is incorrect
location: <unknown location>:-1
Attempting to export a simple blender shape
It should be +90 not -90
Using version 0.4.5 - exporting a test avatar.
Modules Installed from 'C:\\Users\\OrangeTwo\\Downloads\\Blender-Hifi-Addon-master(3).zip' into 'C:\\Users\\OrangeTwo\\AppData\\Roaming\\Blender Foundation\\Blender\\2.78\\scripts\\addons' ()
Traceback (most recent call last):
File "C:\Users\OrangeTwo\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\Blender-Hifi-Addon-master\hifi_json_writer.py", line 399, in execute
if self.clone_scene:
Exception: You must Use ATP or Set the Marketplace / base URL to make sure that the content can be reached after you upload it. ATP currently not supported
location: <unknown location>:-1
Traceback (most recent call last):
File "C:\Users\OrangeTwo\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\Blender-Hifi-Addon-master\hifi_json_writer.py", line 399, in execute
if self.clone_scene:
Exception: You must Use ATP or Set the Marketplace / base URL to make sure that the content can be reached after you upload it. ATP currently not supported
location: <unknown location>:-1
Opacity and Emission value does not apply When using hifi fbx export.
Using maps work but not values, maybe they are being clamped to default?
For opacity at least, I suggest not not forcing value to default, even when a map is supplied because in some situations, like using blended alpha, “hifi” requires the opacity to be <1 for it to work. Maybe make the value override an option like color space correction is now.
XNALara is a popular format, most noticeably on DeviantArt. It's not as popular as MMD, but it's still in wide use. There exists a Blender import add-on for files, so I'm wondering if Hifi tools can specialise the import?
Existing import addon is at https://www.deviantart.com/johnzero7/ plus the guy has some XPS models favorited.
on "hifi FBX" export the albedo /Base Color value defaults to white (1,1,1) even if there is no albedo texture plugged in. I know this is part of the effort to prevent accidental tinting but is should really only do this if a texture is plugged in.
Personally, I would like for this to be an optional feature because I ability to tint a texture this way quite useful.
plugin V1.5.5
Blender 2.80
hifi 0.86.0
Traceback (most recent call last):
File "/home/source/.config/blender/2.79/scripts/addons/hifi_tools/utils/custom.py", line 397, in execute
return rename_bones_and_fix_most_things(self, context)
File "/home/source/.config/blender/2.79/scripts/addons/hifi_tools/utils/custom.py", line 195, in rename_bones_and_fix_most_things
bpy.ops.wm.console_toggle()
File "/home/source/Blender/blender-2.79b-linux-glibc219-x86_64/2.79/scripts/modules/bpy/ops.py", line 189, in call
ret = op_call(self.idname_py(), None, kw)
AttributeError: Calling operator "bpy.ops.wm.console_toggle" error, could not be found
location: :-1
Light colors when exported are near black
If the objects you are trying to export aren't in the same collection, export fails.
after upgrading to current stable (2.81a) hifi FBX export no longer works for me.
Traceback (most recent call last):
File "C:\Users\Silverfish\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\hifi_tools\ext\modified_fbx_tools\__init__.py", line 360, in execute
return mod_export_fbx_bin.save(self, context, **keywords)
File "C:\Users\Silverfish\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\hifi_tools\ext\modified_fbx_tools\mod_export_fbx_bin.py", line 1041, in save
ret = save_single(operator, context.scene, depsgraph, filepath, **kwargs_mod)
File "C:\Users\Silverfish\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\hifi_tools\ext\modified_fbx_tools\mod_export_fbx_bin.py", line 953, in save_single
False, media_settings, use_custom_props,
TypeError: __new__() missing 1 required positional argument: 'use_custom_props'
location: <unknown location>:-1
Version 2.0
When exporting a metaverse scene, the json adds extra info to [name].fbx. However the actual exported fbx does not contain this extra info, so the json needs to be manually altered to match the fbx models every time. In the example here, the json name "MetaTest" gets added to the existing .fbx name in the json.
Json output= MetaTestCube.fbx
Actual fbx output = Cube.fbx
Recommend leaving the actual fbx output the same, and just remove the extra info from the json.
Found in version 2.0.0
If child objects have orientation other than 0, child object will rotate when exporting to HF json.
I tend to bring domains in in stages while still intended to preserve object translations. Right now I have to menually edit the json every time, which would be resolved with this addition.
Sorry to say that the import/export system changed again in Blender 1.82 (release) so the HIFI fbx export broke, the options part is missing from the dialog (like path mode etc.).
Clicking export just throws a ton of exceptions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.