You are trying to render a scene with nearly 90 millions of triangles:Silverlan wrote: ↑Mon Mar 15, 2021 11:08 am Here's the console output of luxcoreui up to the point where the memory usage starts to skyrocket: https://pastebin.com/9HdpwDfQ
Is there some way to reduce the memory footprint without reducing the number of hair / defining all hair the same?
I haven't uploaded the scene due to the large file size, but I can do so if needed.
Code: Select all
[LuxRays][35.750] Total vertex count: 92772492
[LuxRays][35.750] Total triangle count: 86772064
You are transforming each of the single triangle, in the first image, in up to, 2^12 ("adaptiveMaxDepth" parameter) segments (each segment is made of 2 triangles but the last one where a single triangle is used). Just do the math of how many triangles can potential have this scene: billions.Silverlan wrote: ↑Mon Mar 15, 2021 11:08 am I know that 3 million hair is a lot, but that still seems a little excessive to me, even without instancing.
The parameters I'm using for "DefineStrands" are as follows:
- tesselType: TESSEL_RIBBON_ADAPTIVE
- adaptiveMaxDepth: 12
- adaptiveError: 0.0075
- solidSideCount: 12
- solidCapBottom: false
- solidCapTop: false
- useCameraPosition: true
"adaptiveMaxDepth" allows to split, recursively, a single segment into 2 if the error is too big.
To start, try to use "adaptiveMaxDepth" of 2.