Joined: Sep 10, 2012
Post Count: 31
Status:
Offline
RAM-Feature for Rendering - hope correct Forum ;)
Hi there, after using SH3D for long time i have still a question which was not completely answered in the FAQ - i know for sure, asked many times, for sure boring, but there is one thing i don't really understand - using more RAM for rendering. So i understand the following: more RAM up to 1 GB for WIN with the extra INI-File. How can i check if the program is using tha amount of RAM? But thats not the important thing to me for now. I have created a very large industrial area to simulate how it could be after changing walls etc. First renderings was working well but it was impossible to render the final stage with trees, people, cars etc. from diffrent viewing angles and times. i always got the red cross - to me it means at first, to less ram to render the pictures. so i switched to the faqs, and understand that i have to use the JAR-Version. no problem with that. BUT will it make sense to put the JAR into the same folder as the exe-version? And the important thing to me, maybe i'm to close to the wall -how do i handle the command for more ram then? is this a line which should added to the extra INI-file? i don't know why this is a little bit irritating to me, maybe i'm thinking to complicated.
would be fine to have some short notes like a step by tep for a dummy
----------------------------------------
WIN10 Pro 64bit * 16 GB RAM * AMD FX 6100 * Geforce GTX 660
Netherlands
Joined: Sep 26, 2009
Post Count: 4002
Status:
Offline
Re: RAM-Feature for Rendering - hope correct Forum ;)
Alexander,
Two suggestion: 1 - Read the FAQ section about -Xmx to increase memory. 2 - Delete your trees. Too many trees may cause problems in rendering. If you absolutely need trees, try using low-poly trees or 2d trees.
Hans
----------------------------------------
Hans
Joined: Sep 10, 2012
Post Count: 31
Status:
Offline
Re: RAM-Feature for Rendering - hope correct Forum ;)
Hi Hans,
jep, i read the faq and i also understand that some models could use this errors, also to much objects etc. i guess in my special construction that also too much light sources could take effekt. in an older version i discovered, that when i group lights, rendering is impossible. ungrouped it worked well.
my problem is basically that i don't really understand how to handle this command to use especially the jar version with for eg. 4gb ram. means, it is not clear to me if i have to edit the extra ini-file as for the win 1gb-solution or if i have to create a shortcut to the jar version with this commands...
and the other part of the question was, if it's a problem to put the jar also to the installation folder of the installer - just to have a proper folder structure and anything on one place.
so my idea is just to use the installer for eg. with 1gb ram for construction and the jar version with 4gb to render the high-res pictures i need...
sorry, guess this was not really written clearly
----------------------------------------
WIN10 Pro 64bit * 16 GB RAM * AMD FX 6100 * Geforce GTX 660
Spain
Joined: May 9, 2012
Post Count: 154
Status:
Offline
Re: RAM-Feature for Rendering - hope correct Forum ;)
Simply use a 64bit version of Java and then you may either: 1) write on command line 2) edit a custom shortcut or 3) put in a ".cmd" or ".bat" file
The command: java -Xmx4096m -jar path\to\SweetHome3D-4.1.jar
The folder where you have your ".jar" doesn't matter.
---------------------------------------- If a long walk every day were healthy, mailmen would be immortal.
Spain
Joined: May 9, 2012
Post Count: 154
Status:
Offline
Re: RAM-Feature for Rendering - hope correct Forum ;)
If you have both, 32bit and 64bit versions of Java installed, then better put the path to 64bit: path\to\64bit\version\java -Xmx4096m -jar path\to\SH3D\SweetHome3D-4.1.jar
For better understanding, the green part is the one to replace according to Java and SH3D locations.
---------------------------------------- If a long walk every day were healthy, mailmen would be immortal.
Joined: Sep 10, 2012
Post Count: 31
Status:
Offline
Re: RAM-Feature for Rendering - hope correct Forum ;)
Try this out today, also the 3D stero plugin - exactly a feature which i like to test ;) But before i'll just bring back my setup and give report about the steps and how it works
----------------------------------------
WIN10 Pro 64bit * 16 GB RAM * AMD FX 6100 * Geforce GTX 660
Joined: Sep 10, 2012
Post Count: 31
Status:
Offline
Re: RAM-Feature for Rendering - hope correct Forum ;)
OK! it's working as expected!
what i did: regular installation of 4.1, all plugins and furnitures i have, check the regular version - running then with the 1gb otpion - seems to be running.
but both versions wasn't able to render with quality level 3 and 4. the complete system was hanging, so just a restart was able to bring my computer back. no problem with that.
next step was putting the JAR version to the same folder as the installation. to me it seems that this has a big advantage: plugins are recognized and also the furniture seems to be recognized as for the exe version.
i created a cmd.file with the edited paths. for this, it is important to do the installation of the EXE not in the suggested folder but in a folder without empty spaces (not Sweet Home 3D but sweethome3d!) otherwise i guess, the cmd has a problem to find the jar.
anyway. to be sure that the options are running, i copied the JAR to the desktop and started form there - first rendering of the model on level 3 was possible. then i stopped, closed the jar-version, opened again, set the quality to level 4 - and it starts again to render!
i stopped again and started sh3d with the 4gb option - same success as before! actually the system is rendering a view of a 50MB file in best quality at 9:00 morning with a size of 800 x 624 pixels, 3d view is in external window on a second monitor.
i guess i'll spent some money to extend my ram to 16 gb, give the jar an amount of 8 gb and then i think i'll be happy for a while ,)
- so and if anyone could explain to me how to install the 3dstereoscopic plugin i'll be happy as well ;)
btw.. i pointed the java-path to a 64bit version 7
----------------------------------------
WIN10 Pro 64bit * 16 GB RAM * AMD FX 6100 * Geforce GTX 660
Spain
Joined: May 9, 2012
Post Count: 154
Status:
Offline
Re: RAM-Feature for Rendering - hope correct Forum ;)
i created a cmd.file with the edited paths. for this, it is important to do the installation of the EXE not in the suggested folder but in a folder without empty spaces (not Sweet Home 3D but sweethome3d!) otherwise i guess, the cmd has a problem to find the jar.
I don't think so. Usually on command lines you only need to enclose with quotes the paths so they are taken as a whole, including spaces.
---------------------------------------- If a long walk every day were healthy, mailmen would be immortal.