Print at Dec 19, 2025, 1:18:31 AM
Posted by quickmic at Feb 24, 2011, 7:42:58 PM
sad   Big project has many problems
Hi

I have done a big project and now got many problems. Sometimes java crashes or I have to start it 2 or 3 times. "Copy as new furinture" is almost impossible and so on...
More than 1,5GB Ram is not possible to use by java, and 2 instances of java (sweet home 3d) let crash java (with 1,5GB Ram setting) at start of the second instance. Using 64bit java doasn't help.

Also I'm not ready with my project... I need several more objects, but at this point it's almost impossible to use sweet home 3d anymore.
Is there a solution existing, or should stop at this point, and try another application?

My hardware is not the problem. 6GB ram, I7 CPU , fast graphiccard.

Posted by macfrog at Feb 24, 2011, 8:59:00 PM
Re: Big project has many problems
Hi quickmic,
more important to know for us would be, what kindof project you are dealing with:
is it a quite complicated layout or are you trying to import lots of high detailed furniture?

did you tried a simple project first and did it work?

If you can't start sh3d twice - justz don't do it:-)
macfrog

Posted by quickmic at Feb 24, 2011, 9:06:06 PM
Re: Big project has many problems
I upload the complete project tomorrow. Then you can check it. Double start of the app is needed for my multilevel-project... Alternativly...Export to obejct of one level is possible, but by importing to the another level (ground floor) crashes also.

Posted by Puybaret at Feb 25, 2011, 12:25:30 AM
Re: Big project has many problems
Citing hardware is nice, but I would rather know the system you use.
Reading the FAQ might help too.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by quickmic at Feb 25, 2011, 9:23:49 AM
Re: Big project has many problems
I will check the faq...
Also I tried the project on three different computers. 2 Win7 64bit and one 64bit kubuntu. Always the same problem, I think the project is simply too big and needs more Ram than java is possible to use.

Here the link:
http://www.megaupload.com/?d=HL7KOPUY

Dach-Fläche13-aussen.sh3d
Dach-Fläche13-innen.sh3d
Dach-Gaube17-aussen.sh3d
Dach-Gaube17-innen.sh3d

these 4 files are parts of the roof


Dach-Komplett.sh3d

are the connected 4 roof-parts


Wohnung72.sh3d

is the main apartment-part


Wohnung72-Dach.sh3d

is the connected Wohnung72.sh3d with the Dach-Komplett.sh3d


'Till here it's teribble slow, but it works.
Now I need to export Wohnung72-Dach.sh3d to the Stiege1.sh3d which is the ground-level and this is not possible to do.

Posted by Puybaret at Feb 25, 2011, 11:45:51 AM
Re: Big project has many problems
I guess the problem comes from the texture images resolution of some objects you imported (for example the Receiver Sony). All these detailed images kill performances.
Maybe I should add an option in the furniture importation wizard to propose to downsize imported textures. Feel free to fill a feature request about this.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by quickmic at Feb 25, 2011, 12:20:24 PM
Re: Big project has many problems
Jep, I know that I have many detailed objects, but I want this. Maybe it is possible to reduce the details from the 3D preview, but if I render, I want almost of those details.
Next problem... as I said...I'm not ready. I plan about 30% more objects and at least than it's absolutly impossible to work with, even if I drastically remove details.

I think the main problem is java which cannot work with more than 1,5GB here. The hint in the FAQs about -Xmx2048m doasn't work.... I got an error something like ...cannot start d3d... Is this normal?

And at last.... If I think about splitting the rooms in much more parts so that the performance should be ok for work, but if I cannot compare those parts at the end of the project (to make some render pics) it makes no sense.
For now it's not only slow, it's even instabile and crashes. If it only works slow but stabil.... I can wait, but now I cannot compare my parts.

Posted by Puybaret at Feb 25, 2011, 12:39:38 PM
Re: Big project has many problems
I'm not sure that giving more memory to the program would make it run much better. Performances are much more bounded to the size and the count of displayed items than to memory usage. Nevertheless, I just tried again your file under Mac OS X on my i7 with 4 GB max allocated to the program and I didn't feel it ran so bad.
If you're under Windows, I think you can't go higher than 2 GB of memory with a 32 bits program. So try first a little less like -Xmx1900m.

You could also use the 64 bits version of the program, by installing a 64 bits version of Java on your system, then downloading Sweet Home 3D Jar executable file and running it with the following command:
java -Xmx4096m -jar path/to/SweetHome3D-3.1.jar
(for 4 GB of memory).

I would be pleased to know if it would work better.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by quickmic at Feb 25, 2011, 1:49:03 PM
Re: Big project has many problems
smile This works and is 100:1 better. With the java path and the SweetHome3D-3.1.jar the -Xmx4096m parameter is taken. Before I always tried to modify the sweetHome3D.l4j.ini with the -Xmx2048m... Like explained in FAQ....

"Under Windows, create a text file named SweetHome3D.l4j.ini in the same folder as SweetHome3D.exe, write the max memory Java option in that file, for example -Xmx2048m for 2 GB, then relaunch Sweet Home 3D."

This doasn't work... over 1,5GB an error message is displayed.

Now I can compare the project-parts and it works...
Performance is still ok on my "slow" buissness-computer and I'm nosy about the performance on my home-PC.

Posted by Puybaret at Feb 25, 2011, 2:17:30 PM
Re: Big project has many problems
Thank you for your tests. I updated the FAQ accordingly.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by 2trickpony at Mar 1, 2011, 3:17:44 PM
Re: Big project has many problems
The most amount of memory I have been able to allocate is 1.7gb.

Cheers

Stu

Posted by quickmic at Mar 9, 2011, 5:44:21 PM
Re: Big project has many problems
java -server -Xms4096m -Xmx6144m -jar "C:\Program Files (x86)\Sweet Home 3D\SweetHome3D-3.1.jar"


This works very good. Real mem-usage by my project is about 3 - 3.7 GB.

Posted by quickmic at Mar 9, 2011, 7:50:01 PM
Re: Big project has many problems
Another (performace)-problems...

First... Imported Sketchup-opaque stuff is not opaque. It's fully transparent or untransparent.

Second... The 3D preview is terrible slow on moving the camera position by mouse. If I edit the position of the camera by the camera icon, it's fast (normal). Also areal view is fast (normal).

Posted by quickmic at Mar 10, 2011, 8:01:24 AM
Re: Big project has many problems
Forgot to say...

Imported Sketchup-opaque stuff is not opaque. It's fully transparent or untransparent.


...happens only, if I render a picture. On 3D preview opaque is correct.

Posted by Puybaret at Mar 10, 2011, 10:40:22 AM
Re: Big project has many problems
Please post an URL to the page of the Google Warehouse model that caused this problem.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by quickmic at Mar 10, 2011, 11:16:01 AM
Re: Big project has many problems
Glass Table

Quality for picture-rendering must be set to "best" or one step before "best" to see the problem.

Posted by quickmic at Mar 11, 2011, 4:32:18 PM
Re: Big project has many problems
Can this problem be verfied, or is it my mistake?

Posted by Puybaret at Mar 13, 2011, 11:39:56 AM
Re: Big project has many problems
Can this problem be verfied, or is it my mistake?
It's not your mistake, it's mine. Said an other way it's a bug.
I fixed it in the beta version of the upcoming version 3.2 (it requires you install Java).
This modification in the photo rendering might change how transparent models are rendered in existing homes, but from the numerous tests I made, I'm confident the colors and the shadow of transparent models are much more accurate than in version 3.0 and 3.1.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by quickmic at Mar 13, 2011, 12:39:46 PM
Re: Big project has many problems
thx for the update. I will try it :)

Posted by quickmic at Mar 14, 2011, 7:00:08 PM
smile   Re: Big project has many problems
Hmm, I cannot manage the online version to use more than 750mb Ram, so I cannot load my complete project, but only the glass-table seems to be perfect rendered.
So I wait for the 3.2 release.

Posted by PtiNounours at Mar 21, 2011, 8:05:39 PM
Re: Big project has many problems
Hello Mr Puybaret,

Attached is a link for a test of the previous table, with texture.
http://www.mediafire.com/?3ha9riw5590jaw0

left of the photo, capture of sketchup: I put a non-transparent texture, but I apply the Sketchup intermediate degree of transparency.


The result is transparent in the 3D view, however, rendering him when sunflow is opaque.

Posted by hansmex at Mar 26, 2011, 12:34:21 PM
Re: Big project has many problems
Sebastien,

When you inspect the texture directory of your model, you will see that the image is in the JPG format. JPGs cannot be transparent. When inspecting the DAE file, you will see there are some lines where transparency is declared. My guess is that the preview generated inside SH3D can handle that trick, but the picture generated outside SH3D (Sunflow render engine) cannot handle that trick.

You might try to convert the image to GIF or PNG format and add transparency. You will then probably lose transparency in the preview, and obtain it in the rendering.

Make sure that you also change the DAE file: use a text editor to change the reference to the picture from JPG to PGN or GIF.

I played a bit with the image and was successful importing the table with PNG and GIF textures. Both show the table top transparent in the preview window, but don't render correctly with Sunflow. As I have discovered earlier, transparency works in SH3D, but it's not as straightforward as you may wish.

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

new website - under constuction
hansdirkse.info