ISSUE: Collection Instancing: view port okay, final bad

Use this forum for general user support and related questions.
Post Reply
User avatar
FarbigeWelt
Donor
Posts: 920
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

ISSUE: Collection Instancing: view port okay, final bad

Post by FarbigeWelt » Fri Mar 13, 2020 2:36 pm

Well, I guess you agree there is obviously gone something wrong...
Final Render
Final Render
View Port
View Port
Blender 2.82
BlendLuxCore 2.3 beta3, latest build, 2020.03.12
LuxCoreRender 2.3 beta3, latest build, 2020.03.07


Please, check scene file and fix the issue.
Attachments
Oil Pump and Gas Flares_Render Error.7z
Blender Scene
(282.16 KiB) Downloaded 3 times
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
160.8 | 42.8 (10.7) Gfp | Windows 10 Pro, intel i7 4770K@3.5, 32 GB
2 AMD Radeon RX 5700 XT, 8 GB || Gfp = SFFT Gflops

User avatar
B.Y.O.B.
Developer
Posts: 3358
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: ISSUE: Collection Instancing: view port okay, final bad

Post by B.Y.O.B. » Fri Mar 13, 2020 3:40 pm

Two completely different and unrelated evaluated objects are sharing the same memory address in the depsgraph.
I am now taking the memory address of the original objects as keys, which seems to work.

It may be that Blender is deleting the evaluated object at the end of the loop iteration and it can happen that the same memory space is afterwards used for the next object.
Thanks for the report, this bug would have been super hard to spot otherwise.

I fixed the problem.

(edit: I realized that I had already found this behaviour in the past, unfortunately I forgot it when optimizing the dupli export - silly me).

User avatar
FarbigeWelt
Donor
Posts: 920
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

SOLVED: Collection Instancing: view port okay, final bad

Post by FarbigeWelt » Sat Mar 14, 2020 2:31 pm

B.Y.O.B. wrote:
Fri Mar 13, 2020 3:40 pm
I fixed the problem.

Hi B.Y.O.B.
Thank you very much for solving the problem :!:
The issue is fixed in the current latest builds. :D

As you can see, collections are instanced in final render as expected.
2020-03-14 Final fixed
2020-03-14 Final fixed
Blender 2.82
BlendLuxCore 2.3 beta3, latest build_67a8a70, 2020.03.13
LuxCoreRender 2.3 beta3, latest build_410a62f, 2020.03.13
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
160.8 | 42.8 (10.7) Gfp | Windows 10 Pro, intel i7 4770K@3.5, 32 GB
2 AMD Radeon RX 5700 XT, 8 GB || Gfp = SFFT Gflops

Post Reply