Project has been moved to MeebitsDAO organisation https://github.com/meebitsdao/meebits-blender-utils
meebits-blender-utils's Introduction
meebits-blender-utils's People
meebits-blender-utils's Issues
VRM Export (beta) - Custom color palette not being persisted on blender re-pen
VRM Export (beta) - Set MToon shader
Add-on required
https://github.com/saturday06/VRM_Addon_for_Blender
Manual process:
https://youtu.be/H7NF_4hhlN4?t=264
Clues to Python API interfaces
https://github.com/saturday06/VRM_Addon_for_Blender/blob/ef1e21a21b0a5162e21694872eac6be470c9971d/io_scene_vrm/editor/mesh_from_bone_envelopes.py#L127
https://github.com/saturday06/VRM_Addon_for_Blender/blob/ef1e21a21b0a5162e21694872eac6be470c9971d/io_scene_vrm/editor/validation.py#L250
https://github.com/saturday06/VRM_Addon_for_Blender/blob/ef1e21a21b0a5162e21694872eac6be470c9971d/io_scene_vrm/exporter/glb_obj.py#L145
https://github.com/saturday06/VRM_Addon_for_Blender/blob/ef1e21a21b0a5162e21694872eac6be470c9971d/io_scene_vrm/importer/blend_model.py#L1249
11067 import - Mesh is not on the floor
https://discord.com/channels/841293272071929896/842452265296986134/844364941200457738
i tried the newest release with some of the meebits i had on hand and everything seems to work pretty nice. there is one meebit that gave me problems on import though. for some reason it doesnt snap to the floor (?)... this one:
Default position of 11067 is not as the other meebits.
Blue haired meebit is the default, black rimmed hat is 11067
Inject VRM metadata to .vrm file
VRM metadata specification
https://github.com/vrm-c/vrm-specification/blob/master/specification/VRMC_vrm-1.0_draft/meta.md
https://vrm.dev/en/docs/univrm/meta/univrm_meta/
No support for editing VRM metadata in saturday06/VRM_Addon_for_Blender
saturday06/VRM-Addon-for-Blender#38
But fields are put with a default value in the exported .vrm file
https://github.com/saturday06/VRM_Addon_for_Blender/blob/ef1e21a21b0a5162e21694872eac6be470c9971d/io_scene_vrm/vrm_types.py#L32
Three options:
- Enhance/fork saturday06/VRM_Addon_for_Blender to include input of metadata.
Fork is complicated and can become outdated - Separate blender step to inject VRM metadata before or after calling saturday06/VRM_Addon_for_Blender
- Separate step outside blender which does gltf2.0 editting
To me, step 3 seems easiest but relies on finding a gltf 2.0 parsing library
If not objects are in scene, translation of meebit fails
VRM Export (beta) - Trigger VRM export add-on from command line
VR add-on exporter class to call
https://github.com/saturday06/VRM_Addon_for_Blender/blob/release/io_scene_vrm/exporter/__init__.py
Useful information
https://blender.stackexchange.com/questions/78935/calling-an-addons-operator-from-python-wm-operator-invoke-invalid-operator-c
This might work
bpy.ops.object.export_scene.vrm('EXEC_DEFAULT')
Set smooth shading
ob = bpy.data.objects.get('Terrain')
for poly in ob.data.polygons:
poly.use_smooth = True
VRM Export (beta) - 001.06 - Improve geometry of mesh by deleting internal faces if possible
See manual steps which are generally very hard to replicate with code
https://youtu.be/H7NF_4hhlN4?t=85
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.