-
Notifications
You must be signed in to change notification settings - Fork 82
Integration with Godot Engine #5
Comments
Blender itself has tons of import / export addons shipped with it by default that py or a button click can call. using the BPY api + a little time I am sure you can set something up that is one click to export and run a project like UPBGE. basically everything you need already exists within blender I believe, you just need a little addon to call all the pieces that is calibrated correctly for that export pipe* gltf format, etc. |
I don't understand.
I was referring to this protocol. |
As far as I know Unity has horrific support for glTF2. FBX support is painful to implement and Blender doesn't support the full format. Not sure how this is done. |
fire - you can use blender in VR -> create your assets in VR -> export them in any format to godot -> open them in godots VR tools / engine you need to wrap this process - Blender is not near ready yet for all this yet though they are still at the 'scene inspection stage' - https://developer.blender.org/T68998 |
You are not answering the question. This is a issue for the mixer protocol. I can do your process in any possible way. The question is for mixer's protocol which was noted to exist. No. I don't care about the blender VR process. Exporting the blender plugin as gltf2 will run into the slow export bug in glTF2. It will take several minutes as noted in KhronosGroup/glTF-Blender-IO#1120 and may use up to several gigabytes of ram. I'm expecting some sort of walk-through of the mixer protocol in tcp/ip and maybe some insight in Ubisoft's Unity VRtist app. |
Hi, thanks for your interest and for your idea ! Indeed an integration of Godot could be great (Maya too as mentionned in your other issue, but personally I prefer open source technologies haha). We started reflections about how we can cleanly mix different client types. For now we only have Blender and VRtist, our internal VR app, and the architecture and the protocol has evolved according to our needs. If you want to explore by yourself how to connect Godot to a Mixer session, feel free to fork Mixer and experiment things. If you want more details abour the protocol, you can read https://github.com/ubisoft/mixer/blob/master/doc/protocol.md. For the source code, you can focus on these files for client-server interactions:
|
This response is excellent. Did you document the way bpy.types.Mesh is serialized? I am trying to understand how one node's mesh is sent game engine. I was wondering if I need to decode the mesh format into one the Godot Game engine understands. I would also like to support animations. |
No we have no documentation for this part right now, but most of the code for meshes sync is in https://github.com/ubisoft/mixer/blob/master/mixer/blender_client/mesh.py Right now we send two meshes for each Blender mesh (with options to disable one or the other, for dev purpose): one triangulated and one "original". The triangulated is for consumption by VRtist, and I guess Godot might want one triangulated too. The other one is for Blender and also encodes Blender related data such as vertex weights, bevels, vertex groups, etc... In the future the code for the triangulated one will probably be moved to a VRtist plugin, and the "original" one handling will be replaced by mechanics of our generic sync system (https://github.com/ubisoft/mixer/tree/master/mixer/blender_data). That is to say that right now you can use this code to experiment and test the system, but it will evolve a lot in the next weeks/months so you should expect required changes in your code too. |
Hi, I was prototyping a python based version of the Mixer client in Godot Python. https://github.com/touilleMan/godot-python Uploading Mixer Project.zip…
The above is the extracted client, but I was hoping to see if the https://github.com/ubisoft/mixer/tree/master/mixer/broadcaster directory aka the protocol is more permissively licensed. This would really help. This is currently missing the send scene "content" part of the protocol. So it hangs. Here's a screenshot. See #6 |
As mentioned in #6, closing this issue in favor of https://gitlab.com/ubisoft-animation-studio/mixer/-/issues/8. |
I have a task to write design for integrating Mixer with Godot Engine. |
Status update: waiting on Blender to be workable on LTS Blender 2.93. |
Fix object transform reset when edit mode selected Closes #5 See merge request motion-pictures/blender/dccsync!5
Researching mixer and saw that there was support for baking art so it be used in VR and Unity.
Aside from the fact Godot Engine is MIT license and incompatible with GPL2 (from the game developer perspective), it should be possible to do the same.
Any suggestions?
The text was updated successfully, but these errors were encountered: