Giter Site home page Giter Site logo

unity-technologies / meshsyncdccplugins Goto Github PK

View Code? Open in Web Editor NEW
442.0 25.0 54.0 1.71 GB

DCC plugins for MeshSync in Unity. Supported tools: Maya, Maya LT, 3ds Max, Motion Builder, Modo, Blender, Metasequoia

License: Other

C++ 68.62% C 1.47% CMake 5.90% Batchfile 0.32% Python 22.07% Objective-C++ 0.01% Shell 0.24% AMPL 0.06% C# 1.31%
unity livelink maya blender 3ds-max motionbuilder metasequoia modo

meshsyncdccplugins's Introduction

demo

Latest official docs

MeshSync DCC Plugins

ReleaseBadge ReleaseBadge

MeshSync DCC Plugins

MeshSync DCC Plugins is package that contains plugin binaries of DCC tools for using MeshSync, which is another package for synchronizing meshes/models editing in DCC tools into Unity in real time. This allows devs to immediately see how things will look in-game while modelling.

Features

Maya 3ds Max MotionBuilder Blender
Polygon mesh sync ✔️ ✔️ ✔️ ✔️
Camera sync ✔️ ✔️ ✔️ ✔️
Light sync ✔️ ✔️ ✔️ ✔️
Double-sided Mesh ✔️ ✔️ ✔️ ✔️
Negative Scale 🔺 🔺 🔺 🔺
Multi UV ✔️ ✔️
Scene Cache Export ✔️ ✔️ ✔️
Non-polygon shape
Bidirectional Sync ✔️

Caveats

  • Negative Scale: partially supported on some DCC Tools.
    If all XYZ values have negative values, the mesh will sync properly, however if only one axis has a negative value, Unity will treat the mesh as though every axis has a negative value. Certain DCC tools may have Bake Transform option which can sync the mesh in this case, but it will lose any deformer information.

Supported DCC Tools

Windows Mac Linux
Maya 2018 ✔️ ✔️ ✔️
Maya 2019 ✔️ ✔️ ✔️
Maya 2020 ✔️ ✔️ ✔️
Maya 2022 ✔️ ✔️ ✔️
Maya 2023 ✔️ ✔️ ✔️
Maya LT 2019 + ✔️
3ds Max 2018 ✔️
3ds Max 2019 ✔️
3ds Max 2020 ✔️
3ds Max 2021 ✔️
3ds Max 2022 ✔️
3ds Max 2023 ✔️
MotionBuilder 2017 ✔️ ✔️
MotionBuilder 2018 ✔️ ✔️
MotionBuilder 2019 ✔️ ✔️
MotionBuilder 2020 ✔️ ✔️
Blender 2.90
Blender 2.91
Blender 2.92
Blender 2.93
Blender 3.0
Blender 3.1
Blender 3.2
Blender 3.3
Blender 3.4

Notes:

  • ✅ : Supported
  • ❌ : Impossible to support (platform unsupported by the DCC, etc)
  • empty : May be supported in the future

DCC Plugin Installation

MeshSyncPreferences

MeshSync's Preferences page provides easy installation on several DCC tools.
Alternatively, Manual Installation is also available.

Usage in DCC Tools

  1. Maya
  2. 3ds Max
  3. MotionBuilder
  4. Blender

Building

License

Auto-generated on Mon Jun 12 07:39:34 UTC 2023

meshsyncdccplugins's People

Contributors

agicpp avatar github-actions[bot] avatar kant avatar schinkowski avatar sindharta avatar sindharta-tanuwijaya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

meshsyncdccplugins's Issues

Can't find poco - building plugin for Maya 2022

Hi,

I'm trying to build MeshSyncDCC plugin for Maya 2022 on windows but i'm blocked at this command line :

make_meshsync_dcc_plugin.bat MeshSync-0.9.0-preview -DBUILD_MAYA_2022_PLUGIN=ON

It gives me the following message :

-- Selecting Windows SDK version 10.0.16299.0 to target Windows 10.0.19042.
-- The C compiler identification is MSVC 19.13.26128.0
-- The CXX compiler identification is MSVC 19.13.26128.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Unity Package Version: 0.9.0-preview
-- Looking for Poco install directory structure.
-- Poco: Could not find Poco install directory
Downloading MeshSync MeshSync-0.9.0-preview
-- [download 100% complete]
-- [download 0% complete]
CMake Error at Build/cmake_modules/Utilities.cmake:18 (message):
Could not download MeshSync MeshSync-0.9.0-preview !
Call Stack (most recent call first):
Build/cmake_modules/MeshSync.cmake:12 (download_and_extract)
CMakeLists.txt:78 (get_meshsync)

-- Configuring incomplete, errors occurred!

Apparently, it can't find poco, even if Poco_DIR is in my path.

If you have any idea what I might have done wrong, that would be very helpfull. I have been stuck on this for a long time.

Thanks a lot

The address line con't be modify correctly in Motionbuilder!

I want to change the IP address, but there are some weird things happening. The address cannot be typed correctly. in Motion builder 2018..
like this..
i type "192.168.2.1", but, when I' pushing the Enter Key, the address shows "192.168 ", it doesn't show the full contents that i typed.

Please~~ Help... !!!

RizomUV pipeline ??

it would be great if be able to transfer selected scene object mesh from unity to RizomUV to build primary uv or lightmapping uv :]

something like as RizomUV bridges ...

thanks a lot.

Will support blender cycles render?

Transferring issue from: unity3d-jp/MeshSync#9

Hi, i like this addon and i'm a blender user.
Current released light is only support blender render?Will support cycles default emission node light?
And will support Cycles Render Principled BSDF Node?I think it maybe easy bake to standard shader.

image

Finally,I hope support NLA.NLA is a good idea, it can make animation clip easy.
NLA like this.

image

maybe it sync like this.
image

I like this addon and Good luck!

Sync visibility state of objects?

Hi,

I am wondering if there is any plan to add support for visibility (enable/disable) state of objects. It seems like good feature to have given the lack of support for grouping or selected object sync?

(I used Blender plugin only, not sure about other DCC)

Thx in advanced.

Cant get motionbuilder 2019/2018 to work with Meshsync

Hi Unity.
Im trying out Meshsync, creating an AR application with normcore sdk and meshsync.
It works great with blender but I need it to work with Motionbuilder .

Im having issues not being able to connect motionbuilder to Unity.
Plugin is offline in motionbuilder see picture1.
The motiobuilder plugin is not showing up in unity Preferences.

Any ideas how to fix?
Meshsync1
Meshsync2

Best regards
Herman

Blender Crash on AutoSync or ManualSync

When I click on autoSync or Manual sync blender crash immediately.
The mesh sync server works, I checked with this address : http://127.0.0.1:8080/
I don't have any error in unity console.

I tried with different version:

  • MeshSync (0.7.1 or 0.6.1)
  • Blender 2.9.0 / 2.9.1 / 2.91.0
  • Unity 2019 LTS / 2020.3 LTS

I test with my current project, and also new project.
dsfgd

add 3ds Max 2022, 2023 SDK and future versions compatibility

I added 3ds Max 2022, 2023 and possible future versions compatibility to my fork of the MeshSyncDCCPlugins
i also added some filtering code to the CMakeList to only create the build folders for actually installed 3ds Max SDKs
As this is the first time i try to contribute to the upstream of a public github repo, i'm not exactly sure how and where to procede from that. I know i should create a pull request, but first i wanted to be sure that this is even a wanted contribution .

Any more head ups would be welcome .. thanks!

Blender light intensity vs Unity

Is there a reason why Blender 3.0's light intensity is mapped to 1/1000 of unit in Unity URP?

eg. Sun light with Strength 1.0 (= 1 W/m^2) is somehow mapped to 0.001 in Unity URP when light is synced.

Roadmap: DCC Tools Support

Possibly be done in the future

  • Houdini
  • Cinema 4D
  • Photoshop (texture and screen painting)

Done

  • Modo
  • VRED
  • Motion Builder
  • 3ds Max
  • Maya
  • Blender
  • xismo
  • Metasequoia

Gave up

  • ZBrush
    • no plugin API and it's software rendering (= impossible to snoop vertices)

BlenderでShapeKeyを変更してもUnityに反映されません

Transferring issue from unity3d-jp/MeshSync#112

失礼します。

動作環境 : Unity 2019.2.9f1
Blender 2.80

上記の環境ですとShapeKeyの反映が正しく行われないようです。
例)
1.Blenderで単一ボーンをつけただけの立方体を用意します。
2.適当にBase以外の ShapeKey を作って変形します。(Keyの名前をKey1とします。)
3.Unity側に MeshSync します。この際 BakeModifiers はしません。
4.Unityで Key1 の変形が正しく反映されてるのを確認します。
5.Blender側に戻り、Key1 の形状を変更してUnity側に MeshSync します。
6.Unity において変更が反映されていないのが確認できます。

Blender2.79 を使用していた時は正しく反映されていたのですが、更新してから反映されなくなりました。
こちらご調査お願いできますでしょうか?
よろしくお願いいたします。

Syncing lights spawned by Blender GN

It looks like syncing non-mesh object created by Blender Geometry nodes are not currently possible.

A possible use case is using GN to spawn a bunch of light instances, MeshSync doesn't appear to handle that as of 3.2.2

MacOS Update Needed for Blender 2.93.6 Please!

.zip files included are only up archived Blender release 2.93.4 which installs but cannot be activated?
Try to check box and get py script error no module found no module named MeshSyncClientBlender

Blender 3.0.1 shipped with 3.9.7, but Python.cmake parse it to 3.9.6

Python.cmake

# returns 
# - PYTHON_FULL_VERSION
function(get_python_full_version python_ver_no_dots)    
    if(python_ver_no_dots STREQUAL "35")
        set(PYTHON_FULL_VERSION "3.5.10" PARENT_SCOPE)
    elseif(python_ver_no_dots STREQUAL "37")
        set(PYTHON_FULL_VERSION "3.7.11" PARENT_SCOPE)
    elseif(python_ver_no_dots STREQUAL "39")
        set(PYTHON_FULL_VERSION "3.9.6" PARENT_SCOPE)
    else()
        message(FATAL_ERROR "Unsupported python version: ${python_ver_no_dots}")
    endif()
endfunction()

versions.cmake from blender 3.0.1

set(PYTHON_VERSION 3.9.7)
set(PYTHON_SHORT_VERSION 3.9)
set(PYTHON_SHORT_VERSION_NO_DOTS 39)
set(PYTHON_URI https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tar.xz)
set(PYTHON_HASH fddb060b483bc01850a3f412eea1d954)
set(PYTHON_HASH_TYPE MD5)
set(PYTHON_FILE Python-${PYTHON_VERSION}.tar.xz)

Blender Plugin doesn't seem to work

Hi, I tried to install the Blender plugin of MeshSync on version 2.81 and 2.82a and it doesn't work I guess. Should I see the object at least in the browser under 127.0.0.1:8080? Or if there's a Unity problem, browser won't display it (the object from Blender) (because Unity hosts/creates the server?)?
Andrey

About installation of Blender

Transferring from unity3d-jp/MeshSync#134

Even if 20190902.zip in MeshSync is put in Blender, it doesn't react.

When unity_mesh_sync.py among 2.8 folders of Plugin~/MeshSyncClientBlender/python/ is put in, it's transcribed in an add-on, but an error can't go out and use it.

image

image

Support for adding custom python code to run during the sync process

Hi!

More of a question. Would it be possible or is it currently possible to run custom python code during the sync process? Similarly to how the "Bake Transform" or "Apply Modifiers" works, but with custom python. I'm trying to convert attributes created within a geometry node to a UV set so that the generated mesh can be properly used in Unity.

Plugin .zip downloads removed???

Hi.
In your docmentation for setting up MeshSync for Maya, you link to the releases section to download the Maya plugin.
I dont see DCC plugins downloadable in the releases section.

This suprises me because I thought I had downloaded the Maya plugin from here belore???
Please help.

Roadmap: Blender

  • fix visibility handling
  • fix parent handling
  • add 'bake transform' option
  • fix auto sync
  • improve detecting updated objects (bpy.app.handlers.depsgraph_update_post)
  • use render meshes (Subdivision modifier has both render/viewport iterations)
  • fix bone handling (can reproduce by tree_creature.blend )
  • handle textures
  • materials
  • multiple uv support (unity3d-jp/MeshSync#92).
    Example:
    Blender UV0 = DetailMapUV's = Unity UV0
    Blender UV1 = LightMapUV's =Unity UV1
  • send preview mesh when editing
  • greasepen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.