mitsuba-renderer / mitsuba

Mitsuba renderer main repository
GNU General Public License v3.0
1.05k stars 321 forks source link

How to debug mitsuba using single-threaded? #147

Closed Superlee506 closed 3 years ago

Superlee506 commented 3 years ago

As describe above, I want to debug the codes using single thread, how to enable it?

merlinND commented 3 years ago

I believe that running mitsuba with the -p1 flag should use a single thread.

https://github.com/mitsuba-renderer/mitsuba/blob/cfeb7766e7a1513492451f35dc65b86409655a7b/src/mitsuba/mitsuba.cpp#L61-L63