I have a workflow that creates 3D scenes and exports them to glTF, FBX and OBJ. The glTF and FBX work fine (the trees, buildings and terrain are seperated objects that I can individually selected in a software like Blender). The OBJ writer merges all the meshes together, so selecting individual objects is impossible. Even when simply reading a FBX file, with 472 seperate features, and exporting to OBJ without any transformation, the OBJ writer merges everything together. I tried all the parameters in the OBJ writer but nothing seems to work to get seperate objects. Does any one know what I should do ?
So one thing which you can try is to set a separate appearance on the features - This is not ideal but will at least separate the meshes somewhat in the output OBJ file.
Here I'm creating empty appearances where each one has a different name. The output is attached
I'm not sure how blender will treat this, however, in FME you can see that it's treated as an aggregate of 2 meshes rather than a single mesh.
Here FME is treating each material reference as a separate mesh. If you take a look here at the documentation you can see mention of a few geometry traits, including the obj_material_ref which is in the seen in the screenshot.
Indeed the doc mentions other format specific attributes (like "obj_group"), however, in my experimentation I have not be able to get the obj to output more than once mesh without this appearance hack - most likely only the reader supports these features of OBJ
This would actually be a nice improvement on the obj writer. I will create an idea and post the link here for you to vote on.
So one thing which you can try is to set a separate appearance on the features - This is not ideal but will at least separate the meshes somewhat in the output OBJ file.
Here I'm creating empty appearances where each one has a different name. The output is attached
I'm not sure how blender will treat this, however, in FME you can see that it's treated as an aggregate of 2 meshes rather than a single mesh.
Here FME is treating each material reference as a separate mesh. If you take a look here at the documentation you can see mention of a few geometry traits, including the obj_material_ref which is in the seen in the screenshot.
Indeed the doc mentions other format specific attributes (like "obj_group"), however, in my experimentation I have not be able to get the obj to output more than once mesh without this appearance hack - most likely only the reader supports these features of OBJ
This would actually be a nice improvement on the obj writer. I will create an idea and post the link here for you to vote on.
Here's the idea: https://community.safe.com/s/bridea/a0rDm000002CzgnIAC/obj-writer-support-creating-groups
Thank you for answering sir and also for the link.
Thank you for answering sir and also for the link. I was at a point where I had so many assignments piling up on my desk that I needed help. A friend of mine recommended me to get a paper writing service from this https://www.topessaywriting.org/apa-paper-writing-service APA and I am so glad I did. My experience has been nothing short of amazing! The essays I have written have not only been well-researched and stand out from the rest, but they also come with a free plagiarism report. Best of all, they are always willing to review your paper until you are 100% happy with it. No more late deadlines for me! Highly recommend.