|
Sweet Home 3D Forum » List all forums » » Forum: Installation » » » Thread: Video render works first time only |
||
| Print at Dec 20, 2025, 12:49:36 AM |
|
|
| Posted by Puybaret at Mar 13, 2024, 10:26:37 AM |
|
Re: Video render works first time only It looks very similar to Snmavronis' issue, but the correction I programmed won't work in this case because the file chooser used in the advanced video rendering plug-in is programmed here to select a folder (hint: there's an error in DirectoryChooser), and I didn't make corrections for that case. I'm not sure why Enkonyito programmed this dialog box but requesting a folder shouldn't fail anyway. Let's try first to understand how it really happens in your case. The strange thing is that it works the first time. Do you select a folder different from the proposed one the first time you generate a video? If yes, what files does this folder contain and does it still bug the second time if you don't change the proposed folder? ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by lubimaer at Mar 13, 2024, 5:35:40 PM |
|
Re: Video render works first time only I just tested again with the following steps - open SH3D - add a single object to the scene (a chair) - adjust the aerial view to look at the side of the chair - save the file to test.sh3d (in the default proposed folder with no changes) - open video rendering dialog - click record red button to lock the first camera position - move the 3d aerial view to a different position - click the record red button to lock a second camera position - click "generate" - file dialog pop up (with "desktop" location proposed by default - no changes to default location and click "select" Rendering starts with no issues When the render is complete the video rendering windows is still open and clicking on "create" again has no actions (no directory selection window pop up and no error) Something to note - the directory selection pop up windows takes several seconds to populate the list of folders but I believe this is because my laptop is connected and scanning the company network folders Marco |
| Posted by Daniels118 at Mar 15, 2024, 9:03:04 AM |
|
Re: Video render works first time only It should be noted that the icons shown on the desktop are actually taken from 2 folders: the ones from the desktop folder in the "all users" profile, and the ones from the desktop folder in the current user profile, so it's perfectly normal to have 2 files with the same name on the desktop, although some could be hidden from the visualization. Some sorting algorithms can't deal with duplicate values, and this leads to the exception. It should be possible to change the sorting algorithm using a java system property. |
| Posted by Puybaret at Mar 15, 2024, 10:33:11 AM |
|
Re: Video render works first time only Thanks Daniele for the information. This should help to fix this issue. Lubimaer, please create a text file named SweetHome3D.l4j.ini containing the text: -Djava.util.Arrays.useLegacyMergeSort=true---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by lubimaer at Mar 15, 2024, 8:57:30 PM |
|
Re: Video render works first time only Problem solved after adding the file as you suggested I've already tested 5 times and the video rendering works flawlessly all the time Thanks for your help |
|
|
|
Current timezone is GMT Dec 20, 2025, 12:49:36 AM |