Print at Dec 24, 2025, 8:06:37 AM
Posted by Maurosh at Nov 18, 2010, 4:13:08 PM
OBJ Problem
Hi everybody,

I'm using this nice program to create the layout of my new home and I would like to export my project in OBJ file and run a render with dedicated programs. My problem is that when I try to export the OBJ file, most of the items present in the project are not included in the new file.

Thank you for your help!

Posted by hansmex at Nov 18, 2010, 4:19:46 PM
Re: OBJ Problem
Maurosh,

Before exporting your design, make sure that no items are invisible!
If that doesn't help, maybe you can share your file, so we can have a look.

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by Maurosh at Nov 18, 2010, 4:32:06 PM
Re: OBJ Problem
Thank you for your suggestion. I will try soon your trick since I'm sure i have invisible objects.
Unfortunately, I cannot share the file due to its big size. By the way: can be even a problem of file size?

Posted by Maurosh at Nov 18, 2010, 4:47:32 PM
Re: OBJ Problem
No. It doesn't work.
Just the walls and few random items are visible when I open the OBJ file with another program...

Posted by hansmex at Nov 18, 2010, 4:48:29 PM
Re: OBJ Problem
Maurosh,

There has been a similar incident, I believe.
Start reading here , to see how strange a wall with texture can behave.

Known causes of problems are:
- too large textures (over 1024x1024 pixels)
- too large files
- certain DAE/Collada files, especially low-poly models
- too many textures
- not enough memory

At www.mediafire.com you can upload large files. Downloading is not a problem.

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by Maurosh at Nov 18, 2010, 5:05:28 PM
Re: OBJ Problem
Hansmex,

Thank you for your prompt answers.

I uploaded the file at:
http://www.mediafire.com/?xgcvekedb6kb6r1

Posted by hansmex at Nov 18, 2010, 5:28:38 PM
Re: OBJ Problem
Maurosh,

After downloading your file, I had a quick look at it, and did a test-render in v3.0 and v2.6. I can't see any problems.

When inspecting the sh3d-file, I noticed that the granite texture (item #89) is 1600x1200 pixels. You might consider making it smaller, e.g. 800x600 pixels. This would make rendering more reliable and faster without affecting the result.

Also, your walls are semi-transparent, maybe this causes strange effects when exporting.

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by Maurosh at Nov 18, 2010, 5:43:04 PM
Re: OBJ Problem
Thanks Hans, but the problem seems to be different.
I tried to export the OBJ file without granite texture and with solid walls but the result is the same.
I have just the wals and sofa in the obj file.

Regarding the internal rendering I have instead no problems.

Posted by hansmex at Nov 18, 2010, 5:55:43 PM
Re: OBJ Problem
Maurosh,

Indeed, this is strange. I'll investigate and let you know, but this may take longer than just a few minutes smile

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by hansmex at Nov 18, 2010, 6:10:18 PM
Re: OBJ Problem
Maurosh,

Here's the solution, but it's not a quick one.

Delete one of your models, export the rest, and re-import it.
Keep doing this until it works okay.

Start with the large, black roomdivider, and you will get more furniture in your exported file, but not everything.

Keep trying until you find the next culprit. My guess is, they will be DAE models you found in Google Warehouse.

Happy hunting!


Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by Maurosh at Nov 18, 2010, 6:11:13 PM
Re: OBJ Problem
Hans,

I really thank you for your effort.
I'll wait for your analisys...

Mauro

Posted by hansmex at Nov 18, 2010, 6:14:33 PM
Re: OBJ Problem
Maurosh,

Ready already...

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by Maurosh at Nov 18, 2010, 6:29:42 PM
Re: OBJ Problem
Hans,

I already started this procedure thinking about the huge size of the file...
I'll keep deleting the models until it will work properly.
I'll let you know (in three months I think... :) )

Thanks again

Mauro

Posted by Puybaret at Nov 18, 2010, 6:30:32 PM
Re: OBJ Problem
Mauro, Hans,
Exporting the file uploaded by Mauro doesn't work because of a bug in OBJ Export program.
I'm going to try to fix it before the release of version 3.0.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by hansmex at Nov 18, 2010, 6:35:28 PM
Re: OBJ Problem
AAaahhh... the master speaks.
Now we be silent! laughing
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by Maurosh at Nov 18, 2010, 6:48:03 PM
Re: OBJ Problem
Goooood news! biggrin

Even if just deleting the black shelving, half of my objects appeared again in the obj file!!!

Thanks a lot

Mauro

Posted by Puybaret at Nov 20, 2010, 12:11:50 AM
Re: OBJ Problem
Mauro ,
I fixed this bug in the version 3.0 beta 18 of Sweet Home 3D. Thank you for reporting it. smile
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by hansmex at Nov 20, 2010, 12:25:24 AM
Re: OBJ Problem
Emmanuel,

The Export to OBJ now works fine, as you of course knew already.

Would it be possible to not only export the file, but at the same time compress and package it as a zip-file? It would be easier to handle than the long list of "parts" that is now produced.

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by Maurosh at Nov 22, 2010, 11:03:42 AM
Re: OBJ Problem
Hans, Emmanuel

Thank you so much for your help and quick answers.

Mauro