![]() |
Export objects as meshes by Material ID - Printable Version +- tyFlow Forum (https://forum.tyflow.com) +-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html) +--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html) +--- Thread: Export objects as meshes by Material ID (/thread-4675.html) |
Export objects as meshes by Material ID - kamedonski - 02-11-2025 Hello, I have particles generated by shape referenced from scene. Shape in scene has two material IDs. How to export particles into meshes separated by Material ID (every particle into 2 meshes)? Thanks in advance! RE: Export objects as meshes by Material ID - d4rk3lf - 02-13-2025 What if you brake your shape to 2 elements (before you import it in TyFlow) by Mat ID (and you can do it via volume select, or TySelect operator)? Then attach these 2 elements to a single mesh. Finally, before exporting, if you add operator element detach... it should came out just as you except. There is many ways you can do this. RE: Export objects as meshes by Material ID - kamedonski - 02-14-2025 (02-13-2025, 01:56 AM)d4rk3lf Wrote: What if you brake your shape to 2 elements (before you import it in TyFlow) by Mat ID (and you can do it via volume select, or TySelect operator)? Thank you for your answer. My ref model is a flower, first element is stalk (mat id 1) and the rest are petals (mat id 2), but unfortunately main part with petals is already broken in many elements. My setup requires too many flowers (over 30000) for breaking by element. Filter by material ID does not work as I expected. Maybe there is another way to access subobject level. As I mentioned, breaking by polygons or elements kills my scene instantly. RE: Export objects as meshes by Material ID - d4rk3lf - 02-15-2025 You can do it like this. Make 2 objects from that flower object (stalk and petals). Make sure their pivot points are at same place (bottom of stalk). Then do the flow Like the one I attached. Finally, click on export particles operators (both of them), and it will export you separate objects as petals, and separate objects for stalks. There's probably even simpler method then this (maybe with using actors, or something... ) but this works too.. and is pretty simple.. so who cares? ![]() Attaching screen and max project. RE: Export objects as meshes by Material ID - kamedonski - 02-16-2025 (02-15-2025, 04:39 PM)d4rk3lf Wrote: You can do it like this. Thank you very much! |