пятница, 23 августа 2013 г.

mGeo Exporter v1.0

Public release: First fully functional mGeo Exporter v1.0

mGeo Exporter v1.0

mGeo Exporter script is designed to export Polygons , NURBS, Curves and Particles with any Attribute from Maya to Houdini.

Key features
      • Utilises JSON GEO as intermediary format to convert data to BGEO format that Houdini can read natively. Using a small utility called gconvert, that is installed with Houdini.
      • Allows you to save Polygons , NURBS, Curves and Particles types all in one file.
      • Using Pivots mode you can store any DAG Object as a point with transformations (translation, orientation, scale) and any arbitrary attributes, This is especially useful for transferring large number of copied of instanced Objects.
      • Animation transfer in MDD format or sequence of BGEO files.
      • Additionally you can create and assign Objects and Points to Groups based on specific criteria. Groups will carry through and work like you expect them in Houdini.
      • Export settings are embedded in scene file as export sets

          Geometry saving options

          • Polygons
              Create primitive groups based on following criterias :
                  assigned material
                  object name
                  shape- node name
                  name of the parent node
                  layer name
              Read any attributes and record them as primitive attributes.
              Export vertex attributes : UV, Vertex Color, Vertex Normal, Edge Crease
          • Curves
              Export as NURBS curves or Poly Line
              Primitive Groups criterias :
                  object name
                  name of the parent node
                 display  layer name
          • Particles
              Transfer any attributes with particle or particle system node
              Create point- groups based on particle or emitter
          • Pivots 
              add any attribute to pivot points as point attributes
              adding attributes orient and scale, ready for use with CopySOP
              Pivot Groups criterias :
                  object name
                  shape- node name
                  name of the parent node

          Quick demo

          Video Tutorials


          1. For Maya version older than 2014 install first PyQt
          2. Decompress pw_mGeo folder to your PYTHONPATH
          3. In Script Editor (Python tab) execute following code
          import pw_mGeo

          mGeo Exporter has been tested on following platforms:
          • Maya 2013 x64 Windows 7
          • Maya 2014 x64 Windows 7
          • Maya 2014 OSX 10.9.1
          Questions, suggestions, bug reports can be written in Comments area.
          Plans for future: Improvements in area of working with Attributes.
          Add more functionality. Add support for presets etc. As long as the script is useful it will be developed and evolve. Last but not least I would like to Thank  Алексей (Somesanctus) Смоленчук, for helping me.

          7 комментариев:

          1. I'm following your routine from lesson 8 (optimization) and when it comes to export cam parameters everything goes fine till step when i'm creating a file node in houdini and point it to exported camera cache - when i middle click on the file node it says - unable to read file. I'm using houdini Maya2014x64 and hou12.5.562 - everything under win7sp1x64 - any suggestions?

          2. 1. try with simple scene
            2. send the scene to the my email, i check it

          3. Thank you, i'm gonna prepare files and send it to you - small test scenes. Anyway the thing is i've aready tried your method and it worked under hou 12.5.533 and 12.5.469 - i'm pointing mgeo to gconvert and geometry goes without any problems, but still no luck with the camera...

          4. Everything sorted out - it was about camera animation range. So please check your camera timeline - cause in my scene (in maya) camera starts from 110, and i didn't noticed it. So houdini gave me an error at frame zero and you know what happened next :) Thanks Paul for your assistance!

          5. this is wonderful!!! what is your licensing scheme?
            also would you be able to deliver support?
            also am I correct in seeing data going from Houdini back to Maya as well cause that would be stellar!

          6. Free. Not licensed.
            Support available, send me email your suggestion.