Hello, Batch Export etc

Next
 From:  DF
9880.1 
Hi all,

First post, so as is customary - I'm Dave, I'm a Tech Artist in games but I do Concept Design/Art too - I've been using Moi for about 2 years.

My work with Moi looks like this: https://www.artstation.com/artwork/288PNB

TL;DR - I'd really like to be able to batch export one FBX per Style (not Object), does such a script exist?

Motivations below.

Cheers, thanks for Moi, it's really brilliant.

Dave


My question is regarding scripting, but perhaps if I describe workflow/pipeline a bit better you can understand what I'm trying to achieve.

Stage 1. [MOI] Model my object(s) in Moi and assign a Style per material I expect to create at the Substance stage.
Stage 2. [MOI] Export FBX per material.
Stage 3. [HOUDINI] Import each mesh, UV Unwrap and Layout automatically (CPU intensive, sometimes up to 3 or 4 mins per model/
Stage 4. [HOUDINI] Offset mesh's UV's to own UDIM tile.
Stage 5. [HOUDINI] Cache UV'd Mesh so no need to re cook later.
Stage 6. [HOUDINI] Merge and Export to final model Geo.
Stage 7. [SUBSTANCE] Import Model to for Texturing, one UDIM per Texture Set,
Stage 8. [SUBSTANCE] Export Substance/Textures.
Stage 9. [HOUDINI] Import to Scene with Textures, Rendering etc.


Advantages are:

1. In Houdini working on lookdev, if I want to tweak the an element of the model I can do that by going back to Moi, tweaking it and export just the one Style as fbx.
2. I can control the tessellation on export from Moi per Part/Material. (Useful!)
3. I don't have to reload and re-process all the UV's for all components every time I make a tweak as the models are separate and I can just process and re-cache the mesh for that Material.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
9880.2 In reply to 9880.1 
Hi Dave,

re:
> TL;DR - I'd really like to be able to batch export one FBX per Style (not Object), does such a script exist?

I'm not aware of an existing script to do that precisely. What version of MoI are you using? It's a new feature in v4 to write out styles as material assignments in the .fbx file. Are those coming through into Houdini?

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  DF
9880.3 In reply to 9880.2 
Thanks Michael. I can separate the object based on material in houdini then UV and cache, yeah that works quite well. I can probably live without tesselation settings per part which was actually really useful in heavier projects but not a deal-breaker.

Thanks for your help

Dave
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All