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 [font=courier new]DirectoryChooser[/font]), 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?
Video render works first time only
This topic has been viewed 9057 times and has 14 replies
Re: Video render works first time only
Emmanuel Puybaret, Sweet Home 3D creator
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
- 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
- Daniels118
- Posts: 503
- Joined: Wed Nov 17, 2021 9:04 pm
- Country: Italy
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.
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.
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 [font=courier new]SweetHome3D.l4j.ini[/font] containing the text:and store it in the installation folder of Sweet Home 3D (probably C:\Program Files\Sweet Home 3D). Ensure it doesn't have an additional [font=courier new].txt[/font] extension. Then relaunch Sweet Home 3D and check if the issue is gone.
Lubimaer, please create a text file named [font=courier new]SweetHome3D.l4j.ini[/font] containing the text:
Code: Select all
-Djava.util.Arrays.useLegacyMergeSort=trueEmmanuel Puybaret, Sweet Home 3D creator
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
I've already tested 5 times and the video rendering works flawlessly all the time
Thanks for your help
Who is online
Users browsing this forum: No registered users and 2 guests