Pretty new to ornatrix , is there a button to convert hair to mesh anywhere ? |
| nevermind , select the starting mesh and run this script: duplicate -rr; string $y_hair[] = `ls -sl`; pickWalk -d down; pickWalk -d right; string $ex_hair[] = `ls -sl`; pickWalk -d down; pickWalk -d right; select -add $y_hair[0] ; parent -r -s; select $y_hair[0]; DeleteHistory; //Remove stuff pickWalk -d down; select -add $ex_hair[0]; doDelete; //change shader select -add $y_hair[0]; sets -e -forceElement initialShadingGroup; |
| MeshFromStrands already produces a native Maya shape which you can use as is. You can just remove its history if needed. Marsel Khadiyev (Software Developer, EPHERE Inc.) |
| tried duplicating and removing history , but it still keeps something that FBX maya export doesn't like (obj works fine) |
| To avoid this warning delete the EditGuides shape that is copied along with the mesh shape (You can see it there in the operator stack). Find it in the outliner and remove it. Jeordanis Figuereo (Product Designer. EPHERE Inc.) |
| Hi Marsel and Jeordanis, I am trying to convert an Ornatrix stack to simple geometry, you say that MeshFromStrands produces a native Maya shape, however it does not include any ChangeWidth nodes in the stack. This makes the output geometry useless. I only need an OBJ of my hairs, how is this possible? |
| If you just want an OBJ just add MeshFromStrands and export the generated mesh shape selecting it in the stack. If you want to use ChangeWidth just add it below MeshFromStrands. If you add it on top of MeshFromStrands is not going to work because at that point the hair is not an Ornatrix hair object anymore, is a Maya mesh shape. Jeordanis Figuereo (Product Designer. EPHERE Inc.) |
| There is a special "Delete History" option in the right-click menu on the top shape in the Ornatrix Operators Stack panel, which does a more correct job of removing the operator history and leaving just the final mesh object (this option is only available when the top shape is a mesh, not hair, i.e. when MeshFromStrands is just below it in the stack). I just tried and it worked, given that ChangeWidth is *below* MeshFromStrands and not above it, the mesh with deleted history has proper strand widths. Ivan Kolev (Software Developer, EPHERE Inc.) E-mail: ivan.kolev at ephere dot com Discord: ikolev |
| Is it possible to extract a mesh, when using MeshFromStrands when using the trial version? We want to access whether this is a viable option before purchasing. |
| Yes. The trial doesn't have any limitations. Jeordanis Figuereo (Product Designer. EPHERE Inc.) |