Alembic/Arnold Standin glitches during command-line export on Linux...

 
 
 
Posted by:patrickvp
Data created:7 October 2018

Hello, I mentioned this in another thread, but here is a dedicated thread with more details and a quick sample scene.

We recently finished a large project using Ornatrix, and while it worked very well, we did have this consistent problem with caching out hair that used certain modifiers.  The main ones I know of were Mesh-From-Strips, and EditGuides (combing).  What would typically happen is the hair would be created in Maya 2018.3 on Windows 10 and the hair would appear fine when the scene is reloaded.

However, we would typically run a Maya batch process on our renderfarm that would handle exporting the hair shapes as Arnold standins that could be used at rendertime.  There appears to be an issue with exporting these hair shapes on Linux where the hair would not export with the correct styling.  In the case of using a Mesh-From-Guides node, the hair would not be rotated along the correct length of the mesh strips.  In the case of using an Edit Guides node for combing, it seemed like it would completely lose the combing information, but it retained the styling from all the other nodes in the stack (clumping, curling, etc).

I just created a simple scene with two objects to illustrate both of these issues.  I have a simple MEL script that can be run in batch mode that will handle exporting these hair shapes both as an Arnold Standin AND as a generic Alembic file (it appears to export incorrectly in both cases).  Interestingly, if I run this script in batch mode on Windows, it looks like it exports the hair shapes correctly, but if I run it on Linux the hair shapes are incorrect.

Incorrect Hair Export Sample

 

Here you can see how the hair from the Mesh-From-Strands seems to be rotated 90 degrees away from how it should be.  Also the combed hair from the Edit Guides exported mostly correct, but with a few hairs that seem to ignore the groom.

I'm attaching this sample scene along with the MEL script that handles exporting the hairs as both standins and as alembic files.

 


Attached Files:

>ornatrix_cache_test.ma (840801 bytes), >ornatrix_cache_test.mel (1097 bytes),