Page 51 of 67

Re: BlendLuxCore Development

Posted: Sun Apr 28, 2019 9:02 am
by Dade
epilectrolytics wrote:
Sun Apr 28, 2019 8:33 am
Dade wrote:
Sun Apr 28, 2019 8:00 am
The scene is working fine here. Have you tried to do a fresh PC reboot and just run LuxCoreUI ? Without Blender.

Are you rendering the same scene with multiple applications at the same time ? Like Blender preview and rendering or LuxCoreUI ?
Normally when running LuxCoreUI I have the file explorer open and the .cfg file in notepad so I can make adjustments but I just tested again after reboot with nothing running except LuxCoreUI and still the error pops up.
Does it happen only if the .pgi file already exist ? I mean, it can not happen if the file doesn't exist ... or it still does ?

Re: BlendLuxCore Development

Posted: Sun Apr 28, 2019 9:06 am
by B.Y.O.B.
Dade wrote:
Sun Apr 28, 2019 8:00 am
The scene is working fine here.
Did you test on Windows or Linux?

Re: BlendLuxCore Development

Posted: Sun Apr 28, 2019 10:10 am
by Dade
B.Y.O.B. wrote:
Sun Apr 28, 2019 9:06 am
Dade wrote:
Sun Apr 28, 2019 8:00 am
The scene is working fine here.
Did you test on Windows or Linux?
Linux, it looks like a Windows-only problem.

Re: BlendLuxCore Development

Posted: Sun Apr 28, 2019 10:36 am
by epilectrolytics
Dade wrote:
Sun Apr 28, 2019 9:02 am
Does it happen only if the .pgi file already exist ? I mean, it can not happen if the file doesn't exist ... or it still does ?
So I was going to delete the .pgi file from the folder and found that there are three of them, with different names like a long string of hex numbers.
Apparently every time I try to render the scene a new cache file gets created.
I deleted all of them and opened the .cfg file with LuxCoreUI which led to the same error as always and a new .pgi file being created within the scene folder.

Re: BlendLuxCore Development

Posted: Sun Apr 28, 2019 11:39 am
by Dade
epilectrolytics wrote:
Sun Apr 28, 2019 10:36 am
Dade wrote:
Sun Apr 28, 2019 9:02 am
Does it happen only if the .pgi file already exist ? I mean, it can not happen if the file doesn't exist ... or it still does ?
So I was going to delete the .pgi file from the folder and found that there are three of them, with different names like a long string of hex numbers.
Apparently every time I try to render the scene a new cache file gets created.
I deleted all of them and opened the .cfg file with LuxCoreUI which led to the same error as always and a new .pgi file being created within the scene folder.
It is the behavior of the "SafeSave" (https://github.com/LuxCoreRender/LuxCor ... fesave.cpp): it creates a temporary file, rename if exists the old file by adding a .old at the end and rename the temporary file to the final name. The last operation fails, apparently because the temporary file is still open.

Re: BlendLuxCore Development

Posted: Sun Apr 28, 2019 3:48 pm
by Dade
I should have fixed the problem, I can not verify if the fix works but it makes sense.

Re: BlendLuxCore Development

Posted: Sun Apr 28, 2019 7:16 pm
by epilectrolytics
Dade wrote:
Sun Apr 28, 2019 3:48 pm
I should have fixed the problem, I can not verify if the fix works but it makes sense.
It works (tested from Blender), thanks so much!
Really awesome at what speed you fix things that you even can't test!

Re: BlendLuxCore Development

Posted: Mon Apr 29, 2019 5:24 am
by epilectrolytics
Works like a charm! :D
(Except for DOF focus object :? )
Path OCL PGI (RTX 2070 + GTX 1060) 1500 samples, no OIDN, 250 x 90s /frame, 1200x720p30, default PGI settings:
coronapgi.mp4.zip
(1 MiB) Downloaded 35 times

Re: BlendLuxCore Development

Posted: Mon Apr 29, 2019 8:49 am
by B.Y.O.B.
epilectrolytics wrote:
Mon Apr 29, 2019 5:24 am
(Except for DOF focus object )
Does that also happen with Cycles, or just with BlendLuxcore? If the latter, can you send me the scene so I can check what's going on?

Re: BlendLuxCore Development

Posted: Mon Apr 29, 2019 9:31 am
by epilectrolytics
Happens also with Cycles, the focus won't be on the object specified.
I had to use autofocus and that causes a jump when the glass moves out of the frame center during the back zoom.
Screen Shot.png