Notes
Source:
Process
- Houdini
- Use Mocap model from Houdini
- Material is located in the Mocap HDA under Extra Files tab. Save material to folder. Source:
- Export T-pose in OBJ format
- In another stream, Poly Reduce geo (<500 polygons) for use as the low-poly geo in Revit.
- Export this low-poly to OBJ format separately.
- Also, export a view of the rendered model for use as the Enscape asset thumbnail. Required to be 256x256.
- Mixamo
- Upload to Mixamo
- Use Esquiva 2 pose, frames 21 to 22
- Export FBX
- Houdini
- Import FBX.
- Modify pose as necessary using rig in FBX.
- Set up new geo object with mesh only. It should still have the correct UVs for use with original material.
- Use Time Shift SOP to lock the specific frame of animation that is needed.
- Add principled shader to MatNet. Principled shader required for glTF.
- Export FBX with material.
- Blender
- Import FBX, which includes material. Go to Shading tab to see model with material.
- Export to glTF 2.0 using the following settings:
- Format: glTF Separate
- Include: Selected Objects
- Asset Generator (Source: Link above)
- Collect output glTF and texture/s from Blender, low-poly OBJ from Houdini, and thumbnail image.
- Follow instructions in link noted above.
- Save JSON file and Data folder with glTF, bin, and texture/s
- Windows Explorer
- Show hidden files in Windows Explorer to access Enscape.config in user/AppData folder.
- Add folder structure:
- Asset Library > AssetName > Output
- Add JSON file and Data folder from Asset Generator
- Revit/Enscape
- Set path to custom Asset Library in Settings.
- Family should show up in Enscape as shown below.
Tests
I performed several tests to get the geo from Houdini to Enscape. The discrepancy appears to be the formatting of the glTF file being exported from Houdini. The same applies to processing the geo through FME and outpuing a glTF file. Neither of these versions showed up correctly in Enscape. The link to the texture in the glTF file had something to do with it. The model showed up in Enscape when there was no texture applied to the model, but did not show up when the texture was applied to it. However, Blender's output of the glTF, which was glTF version 2.0 worked correctly. Further investigation shows that Houdini and FME appear to be exporting glTF 1.0 or some variation of it that creates a discrepancy with the assigned texture.
FME Test
FBX file from Houdini exported to FME's glTF. All default settings.
Note the log's reference to the version of glTF being output.