mitsuba-renderer / mitsuba2

Mitsuba 2: A Retargetable Forward and Inverse Renderer
Other
2.05k stars 266 forks source link

[❔ other question] How to use higher spp to render a scene in case cuda_malloc(): out of memory? #619

Closed JakeXin7 closed 2 years ago

JakeXin7 commented 2 years ago

Description

I want to use higher spp to render a scene for less noise. But "RuntimeError: cuda_malloc(): out of memory!" raised. Can I render the scene with higher spp? For example, can I take more times to render the scene, each get a part of the target image?

Speierers commented 2 years ago

You can try to use the samples_per_pass property on the integrator to split the workload in multiple pass.

JakeXin7 commented 2 years ago

OK, thanks for help!