Netherlands
Joined: Apr 8, 2022
Post Count: 1355
Status:
Offline
Re: How to use 3D models with several items?
That is the one main disadvantage of the models created with AI: the result is a single object with a single texture. There is little to nothing you can do to change it. You can't add deformations to open the doors and you can't change the color/texture of individual parts. But, the AI gives very accurate results and does it very fast!
I see two possible solutions you can try:
1. Edit out the handles from the initial picture with an image editor before running it through the AI. If the AI doesn't add handles your problem is solved. You can run a gold handle through the AI and then add the resulting object to the the generated cabinet object for each missing handle. Export them together and import again to get a single cabinet object with your gold handles.
2. Generate the cabinet picture as is and remove the handles with Blender. You only have to flatten a few faces to remove the most of the original handles. Then add the AI generated gold handles. The gold handles should display over the texture part of the original handles. You can also try this option if the AI insists on generating a cabinet with handles.
Your best hope is option 1. With option 2 there is a possibility that the cabinet texture distorts a little where you removed the original handles.
---------------------------------------- Dodecagon.nl 1000+ 3D models, manuals, and projects
Russia
Joined: Aug 13, 2022
Post Count: 568
Status:
Offline
Re: How to use 3D models with several items?
Hi! I want to say that AI is not an ideal tool at all today. He is also often naughty and does not want to do high-quality work. For example, my closet turned out to be completely uneven, shelves with a bend, one glass sash with a tilt and opaque. You can't idealize a stupid car here. It's better to do everything yourself. Everything that consists of rectangular elements can be made independently in SH3D. This closet, too. First you need to study the drawing of this cabinet. And make all the details from the boxes, according to the dimensions of the drawing. It will take some time, but in the end you will get a magnificent wardrobe without flaws. I made the glass out of a box and then exported it in OBJ format. In the MTL file, I added D 0.2 to all 6 groups, saved this file, and returned the modified model back to SH3D. Glued the glass to the door. I managed to make a pen with Trellis on the second attempt, the first attempt was completely unsuccessful and the AI gave me a shell of three bowls. It is necessary to treat his failures philosophically. So far, it's a stupid machine that often makes mistakes. You need to repeat it and you will get the desired result. It won't be long before this stupid car becomes a terrible unmistakable monster. There's still time to smile. And do everything yourself as soon as possible. Learn and gain mastery without AI.
Keet, but there is a problem. If you add a pen made by AI to the model from the boxes and export-import it back, then SH3D refuses to return it as a model (although it is an OBJ). Can't read this format. I couldn't figure out what the problem was. That's what Captaincook was talking about.
Netherlands
Joined: Apr 8, 2022
Post Count: 1355
Status:
Offline
Re: How to use 3D models with several items?
Keet, but there is a problem. If you add a pen made by AI to the model from the boxes and export-import it back, then SH3D refuses to return it as a model (although it is an OBJ). Can't read this format. I couldn't figure out what the problem was. That's what Captaincook was talking about.
That's strange. Can you upload an example so that I can examine the obj file? If I can find what the problem is it might be possible to fix other files too.
---------------------------------------- Dodecagon.nl 1000+ 3D models, manuals, and projects
Russia
Joined: Aug 13, 2022
Post Count: 568
Status:
Offline
Re: How to use 3D models with several items?
I couldn't bring this OBJ model back to SH3D. Earlier, I uploaded the entire SH3D file. There's this pen in DAE format that I made through AI. And all these AIDA E models (and all the others, I've tried) can't be returned back through export-import. When exporting, everything is listed as OBJ. He doesn't come back.
Netherlands
Joined: Apr 8, 2022
Post Count: 1355
Status:
Offline
Re: How to use 3D models with several items?
Your model didn't include the mtl file but I think I found part of the problem even before you uploaded this model.
In the mtl file "newmtl" for the knob doesn't have a material name. Change "newmtl " to "newmtl Knob". Of course the same problem is in the obj file (g 152). The usemtl line for the knob is "usemtl ". Change that to "usemtl Knob".
That still doesn't solve the problem. Blender can import the model without problem and an export from Blender can be imported in Sweet Home 3D.
But that's not what we want. Export the knob from Sweet Home 3D. Change the scale of the texture to 256 because the 1024 resolution is rediculous for a small knob. You will not see the difference but it decreases the overal object size tremendously. Import the knob and use that for the cabinet. Now you can export the parts and import a complete cabinet.
Apparently you have to first export/import the AI model before you can use it as a part in Sweet Home 3D. So far I didn't find what the problem is in the obj file, aside from the missing material name. Blender doesn't have a problem with it so it might be a problem in the obj importer of Sweet Home 3D.
---------------------------------------- Dodecagon.nl 1000+ 3D models, manuals, and projects
----------------------------------------
[Edit 1 times,
last edit by Keet at Mar 28, 2025, 12:12:20 PM]
Netherlands
Joined: Apr 8, 2022
Post Count: 1355
Status:
Offline
Re: How to use 3D models with several items?
The DAE file indeed can't be imported. Unfortunately my Blender can't import DAE files so I can't check if that works. So how did you get the obj/mtl file for the knob? Online converter DAE>OBJ? The knob in the project file still caused problems but after export/import of only the knob everything worked.
---------------------------------------- Dodecagon.nl 1000+ 3D models, manuals, and projects
Russia
Joined: Aug 13, 2022
Post Count: 568
Status:
Offline
Re: How to use 3D models with several items?
I'll tell you everything in order. First, I created a pen model based on a photo in GDB format, then converted it to DAE format. If I converted to OBJ format right away, then I had problems with the original single texture that was in GLB. This ZIP with DAE inside opens perfectly in SH3D, you just need to move the gloss slider a little bit in the texture setting, just a little bit, the texture immediately appears. Now, if I export this model from the SH3D scene as an OBJ, then this OBJ model and MTL appear on my computer. But she can't go back, SH3D won't let her in, refuses. I thought the reason might be DAE, but I couldn't convert GRB to OBJ, they were all the same color. So I settled on DAE.
Netherlands
Joined: Apr 8, 2022
Post Count: 1355
Status:
Offline
Re: How to use 3D models with several items?
My Sweet Home 3D refuses to import the zip with the DAE. But if you could import it then export it as obj and import it again. Only that single model. That should work. And that re-imported model should be fine to do the rest because it is now a "Sweet Home 3D obj".
---------------------------------------- Dodecagon.nl 1000+ 3D models, manuals, and projects
Russia
Joined: Aug 13, 2022
Post Count: 568
Status:
Offline
Re: How to use 3D models with several items?
Something's not right here.. Let's simplify the task. I have created a new SH3D file, in it my ZIP (inside DAE) opens. I can export this furniture pen as an OBJ. Now the computer has both OBJ and MTL. But I can't bring it back as a new model. Now I don't understand - why can I open my ZIP with DAE, but you can't? This is not the first time I've read this, that my SH3D file opens, everything is visible there, but the ZIP itself is not read separately. But why does everything open for me? Riddle..