Large mesh disables lighttracing

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Large mesh disables lighttracing

Post by lacilaci »

here's a testscene where caustics are not rendered at all when large "ocean" mesh is enabled for rendering.

in the scene just disable or delete ocean mesh and suddenly caustics appear in the pool
poolwater_vs_ocean_for_blender_2_80.blend
(755.87 KiB) Downloaded 125 times
scene is from blender 2.80 - since it is extracted from project made in 2.80 (2.81)
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Large mesh disables lighttracing

Post by Dade »

lacilaci wrote: Wed Sep 04, 2019 5:44 am here's a testscene where caustics are not rendered at all when large "ocean" mesh is enabled for rendering.

in the scene just disable or delete ocean mesh and suddenly caustics appear in the pool

poolwater_vs_ocean_for_blender_2_80.blend

scene is from blender 2.80 - since it is extracted from project made in 2.80 (2.81)
You are trying to rendering a few meters long object over a square of 10Km x 10Km, Metropolis will never have enough floating point precision to aim the little pool. Scale down the ocean square and it will start to work: it is a quite linear process larger is the bounding sphere of the scene, far will be the sun and harder will be aiming for small objects.
Support LuxCoreRender project with salts and bounties
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: Large mesh disables lighttracing

Post by lacilaci »

So, this is a good case where procedural infinite plane rendertime object could be helpful....?
Right now I will have to either make another render with ocean object, or replace it with 2d background
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: Large mesh disables lighttracing

Post by lacilaci »

Or maybe some workaround, a setting for mesh so that it doesn't affect metropolis in this way....?
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Large mesh disables lighttracing

Post by Dade »

lacilaci wrote: Wed Sep 04, 2019 10:47 am So, this is a good case where procedural infinite plane rendertime object could be helpful....?
Not really, you can not put an infinite light source outside an infinite plane (aside the pathetic resolution of 32bit floating points).
Support LuxCoreRender project with salts and bounties
Post Reply